Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/gnome-panel: ChangeLog gnome-panel-2.32.1-r2.ebuild gnome-panel-2.32.1.ebuild gnome-panel-2.30.2.ebuild
Date: Sun, 03 Apr 2011 15:44:49
Message-Id: 20110403154439.F3BCD20054@flycatcher.gentoo.org
1 pacho 11/04/03 15:44:39
2
3 Modified: ChangeLog
4 Added: gnome-panel-2.32.1-r2.ebuild
5 Removed: gnome-panel-2.32.1.ebuild gnome-panel-2.30.2.ebuild
6 Log:
7 Revision bump including multiple fixes from 2.32 and master upstream branches (including upstream fix for bug #357197 by Alessandro Surace and using gnome-applications.menu instead of applications.menu as it's our default value until upstream resolve their bug #623221 in a better way). Also drops --with-in-process-applets configure option to prevent annoying error messages about applets disappearing 'unexpectedly' when removing wncklet, clock or notification-area applets (upstream default value for this is 'none'). Remove old.
8
9 (Portage version: 2.1.9.45/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.332 gnome-base/gnome-panel/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-panel/ChangeLog?rev=1.332&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-panel/ChangeLog?rev=1.332&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-panel/ChangeLog?r1=1.331&r2=1.332
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gnome-panel/ChangeLog,v
21 retrieving revision 1.331
22 retrieving revision 1.332
23 diff -u -r1.331 -r1.332
24 --- ChangeLog 22 Mar 2011 19:11:26 -0000 1.331
25 +++ ChangeLog 3 Apr 2011 15:44:39 -0000 1.332
26 @@ -1,6 +1,19 @@
27 # ChangeLog for gnome-base/gnome-panel
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-panel/ChangeLog,v 1.331 2011/03/22 19:11:26 ranger Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-panel/ChangeLog,v 1.332 2011/04/03 15:44:39 pacho Exp $
31 +
32 +*gnome-panel-2.32.1-r2 (03 Apr 2011)
33 +
34 + 03 Apr 2011; Pacho Ramos <pacho@g.o> -gnome-panel-2.30.2.ebuild,
35 + -gnome-panel-2.32.1.ebuild, +gnome-panel-2.32.1-r2.ebuild:
36 + Revision bump including multiple fixes from 2.32 and master upstream branches
37 + (including upstream fix for bug #357197 by Alessandro Surace and using
38 + gnome-applications.menu instead of applications.menu as it's our default
39 + value until upstream resolve their bug #623221 in a better way). Also drops
40 + --with-in-process-applets configure option to prevent annoying error messages
41 + about applets disappearing 'unexpectedly' when removing wncklet, clock or
42 + notification-area applets (upstream default value for this is 'none'). Remove
43 + old.
44
45 22 Mar 2011; Brent Baude <ranger@g.o> gnome-panel-2.32.1-r1.ebuild:
46 Marking gnome-panel-2.32.1-r1 ppc stable for bug 353436
47
48
49
50 1.1 gnome-base/gnome-panel/gnome-panel-2.32.1-r2.ebuild
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-panel/gnome-panel-2.32.1-r2.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-panel/gnome-panel-2.32.1-r2.ebuild?rev=1.1&content-type=text/plain
54
55 Index: gnome-panel-2.32.1-r2.ebuild
56 ===================================================================
57 # Copyright 1999-2011 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-panel/gnome-panel-2.32.1-r2.ebuild,v 1.1 2011/04/03 15:44:39 pacho Exp $
60
61 EAPI="3"
62 GCONF_DEBUG="no"
63 PYTHON_DEPEND="2:2.4"
64
65 inherit gnome2 python eutils autotools
66
67 DESCRIPTION="The GNOME panel"
68 HOMEPAGE="http://www.gnome.org/"
69 SRC_URI="${SRC_URI} mirror://gentoo/introspection-20110205.m4.tar.bz2
70 http://dev.gentoo.org/~pacho/gnome/${P}-patches.tar.bz2"
71
72 LICENSE="GPL-2 FDL-1.1 LGPL-2"
73 SLOT="0"
74 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
75 IUSE="+bonobo doc eds +introspection networkmanager"
76
77 RDEPEND=">=gnome-base/gnome-desktop-2.26:2
78 >=x11-libs/pango-1.15.4[introspection?]
79 >=dev-libs/glib-2.25.12:2
80 >=x11-libs/gtk+-2.22:2[introspection?]
81 >=dev-libs/libgweather-2.27.90:2
82 dev-libs/libxml2:2
83 >=gnome-base/gconf-2.6.1:2[introspection?]
84 >=media-libs/libcanberra-0.23[gtk]
85 >=gnome-base/gnome-menus-2.27.92
86 gnome-base/librsvg:2
87 >=dev-libs/dbus-glib-0.80
88 >=sys-apps/dbus-1.1.2
89 >=x11-libs/cairo-1
90 x11-libs/libXau
91 >=x11-libs/libXrandr-1.2
92 bonobo? (
93 >=gnome-base/libbonobo-2.20.4
94 >=gnome-base/libbonoboui-2.1.1
95 >=gnome-base/orbit-2.4
96 >=x11-libs/libwnck-2.19.5:1 )
97 eds? ( >=gnome-extra/evolution-data-server-1.6 )
98 introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
99 networkmanager? ( >=net-misc/networkmanager-0.6.7 )"
100 DEPEND="${RDEPEND}
101 >=dev-lang/perl-5
102 >=app-text/gnome-doc-utils-0.3.2
103 >=dev-util/pkgconfig-0.9
104 >=dev-util/intltool-0.40
105 ~app-text/docbook-xml-dtd-4.1.2
106 doc? ( >=dev-util/gtk-doc-1 )
107 gnome-base/gnome-common
108 dev-util/gtk-doc-am"
109 # eautoreconf needs
110 # gnome-base/gnome-common
111 # dev-util/gtk-doc-am
112
113 pkg_setup() {
114 G2CONF="${G2CONF}
115 --disable-deprecation-flags
116 --disable-static
117 --disable-scrollkeeper
118 --disable-schemas-install
119 $(use_enable bonobo)
120 $(use_enable networkmanager network-manager)
121 $(use_enable introspection)
122 $(use_enable eds)"
123 DOCS="AUTHORS ChangeLog HACKING NEWS README"
124 python_set_active_version 2
125 }
126
127 src_unpack() {
128 # If gobject-introspection is installed, we don't need the extra .m4
129 if has_version "dev-libs/gobject-introspection"; then
130 unpack ${P}.tar.bz2 ${P}-patches.tar.bz2
131 else
132 unpack ${A}
133 fi
134 }
135
136 src_prepare() {
137 gnome2_src_prepare
138
139 # List the objects before the libraries to fix build with --as-needed
140 epatch "${FILESDIR}/${P}-as-needed.patch"
141
142 # Try to improve panel behavior on multiscreen systems, bug #348253, upstream #632369
143 epatch "${FILESDIR}/${PN}-2.32.1-fix-multiscreen.patch"
144 epatch "${FILESDIR}/${PN}-2.32.1-fix-multiscreen2.patch"
145
146 # Apply multiple bugfixes from 2.32 and master branches
147 # Also use gnome-applications.menu instead of applications.menu as it's the default value for us.
148 epatch "${WORKDIR}/${P}-patches"/*.patch
149
150 intltoolize --force --copy --automake || die "intltoolize failed"
151 AT_M4DIR=${WORKDIR} eautoreconf
152 }
153
154 src_install() {
155 gnome2_src_install
156
157 # gnome-panel does not need la files for applets
158 find "${ED}"/usr/$(get_libdir)/${PN} -name "*.la" -delete
159 # no package could ever need this, remove it before anyone tries to
160 rm "${ED}"/usr/$(get_libdir)/libpanel-applet-3.la
161 }
162
163 pkg_postinst() {
164 local entries="${EROOT}etc/gconf/schemas/panel-default-setup.entries"
165 local gconftool="${EROOT}usr/bin/gconftool-2"
166
167 if [ -e "$entries" ]; then
168 einfo "Setting panel gconf defaults..."
169
170 GCONF_CONFIG_SOURCE="$("${gconftool}" --get-default-source | sed "s;:/;:${ROOT};")"
171
172 "${gconftool}" --direct --config-source \
173 "${GCONF_CONFIG_SOURCE}" --load="${entries}"
174 fi
175
176 # Calling this late so it doesn't process the GConf schemas file we already
177 # took care of.
178 gnome2_pkg_postinst
179 }