summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/libxcb/files/libxcb-1.11-Don-t-install-headers-man-pages-for-disabled-extensi.patch')
-rw-r--r--x11-libs/libxcb/files/libxcb-1.11-Don-t-install-headers-man-pages-for-disabled-extensi.patch257
1 files changed, 257 insertions, 0 deletions
diff --git a/x11-libs/libxcb/files/libxcb-1.11-Don-t-install-headers-man-pages-for-disabled-extensi.patch b/x11-libs/libxcb/files/libxcb-1.11-Don-t-install-headers-man-pages-for-disabled-extensi.patch
new file mode 100644
index 000000000000..0f8aa1198234
--- /dev/null
+++ b/x11-libs/libxcb/files/libxcb-1.11-Don-t-install-headers-man-pages-for-disabled-extensi.patch
@@ -0,0 +1,257 @@
+From e9b5234b3b0b53bd3a35f947ddb8a72d03cf1825 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?R=C3=A9mi=20Cardona?= <remi@gentoo.org>
+Date: Mon, 29 Dec 2014 20:18:22 +0100
+Subject: [PATCH] Don't install headers/man pages for disabled extensions
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+https://bugs.gentoo.org/show_bug.cgi?id=533906
+
+Signed-off-by: RĂ©mi Cardona <remi@gentoo.org>
+---
+ src/Makefile.am | 52 ++++++++++++++++++++++++++--------------------------
+ 1 file changed, 26 insertions(+), 26 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 5a3c52a..774ad8e 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -24,208 +24,208 @@ XCB_LIBS = libxcb.la
+
+ # FIXME: find a way to autogenerate this from the XML files.
+
+-EXTSOURCES += composite.c
+ if BUILD_COMPOSITE
++EXTSOURCES += composite.c
+ lib_LTLIBRARIES += libxcb-composite.la
+ libxcb_composite_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_composite_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_composite_la_SOURCES = composite.c composite.h
+ endif
+
+-EXTSOURCES += damage.c
+ if BUILD_DAMAGE
++EXTSOURCES += damage.c
+ lib_LTLIBRARIES += libxcb-damage.la
+ libxcb_damage_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_damage_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_damage_la_SOURCES = damage.c damage.h
+ endif
+
+-EXTSOURCES += dpms.c
+ if BUILD_DPMS
++EXTSOURCES += dpms.c
+ lib_LTLIBRARIES += libxcb-dpms.la
+ libxcb_dpms_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_dpms_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_dpms_la_SOURCES = dpms.c dpms.h
+ endif
+
+-EXTSOURCES += dri2.c
+ if BUILD_DRI2
++EXTSOURCES += dri2.c
+ lib_LTLIBRARIES += libxcb-dri2.la
+ libxcb_dri2_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_dri2_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_dri2_la_SOURCES = dri2.c dri2.h
+ endif
+
+-EXTSOURCES += dri3.c
+ if BUILD_DRI3
++EXTSOURCES += dri3.c
+ lib_LTLIBRARIES += libxcb-dri3.la
+ libxcb_dri3_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_dri3_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_dri3_la_SOURCES = dri3.c dri3.h
+ endif
+
+-EXTSOURCES += present.c
+ if BUILD_PRESENT
++EXTSOURCES += present.c
+ lib_LTLIBRARIES += libxcb-present.la
+ libxcb_present_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_present_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_present_la_SOURCES = present.c present.h
+ endif
+
+-EXTSOURCES += glx.c
+ if BUILD_GLX
+ lib_LTLIBRARIES += libxcb-glx.la
++EXTSOURCES += glx.c
+ libxcb_glx_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_glx_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_glx_la_SOURCES = glx.c glx.h
+ endif
+
+-EXTSOURCES += randr.c
+ if BUILD_RANDR
++EXTSOURCES += randr.c
+ lib_LTLIBRARIES += libxcb-randr.la
+ libxcb_randr_la_LDFLAGS = -version-info 1:0:1 -no-undefined @lt_enable_auto_import@
+ libxcb_randr_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_randr_la_SOURCES = randr.c randr.h
+ endif
+
+-EXTSOURCES += record.c
+ if BUILD_RECORD
++EXTSOURCES += record.c
+ lib_LTLIBRARIES += libxcb-record.la
+ libxcb_record_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_record_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_record_la_SOURCES = record.c record.h
+ endif
+
+-EXTSOURCES += render.c
+ if BUILD_RENDER
++EXTSOURCES += render.c
+ lib_LTLIBRARIES += libxcb-render.la
+ libxcb_render_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_render_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_render_la_SOURCES = render.c render.h
+ endif
+
+-EXTSOURCES += res.c
+ if BUILD_RESOURCE
++EXTSOURCES += res.c
+ lib_LTLIBRARIES += libxcb-res.la
+ libxcb_res_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_res_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_res_la_SOURCES = res.c res.h
+ endif
+
+-EXTSOURCES += screensaver.c
+ if BUILD_SCREENSAVER
++EXTSOURCES += screensaver.c
+ lib_LTLIBRARIES += libxcb-screensaver.la
+ libxcb_screensaver_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_screensaver_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_screensaver_la_SOURCES = screensaver.c screensaver.h
+ endif
+
+-EXTSOURCES += shape.c
+ if BUILD_SHAPE
++EXTSOURCES += shape.c
+ lib_LTLIBRARIES += libxcb-shape.la
+ libxcb_shape_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_shape_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_shape_la_SOURCES = shape.c shape.h
+ endif
+
+-EXTSOURCES += shm.c
+ if BUILD_SHM
++EXTSOURCES += shm.c
+ lib_LTLIBRARIES += libxcb-shm.la
+ libxcb_shm_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_shm_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_shm_la_SOURCES = shm.c shm.h
+ endif
+
+-EXTSOURCES += sync.c
+ if BUILD_SYNC
++EXTSOURCES += sync.c
+ lib_LTLIBRARIES += libxcb-sync.la
+ libxcb_sync_la_LDFLAGS = -version-info 1:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_sync_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_sync_la_SOURCES = sync.c sync.h
+ endif
+
+-EXTSOURCES += xevie.c
+ if BUILD_XEVIE
++EXTSOURCES += xevie.c
+ lib_LTLIBRARIES += libxcb-xevie.la
+ libxcb_xevie_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_xevie_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_xevie_la_SOURCES = xevie.c xevie.h
+ endif
+
+-EXTSOURCES += xf86dri.c
+ if BUILD_XFREE86_DRI
++EXTSOURCES += xf86dri.c
+ lib_LTLIBRARIES += libxcb-xf86dri.la
+ libxcb_xf86dri_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_xf86dri_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_xf86dri_la_SOURCES = xf86dri.c xf86dri.h
+ endif
+
+-EXTSOURCES += xfixes.c
+ if BUILD_XFIXES
++EXTSOURCES += xfixes.c
+ lib_LTLIBRARIES += libxcb-xfixes.la
+ libxcb_xfixes_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_xfixes_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_xfixes_la_SOURCES = xfixes.c xfixes.h
+ endif
+
+-EXTSOURCES += xinerama.c
+ if BUILD_XINERAMA
++EXTSOURCES += xinerama.c
+ lib_LTLIBRARIES += libxcb-xinerama.la
+ libxcb_xinerama_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_xinerama_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_xinerama_la_SOURCES = xinerama.c xinerama.h
+ endif
+
+-EXTSOURCES += xinput.c
+ if BUILD_XINPUT
++EXTSOURCES += xinput.c
+ lib_LTLIBRARIES += libxcb-xinput.la
+ libxcb_xinput_la_LDFLAGS = -version-info 1:0:1 -no-undefined @lt_enable_auto_import@
+ libxcb_xinput_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_xinput_la_SOURCES = xinput.c xinput.h
+ endif
+
+-EXTSOURCES += xkb.c
+ if BUILD_XKB
++EXTSOURCES += xkb.c
+ lib_LTLIBRARIES += libxcb-xkb.la
+ libxcb_xkb_la_LDFLAGS = -version-info 1:0:0 -no-undefined
+ libxcb_xkb_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_xkb_la_SOURCES = xkb.c xkb.h
+ endif
+
+-EXTSOURCES += xprint.c
+ if BUILD_XPRINT
++EXTSOURCES += xprint.c
+ 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
++EXTSOURCES += xselinux.c
+ lib_LTLIBRARIES += libxcb-xselinux.la
+ libxcb_xselinux_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_xselinux_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_xselinux_la_SOURCES = xselinux.c xselinux.h
+ endif
+
+-EXTSOURCES += xtest.c
+ if BUILD_XTEST
++EXTSOURCES += xtest.c
+ lib_LTLIBRARIES += libxcb-xtest.la
+ libxcb_xtest_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_xtest_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_xtest_la_SOURCES = xtest.c xtest.h
+ endif
+
+-EXTSOURCES += xv.c
+ if BUILD_XV
++EXTSOURCES += xv.c
+ lib_LTLIBRARIES += libxcb-xv.la
+ libxcb_xv_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_xv_la_LIBADD = $(XCB_LIBS)
+ nodist_libxcb_xv_la_SOURCES = xv.c xv.h
+ endif
+
+-EXTSOURCES += xvmc.c
+ if BUILD_XVMC
++EXTSOURCES += xvmc.c
+ lib_LTLIBRARIES += libxcb-xvmc.la
+ libxcb_xvmc_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+ libxcb_xvmc_la_LIBADD = $(XCB_LIBS)
+--
+2.2.1
+