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

Contents of /gnome-base/gnome-panel/gnome-panel-2.24.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Mon Mar 8 13:09:02 2010 UTC (9 years, 3 months ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Clean up old revisions.
(Portage version: 2.2_rc64/cvs/Linux i686)

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.24.3-r1.ebuild,v 1.9 2009/04/27 13:58:15 jer Exp $
4
5 GCONF_DEBUG="no"
6
7 inherit autotools gnome2
8
9 MY_P="${PN}-2.24.2"
10 DESCRIPTION="The GNOME panel"
11 HOMEPAGE="http://www.gnome.org/"
12 SRC_URI="${SRC_URI}
13 mirror://gentoo/${MY_P}-logout+po.tar.bz2"
14
15 LICENSE="GPL-2 FDL-1.1 LGPL-2"
16 SLOT="0"
17 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd"
18 IUSE="doc eds networkmanager"
19
20 RDEPEND=">=gnome-base/gnome-desktop-2.12
21 >=x11-libs/pango-1.15.4
22 >=dev-libs/glib-2.16.0
23 >=x11-libs/gtk+-2.13.1
24 >=dev-libs/libgweather-2.24.1
25 dev-libs/libxml2
26 >=gnome-base/libglade-2.5
27 >=gnome-base/libgnome-2.13
28 >=gnome-base/libgnomeui-2.5.4
29 >=gnome-base/libbonoboui-2.1.1
30 >=gnome-base/orbit-2.4
31 >=x11-libs/libwnck-2.19.5
32 >=gnome-base/gconf-2.6.1
33 >=gnome-base/gnome-menus-2.11.1
34 >=gnome-base/libbonobo-2.20.4
35 gnome-base/librsvg
36 >=dev-libs/dbus-glib-0.71
37 >=sys-apps/dbus-1.1.2
38 x11-libs/libXau
39 >=x11-libs/cairo-1.0.0
40 eds? ( >=gnome-extra/evolution-data-server-1.6 )
41 networkmanager? ( >=net-misc/networkmanager-0.6 )"
42 DEPEND="${RDEPEND}
43 app-text/scrollkeeper
44 >=app-text/gnome-doc-utils-0.3.2
45 >=dev-util/pkgconfig-0.9
46 >=dev-util/intltool-0.40
47 ~app-text/docbook-xml-dtd-4.1.2
48 >=dev-util/gtk-doc-am-1
49 doc? ( >=dev-util/gtk-doc-1 )"
50
51 DOCS="AUTHORS ChangeLog HACKING NEWS README"
52
53 pkg_setup() {
54 G2CONF="${G2CONF}
55 --disable-scrollkeeper
56 --disable-schemas-install
57 --with-in-process-applets=clock,notification-area,wncklet
58 --disable-polkit
59 $(use_enable networkmanager network-manager)
60 $(use_enable eds)"
61 }
62
63 src_unpack() {
64 gnome2_src_unpack
65
66 # Allow logout/shutdown without gnome-session 2.24, bug #246170
67 epatch "${WORKDIR}/${MY_P}-logout.patch"
68 epatch "${WORKDIR}/${MY_P}-po.patch"
69
70 # Fixes build on BSD, bug #256859
71 epatch "${FILESDIR}/${P}-daylight.patch"
72
73 # Fixes shutdown without gdm, bug #259138
74 epatch "${FILESDIR}/${P}-shutdown.patch"
75
76 intltoolize --force --copy --automake || die "intltoolize failed"
77 eautomake
78 }
79
80 pkg_postinst() {
81 local entries="${ROOT}etc/gconf/schemas/panel-default-setup.entries"
82 local gconftool="${ROOT}usr/bin/gconftool-2"
83
84 if [ -e "$entries" ]; then
85 einfo "setting panel gconf defaults..."
86
87 GCONF_CONFIG_SOURCE="$("${gconftool}" --get-default-source | sed "s;:/;:${ROOT};")"
88
89 "${gconftool}" --direct --config-source \
90 "${GCONF_CONFIG_SOURCE}" --load="${entries}"
91 fi
92
93 # Calling this late so it doesn't process the GConf schemas file we already
94 # took care of.
95 gnome2_pkg_postinst
96 }

  ViewVC Help
Powered by ViewVC 1.1.20