[Xcb] [lib 2/5] Remove XPrint extension

Daniel Martin consume.noise at gmail.com
Fri Nov 22 14:27:29 PST 2013


XPrint has been removed from Xorg in May 2008:
    1c8bd31 X n'est pas une print API.

It's time to remove support for it from the lib.

Signed-off-by: Daniel Martin <consume.noise at gmail.com>
---
 Makefile.am      |  3 ---
 configure.ac     |  3 ---
 src/.gitignore   |  1 -
 src/Makefile.am  |  8 --------
 xcb-xprint.pc.in | 11 -----------
 5 files changed, 26 deletions(-)
 delete mode 100644 xcb-xprint.pc.in

diff --git a/Makefile.am b/Makefile.am
index 1cb3d9a..c1f60de 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -69,9 +69,6 @@ endif
 if BUILD_XKB
 pkgconfig_DATA += xcb-xkb.pc
 endif
-if BUILD_XPRINT
-pkgconfig_DATA += xcb-xprint.pc
-endif
 if BUILD_SELINUX
 pkgconfig_DATA += xcb-xselinux.pc
 endif
diff --git a/configure.ac b/configure.ac
index 87804ba..64efbf2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -237,7 +237,6 @@ XCB_EXTENSION(XFree86-DRI, "yes")
 XCB_EXTENSION(Xinerama, "yes")
 XCB_EXTENSION(XInput, "no")
 XCB_EXTENSION(XKB, "yes")
-XCB_EXTENSION(Xprint, "yes")
 XCB_EXTENSION(SELinux, "no")
 XCB_EXTENSION(XTest, "yes")
 XCB_EXTENSION(Xv, "yes")
@@ -283,7 +282,6 @@ xcb-xfixes.pc
 xcb-xinerama.pc
 xcb-xinput.pc
 xcb-xkb.pc
-xcb-xprint.pc
 xcb-xselinux.pc
 xcb-xtest.pc
 xcb-xv.pc
@@ -330,7 +328,6 @@ echo "    Xfree86-dri.........: ${BUILD_XFREE86_DRI}"
 echo "    xinerama............: ${BUILD_XINERAMA}"
 echo "    xinput..............: ${BUILD_XINPUT}"
 echo "    xkb.................: ${BUILD_XKB}"
-echo "    xprint..............: ${BUILD_XPRINT}"
 echo "    xtest...............: ${BUILD_XTEST}"
 echo "    xv..................: ${BUILD_XV}"
 echo "    xvmc................: ${BUILD_XVMC}"
diff --git a/src/.gitignore b/src/.gitignore
index a2a9010..8b1fada 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -21,7 +21,6 @@ xfixes.*
 xinerama.*
 xinput.*
 xkb.*
-xprint.*
 xselinux.*
 xtest.*
 xv.*
diff --git a/src/Makefile.am b/src/Makefile.am
index 346ee03..53fac8d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -192,14 +192,6 @@ libxcb_xkb_la_LIBADD = $(XCB_LIBS)
 nodist_libxcb_xkb_la_SOURCES = xkb.c xkb.h
 endif
 
-EXTSOURCES += xprint.c
-if BUILD_XPRINT
-lib_LTLIBRARIES += libxcb-xprint.la
-libxcb_xprint_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
-libxcb_xprint_la_LIBADD = $(XCB_LIBS)
-nodist_libxcb_xprint_la_SOURCES = xprint.c xprint.h
-endif
-
 EXTSOURCES += xselinux.c
 if BUILD_SELINUX
 lib_LTLIBRARIES += libxcb-xselinux.la
diff --git a/xcb-xprint.pc.in b/xcb-xprint.pc.in
deleted file mode 100644
index b5275d5..0000000
--- a/xcb-xprint.pc.in
+++ /dev/null
@@ -1,11 +0,0 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-
-Name: XCB Xprint
-Description: XCB Xprint Extension
-Version: @PACKAGE_VERSION@
-Requires: xcb
-Libs: -L${libdir} -lxcb-xprint
-Cflags: -I${includedir}
-- 
1.8.4.2



More information about the Xcb mailing list