/[gentoo-x86]/gnome-base/gnome-panel/gnome-panel-2.26.1.ebuild
Gentoo

Contents of /gnome-base/gnome-panel/gnome-panel-2.26.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Jul 9 21:14:07 2009 UTC (9 years, 11 months ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump. Raise dependency of gnome-desktop to 2.26, bug #272225. Small fixes, notably critical warning (bug #272012), translation updates.
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-panel/gnome-panel-2.26.1.ebuild,v 1.3 2009/05/13 14:22:12 dang Exp $
4
5 EAPI="2"
6 GCONF_DEBUG="no"
7
8 inherit autotools eutils gnome2
9
10 MY_P="${PN}-2.24.2"
11 DESCRIPTION="The GNOME panel"
12 HOMEPAGE="http://www.gnome.org/"
13 SRC_URI="${SRC_URI}
14 mirror://gentoo/${MY_P}-logout+po.tar.bz2
15 mirror://gentoo/${P}-po.patch.bz2"
16
17 LICENSE="GPL-2 FDL-1.1 LGPL-2"
18 SLOT="0"
19 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
20 IUSE="doc eds networkmanager policykit"
21
22 RDEPEND=">=gnome-base/gnome-desktop-2.24.0
23 >=x11-libs/pango-1.15.4
24 >=dev-libs/glib-2.18.0
25 >=x11-libs/gtk+-2.15.1
26 >=dev-libs/libgweather-2.24.1
27 dev-libs/libxml2
28 >=gnome-base/libglade-2.5
29 >=gnome-base/libgnome-2.13
30 >=gnome-base/libgnomeui-2.5.4
31 >=gnome-base/libbonoboui-2.1.1
32 >=gnome-base/orbit-2.4
33 >=x11-libs/libwnck-2.19.5
34 >=gnome-base/gconf-2.6.1
35 >=gnome-base/gnome-menus-2.11.1
36 >=gnome-base/libbonobo-2.20.4
37 gnome-base/librsvg
38 >=dev-libs/dbus-glib-0.71
39 >=sys-apps/dbus-1.1.2
40 x11-libs/libXau
41 >=x11-libs/cairo-1.0.0
42 eds? ( >=gnome-extra/evolution-data-server-1.6 )
43 networkmanager? ( >=net-misc/networkmanager-0.6 )
44 policykit? (
45 >=sys-auth/policykit-0.7
46 >=gnome-extra/policykit-gnome-0.7 )"
47 DEPEND="${RDEPEND}
48 >=dev-lang/perl-5
49 gnome-base/gnome-common
50 >=app-text/gnome-doc-utils-0.3.2
51 >=dev-util/pkgconfig-0.9
52 >=dev-util/intltool-0.40
53 ~app-text/docbook-xml-dtd-4.1.2
54 >=dev-util/gtk-doc-am-1
55 doc? ( >=dev-util/gtk-doc-1 )"
56
57 DOCS="AUTHORS ChangeLog HACKING NEWS README"
58
59 pkg_setup() {
60 G2CONF="${G2CONF}
61 --disable-scrollkeeper
62 --disable-schemas-install
63 --with-in-process-applets=clock,notification-area,wncklet
64 $(use_enable policykit polkit)
65 $(use_enable networkmanager network-manager)
66 $(use_enable eds)"
67 }
68
69 src_prepare() {
70 gnome2_src_prepare
71
72 # Allow logout/shutdown without gnome-session 2.24, bug #246170
73 epatch "${WORKDIR}/${MY_P}-logout.patch"
74 epatch "${WORKDIR}/${P}-po.patch"
75 echo "gnome-panel/panel-logout.c" >> po/POTFILES.in
76
77 # Fixes build on BSD, bug #256859
78 epatch "${FILESDIR}/${PN}-2.24.3-daylight.patch"
79
80 # Fixes shutdown without gdm, bug #259138
81 epatch "${FILESDIR}/${PN}-2.24.3-shutdown.patch"
82
83 intltoolize --force --copy --automake || die "intltoolize failed"
84
85 # FIXME: tarball generated with broken gtk-doc, revisit me.
86 if use doc; then
87 sed "/^TARGET_DIR/i \GTKDOC_REBASE=/usr/bin/gtkdoc-rebase" \
88 -i gtk-doc.make || die "sed 1 failed"
89 else
90 sed "/^TARGET_DIR/i \GTKDOC_REBASE=$(type -P true)" \
91 -i gtk-doc.make || die "sed 2 failed"
92 fi
93
94 eautomake
95 }
96
97 pkg_postinst() {
98 local entries="${ROOT}etc/gconf/schemas/panel-default-setup.entries"
99 local gconftool="${ROOT}usr/bin/gconftool-2"
100
101 if [ -e "$entries" ]; then
102 einfo "setting panel gconf defaults..."
103
104 GCONF_CONFIG_SOURCE="$("${gconftool}" --get-default-source | sed "s;:/;:${ROOT};")"
105
106 "${gconftool}" --direct --config-source \
107 "${GCONF_CONFIG_SOURCE}" --load="${entries}"
108 fi
109
110 # Calling this late so it doesn't process the GConf schemas file we already
111 # took care of.
112 gnome2_pkg_postinst
113 }

  ViewVC Help
Powered by ViewVC 1.1.20