Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/google-gadgets: ChangeLog google-gadgets-0.11.2.ebuild
Date: Fri, 06 Jul 2012 13:00:33
Message-Id: 20120706130015.CD3F22004B@flycatcher.gentoo.org
1 voyageur 12/07/06 13:00:15
2
3 Modified: ChangeLog google-gadgets-0.11.2.ebuild
4 Log:
5 Fix networkmanager detection, add support for 0.9, clean ebuild a bit. Fixes bug #425024
6
7 (Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.48 x11-misc/google-gadgets/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/google-gadgets/ChangeLog?rev=1.48&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/google-gadgets/ChangeLog?rev=1.48&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/google-gadgets/ChangeLog?r1=1.47&r2=1.48
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v
19 retrieving revision 1.47
20 retrieving revision 1.48
21 diff -u -r1.47 -r1.48
22 --- ChangeLog 27 Jun 2012 09:48:43 -0000 1.47
23 +++ ChangeLog 6 Jul 2012 13:00:15 -0000 1.48
24 @@ -1,6 +1,13 @@
25 # ChangeLog for x11-misc/google-gadgets
26 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v 1.47 2012/06/27 09:48:43 voyageur Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v 1.48 2012/07/06 13:00:15 voyageur Exp $
29 +
30 + 06 Jul 2012; Bernard Cafarelli <voyageur@g.o>
31 + google-gadgets-0.11.2.ebuild,
32 + +files/google-gadgets-0.11.2-configure_ggl_nm.patch,
33 + +files/google-gadgets-0.11.2-networkmanager-0.9.patch:
34 + Fix networkmanager detection, add support for 0.9, clean ebuild a bit. Fixes
35 + bug #425024
36
37 27 Jun 2012; Bernard Cafarelli <voyageur@g.o>
38 google-gadgets-0.11.2.ebuild, +files/google-gadgets-0.11.2-gcc-4.7.patch:
39
40
41
42 1.18 x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild?rev=1.18&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild?rev=1.18&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild?r1=1.17&r2=1.18
47
48 Index: google-gadgets-0.11.2.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild,v
51 retrieving revision 1.17
52 retrieving revision 1.18
53 diff -u -r1.17 -r1.18
54 --- google-gadgets-0.11.2.ebuild 27 Jun 2012 09:48:43 -0000 1.17
55 +++ google-gadgets-0.11.2.ebuild 6 Jul 2012 13:00:15 -0000 1.18
56 @@ -1,6 +1,6 @@
57 # Copyright 1999-2012 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild,v 1.17 2012/06/27 09:48:43 voyageur Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild,v 1.18 2012/07/06 13:00:15 voyageur Exp $
61
62 EAPI=4
63 inherit autotools eutils fdo-mime multilib
64 @@ -16,6 +16,7 @@
65 SLOT="0"
66 KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 x86"
67 IUSE="+dbus debug +gtk +qt4 +gstreamer networkmanager soup startup-notification webkit"
68 +REQUIRED_USE="|| ( gtk qt4 )"
69
70 # Weird things happen when we start mix-n-matching, so for the time being
71 # I've just locked the deps to the versions I had as of Summer 2008. With any
72 @@ -51,11 +52,9 @@
73 )
74 soup? ( >=net-libs/libsoup-2.26:2.4 )
75 startup-notification? ( x11-libs/startup-notification )
76 - webkit? ( >=net-libs/webkit-gtk-1.0.3:2 )
77 -"
78 + webkit? ( >=net-libs/webkit-gtk-1.0.3:2 )"
79 DEPEND="${RDEPEND}
80 - virtual/pkgconfig
81 -"
82 + virtual/pkgconfig"
83
84 S=${WORKDIR}/${MY_P}
85
86 @@ -64,15 +63,6 @@
87 DOCS="ChangeLog README"
88
89 pkg_setup() {
90 - # If a non-google, non-qt4 and non-gtk host system for google-gadgets is ever developed,
91 - # I'll consider changing the error below.
92 - if ! use gtk && ! use qt4; then
93 - eerror "You must choose which toolkit to build for. Either qt4 or gtk can be"
94 - eerror "chosen. For qt4, see also above. To enable \$toolkit, do:"
95 - eerror "echo \"${CATEGORY}/${PN} \$toolkit\" >> /etc/portage/package.use"
96 - die "You need to choose a toolkit"
97 - fi
98 -
99 if ! use gstreamer; then
100 ewarn "Disabling gstreamer disables the multimedia functions of ${PN}."
101 ewarn "This is not recommended. To enable gstreamer, do:"
102 @@ -81,12 +71,10 @@
103 }
104
105 src_prepare() {
106 + epatch "${FILESDIR}"/${P}-configure_ggl_nm.patch
107 epatch "${FILESDIR}"/${P}-glib-2.31.patch
108 epatch "${FILESDIR}"/${P}-gcc-4.7.patch
109 -
110 - sed -i -r \
111 - -e '/^GGL_SYSDEPS_INCLUDE_DIR/ c\GGL_SYSDEPS_INCLUDE_DIR=$GGL_INCLUDE_DIR' \
112 - configure.ac || die
113 + epatch "${FILESDIR}"/${P}-networkmanager-0.9.patch
114
115 # zlib-1.2.5.1-r1 renames the OF macro in zconf.h, bug 385477.
116 has_version '>=sys-libs/zlib-1.2.5.1-r1' && sed -i -e \
117 @@ -108,6 +96,7 @@
118 $(use_enable dbus libggadget-dbus) \
119 $(use_enable gstreamer gst-audio-framework) \
120 $(use_enable gstreamer gst-video-element) \
121 + $(use_with networkmanager) \
122 $(use_enable soup soup-xml-http-request) \
123 $(use_enable webkit webkit-script-runtime) \
124 $(use_enable webkit gtkwebkit-browser-element) \