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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Wed Oct 20 16:41:04 2010 UTC (8 years, 7 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.9.19/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20