Gentoo Archives: gentoo-commits

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-base/gnome-panel/
Date: Wed, 23 Feb 2011 14:41:06
Message-Id: 7621f6a3fe5aebc72151b6bd0d7609e01b58e932.nirbheek@gentoo
1 commit: 7621f6a3fe5aebc72151b6bd0d7609e01b58e932
2 Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 23 13:39:24 2011 +0000
4 Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 23 14:08:39 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=7621f6a3
7
8 gnome-base/gnome-panel: add 2.91.90, w/o keywords
9
10 * Panel is half-broken in 2.91.90, so keep the old one around
11 - https://bugzilla.gnome.org/show_bug.cgi?id=631553
12
13 ---
14 gnome-base/gnome-panel/gnome-panel-2.91.90.ebuild | 82 +++++++++++++++++++++
15 1 files changed, 82 insertions(+), 0 deletions(-)
16
17 diff --git a/gnome-base/gnome-panel/gnome-panel-2.91.90.ebuild b/gnome-base/gnome-panel/gnome-panel-2.91.90.ebuild
18 new file mode 100644
19 index 0000000..6de98a2
20 --- /dev/null
21 +++ b/gnome-base/gnome-panel/gnome-panel-2.91.90.ebuild
22 @@ -0,0 +1,82 @@
23 +# Copyright 1999-2011 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-panel/gnome-panel-2.32.1.ebuild,v 1.3 2011/01/15 19:54:59 nirbheek Exp $
26 +
27 +EAPI="3"
28 +GCONF_DEBUG="no"
29 +GNOME2_LA_PUNT="yes"
30 +
31 +inherit gnome2
32 +
33 +DESCRIPTION="The GNOME panel"
34 +HOMEPAGE="http://www.gnome.org/"
35 +
36 +LICENSE="GPL-2 FDL-1.1 LGPL-2"
37 +SLOT="0"
38 +# Odd behaviour w.r.t. panels: https://bugzilla.gnome.org/show_bug.cgi?id=631553
39 +#KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
40 +IUSE="+bonobo doc eds +introspection networkmanager"
41 +
42 +RDEPEND=">=gnome-base/gnome-desktop-2.91:3
43 + >=x11-libs/pango-1.15.4[introspection?]
44 + >=dev-libs/glib-2.25.12:2
45 + >=x11-libs/gtk+-2.99:3[introspection?]
46 + x11-libs/gdk-pixbuf
47 + >=dev-libs/libgweather-2.91:3
48 + dev-libs/libxml2
49 + >=gnome-base/gconf-2.6.1[introspection?]
50 + >=media-libs/libcanberra-0.23[gtk3]
51 + >=gnome-base/gnome-menus-2.27.92
52 + gnome-base/librsvg
53 + >=dev-libs/dbus-glib-0.80
54 + >=sys-apps/dbus-1.1.2
55 + dev-libs/eggdbus
56 + >=x11-libs/cairo-1
57 + x11-libs/libXau
58 + >=x11-libs/libXrandr-1.2
59 +
60 + >=x11-libs/libwnck-2.91
61 + eds? ( >=gnome-extra/evolution-data-server-2.91.2 )
62 + introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
63 + networkmanager? ( >=net-misc/networkmanager-0.6.7 )"
64 +DEPEND="${RDEPEND}
65 + >=dev-lang/perl-5
66 + >=app-text/gnome-doc-utils-0.3.2
67 + >=dev-util/pkgconfig-0.9
68 + >=dev-util/intltool-0.40
69 + ~app-text/docbook-xml-dtd-4.1.2
70 + doc? ( >=dev-util/gtk-doc-1 )"
71 +# eautoreconf needs
72 +# gnome-base/gnome-common
73 +# dev-util/gtk-doc-am
74 +
75 +pkg_setup() {
76 + G2CONF="${G2CONF}
77 + --disable-deprecation-flags
78 + --disable-static
79 + --disable-scrollkeeper
80 + --disable-schemas-install
81 + --with-in-process-applets=clock,notification-area,wncklet
82 + $(use_enable networkmanager network-manager)
83 + $(use_enable introspection)
84 + $(use_enable eds)"
85 + DOCS="AUTHORS ChangeLog HACKING NEWS README"
86 +}
87 +
88 +pkg_postinst() {
89 + local entries="${EROOT}etc/gconf/schemas/panel-default-setup.entries"
90 + local gconftool="${EROOT}usr/bin/gconftool-2"
91 +
92 + if [ -e "$entries" ]; then
93 + einfo "Setting panel gconf defaults..."
94 +
95 + GCONF_CONFIG_SOURCE="$("${gconftool}" --get-default-source | sed "s;:/;:${ROOT};")"
96 +
97 + "${gconftool}" --direct --config-source \
98 + "${GCONF_CONFIG_SOURCE}" --load="${entries}"
99 + fi
100 +
101 + # Calling this late so it doesn't process the GConf schemas file we already
102 + # took care of.
103 + gnome2_pkg_postinst
104 +}