From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D958613832E for ; Fri, 22 Jul 2016 08:53:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CC7D21C028; Fri, 22 Jul 2016 08:53:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4958121C028 for ; Fri, 22 Jul 2016 08:53:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D9F1B340E26 for ; Fri, 22 Jul 2016 08:53:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E6B307D1 for ; Fri, 22 Jul 2016 08:53:07 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1469177576.945b213eb8d07eaf5d1a4d359ab2b13378354f9d.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/xine-lib/, media-libs/xine-lib/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/xine-lib/files/xine-lib-1.2.6-libxcb-1.12.patch media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild X-VCS-Directories: media-libs/xine-lib/ media-libs/xine-lib/files/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 945b213eb8d07eaf5d1a4d359ab2b13378354f9d X-VCS-Branch: master Date: Fri, 22 Jul 2016 08:53:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8a65b96c-9662-4481-9a20-2177e842b7c2 X-Archives-Hash: 676f2b711a2efe2bd03a0e055cc19e7e commit: 945b213eb8d07eaf5d1a4d359ab2b13378354f9d Author: Lars Wendler gentoo org> AuthorDate: Fri Jul 22 08:37:11 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Fri Jul 22 08:52:56 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=945b213e media-libs/xine-lib: Fixed compilation with >=x11-libs/libxcb-1.12 Gentoo bug #584640 Package-Manager: portage-2.3.0 Signed-off-by: Lars Wendler gentoo.org> .../files/xine-lib-1.2.6-libxcb-1.12.patch | 25 ++++++++++++++++++++++ media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild | 17 +++++++-------- 2 files changed, 33 insertions(+), 9 deletions(-) diff --git a/media-libs/xine-lib/files/xine-lib-1.2.6-libxcb-1.12.patch b/media-libs/xine-lib/files/xine-lib-1.2.6-libxcb-1.12.patch new file mode 100644 index 0000000..cc17643 --- /dev/null +++ b/media-libs/xine-lib/files/xine-lib-1.2.6-libxcb-1.12.patch @@ -0,0 +1,25 @@ +https://bugs.xine-project.org/show_bug.cgi?id=572 +https://bugs.gentoo.org/584640 + +--- xine-lib-1.2.6/m4/video_out.m4 ++++ xine-lib-1.2.6/m4/video_out.m4 +@@ -305,7 +305,7 @@ + dnl xcb + XINE_ARG_WITH([xcb], [Enable support for XCB video out plugins]) + if test x"$with_xcb" != x"no"; then +- PKG_CHECK_MODULES([XCB], [xcb-shape >= 1.0], [have_xcb=yes], [have_xcb=no]) ++ PKG_CHECK_MODULES([XCB], [xcb xcb-shape >= 1.0], [have_xcb=yes], [have_xcb=no]) + if test x"$hard_enable_xcb" = x"yes" && test x"$have_xcb" != x"yes"; then + AC_MSG_ERROR([XCB support requested, but XCB not found]) + elif test x"$have_xcb" = x"yes"; then +--- xine-lib-1.2.6/src/video_out/Makefile.am ++++ xine-lib-1.2.6/src/video_out/Makefile.am +@@ -147,7 +147,7 @@ + xineplug_vo_out_xcbshm_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS) $(XCBSHM_CFLAGS) $(AVUTIL_CFLAGS) + + xineplug_vo_out_xcbxv_la_SOURCES = video_out_xcbxv.c $(XCBOSD) +-xineplug_vo_out_xcbxv_la_LIBADD = $(XINE_LIB) $(PTHREAD_LIBS) $(LTLIBINTL) $(XCBXV_LIBS) $(XCB_LIBS) ++xineplug_vo_out_xcbxv_la_LIBADD = $(XINE_LIB) $(PTHREAD_LIBS) $(LTLIBINTL) $(XCBXV_LIBS) $(XCBSHM_LIBS) $(XCB_LIBS) + xineplug_vo_out_xcbxv_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS) $(XCBXV_CFLAGS) + + xineplug_vo_out_xshm_la_SOURCES = video_out_xshm.c $(X11OSD) diff --git a/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild b/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild index 032fd3c..18a0be4 100644 --- a/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild +++ b/media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild @@ -4,11 +4,11 @@ EAPI=6 -inherit flag-o-matic libtool multilib eutils +inherit autotools flag-o-matic libtool multilib eutils if [[ ${PV} == *9999* ]]; then EHG_REPO_URI="http://hg.debian.org/hg/xine-lib/xine-lib-1.2" - inherit autotools mercurial eutils + inherit mercurial eutils unset NLS_IUSE NLS_DEPEND="sys-devel/gettext" NLS_RDEPEND="virtual/libintl" @@ -116,23 +116,22 @@ REQUIRED_USE="vidix? ( || ( X fbcon ) ) xv? ( X ) xinerama? ( X )" +PATCHES=( + "${FILESDIR}/${P}-libxcb-1.12.patch" +) + src_prepare() { default sed -i -e '/define VDR_ABS_FIFO_DIR/s|".*"|"/var/vdr/xine"|' src/vdr/input_vdr.c || die + has_version '>=media-video/ffmpeg-2.9' && eapply "${FILESDIR}/ffmpeg29.patch" - if [[ ${PV} == *9999* ]]; then - epatch_user - eautoreconf - else - elibtoolize - fi + eautoreconf local x for x in 0 1 2 3; do sed -i -e "/^O${x}_CFLAGS=\"-O${x}\"/d" configure || die done - has_version '>=media-video/ffmpeg-2.9' && eapply "${FILESDIR}/ffmpeg29.patch" } src_configure() {