Gentoo Archives: gentoo-commits

From: "Mark Wright (gienah)" <gienah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/libxcb: libxcb-1.9.1-r1.ebuild ChangeLog
Date: Sat, 23 Nov 2013 11:50:08
Message-Id: 20131123115001.8B1012004E@flycatcher.gentoo.org
1 gienah 13/11/23 11:50:01
2
3 Modified: ChangeLog
4 Added: libxcb-1.9.1-r1.ebuild
5 Log:
6 Part of fix for bug 491496, thanks to Rion for reporting, thanks to gerardo for the libxcb-list-object-has-no-attribute-lenfield_name.patch. libxcb-1.9.1-conflicting-types-for-xcb_ge_event_t.patch by me. Fix bug 472032, thanks to Myckel Habets for reporting.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
9
10 Revision Changes Path
11 1.127 x11-libs/libxcb/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libxcb/ChangeLog?rev=1.127&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libxcb/ChangeLog?rev=1.127&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libxcb/ChangeLog?r1=1.126&r2=1.127
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/libxcb/ChangeLog,v
20 retrieving revision 1.126
21 retrieving revision 1.127
22 diff -u -r1.126 -r1.127
23 --- ChangeLog 12 Nov 2013 02:40:23 -0000 1.126
24 +++ ChangeLog 23 Nov 2013 11:50:01 -0000 1.127
25 @@ -1,6 +1,17 @@
26 # ChangeLog for x11-libs/libxcb
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxcb/ChangeLog,v 1.126 2013/11/12 02:40:23 mattst88 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxcb/ChangeLog,v 1.127 2013/11/23 11:50:01 gienah Exp $
30 +
31 +*libxcb-1.9.1-r1 (23 Nov 2013)
32 +
33 + 23 Nov 2013; Mark Wright <gienah@g.o>
34 + +files/libxcb-1.9.1-conflicting-types-for-xcb_ge_event_t.patch,
35 + +files/libxcb-1.9.1-list-object-has-no-attribute-lenfield_name.patch,
36 + +libxcb-1.9.1-r1.ebuild:
37 + Part of fix for bug 491496, thanks to Rion for reporting, thanks to gerardo
38 + for the libxcb-list-object-has-no-attribute-lenfield_name.patch. libxcb-1.9.1
39 + -conflicting-types-for-xcb_ge_event_t.patch by me. Fix bug 472032, thanks to
40 + Myckel Habets for reporting.
41
42 12 Nov 2013; Matt Turner <mattst88@g.o> libxcb-1.9.3.ebuild:
43 Update dependency on xcb-proto to make sure users get the fix for bug 490928.
44
45
46
47 1.1 x11-libs/libxcb/libxcb-1.9.1-r1.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libxcb/libxcb-1.9.1-r1.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libxcb/libxcb-1.9.1-r1.ebuild?rev=1.1&content-type=text/plain
51
52 Index: libxcb-1.9.1-r1.ebuild
53 ===================================================================
54 # Copyright 1999-2013 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/x11-libs/libxcb/libxcb-1.9.1-r1.ebuild,v 1.1 2013/11/23 11:50:01 gienah Exp $
57
58 EAPI=5
59
60 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
61 PYTHON_REQ_USE=xml
62
63 XORG_DOC=doc
64 XORG_MULTILIB=yes
65 inherit eutils python-single-r1 xorg-2
66
67 DESCRIPTION="X C-language Bindings library"
68 HOMEPAGE="http://xcb.freedesktop.org/"
69 EGIT_REPO_URI="git://anongit.freedesktop.org/git/xcb/libxcb"
70 [[ ${PV} != 9999* ]] && \
71 SRC_URI="http://xcb.freedesktop.org/dist/${P}.tar.bz2"
72
73 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
74 IUSE="selinux xkb"
75
76 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
77
78 RDEPEND="dev-libs/libpthread-stubs[${MULTILIB_USEDEP}]
79 x11-libs/libXau[${MULTILIB_USEDEP}]
80 x11-libs/libXdmcp[${MULTILIB_USEDEP}]"
81 DEPEND="${RDEPEND}
82 dev-lang/python[xml]
83 dev-libs/libxslt
84 >=x11-proto/xcb-proto-1.9-r1[${MULTILIB_USEDEP},${PYTHON_USEDEP}]
85 ${PYTHON_DEPS}"
86
87 pkg_setup() {
88 python-single-r1_pkg_setup
89 }
90
91 src_prepare() {
92 # https://bugs.gentoo.org/show_bug.cgi?id=472032
93 sed -e 's@x$(HTML_CHECK_RESULT)@xfalse@' \
94 -i "${S}/tests/Makefile.am" \
95 -i "${S}/tests/Makefile.in" \
96 || die "Could not patch tests/Makefile.am and tests/Makefile.in to fix tests"
97 # http://patchwork.freedesktop.org/patch/15185/
98 # Sounds like this commit is missing:
99 # c_client.py: Handle multiple expr. in a bitcase
100 # http://cgit.freedesktop.org/xcb/libxcb/commit/?id=e602b65
101 epatch "${FILESDIR}/${PN}-1.9.1-list-object-has-no-attribute-lenfield_name.patch"
102 # https://bugs.freedesktop.org/show_bug.cgi?id=71502
103 epatch "${FILESDIR}/${PN}-1.9.1-conflicting-types-for-xcb_ge_event_t.patch"
104 }
105
106 src_configure() {
107 XORG_CONFIGURE_OPTIONS=(
108 $(use_enable doc build-docs)
109 $(use_enable selinux)
110 $(use_enable xkb)
111 --enable-xinput
112 )
113 xorg-2_src_configure
114 }