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

Contents of /gnome-base/gnome-panel/gnome-panel-2.32.1-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Sat Jan 4 02:44:19 2014 UTC (6 months, 2 weeks ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +5 -2 lines
Fix underlinking failure (bug #496722, thanks to David Davidson).

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)

1 # Copyright 1999-2014 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.32.1-r3.ebuild,v 1.13 2013/09/08 17:53:29 eva Exp $
4
5 EAPI="3"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8 PYTHON_DEPEND="2:2.5"
9
10 inherit gnome2 python eutils autotools
11
12 DESCRIPTION="The GNOME panel"
13 HOMEPAGE="http://www.gnome.org/"
14 SRC_URI="${SRC_URI} mirror://gentoo/introspection-20110205.m4.tar.bz2
15 http://dev.gentoo.org/~pacho/gnome/${P}-patches.tar.bz2"
16
17 LICENSE="GPL-2+ FDL-1.1+ LGPL-2+"
18 SLOT="0"
19 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
20 IUSE="+bonobo eds +introspection networkmanager"
21
22 RDEPEND=">=gnome-base/gnome-desktop-2.26:2
23 >=x11-libs/pango-1.15.4[introspection?]
24 >=dev-libs/glib-2.25.12:2
25 >=x11-libs/gtk+-2.22:2[introspection?]
26 >=dev-libs/libgweather-2.27.90:2
27 <dev-libs/libgweather-2.90.1:2
28 dev-libs/libxml2:2
29 >=gnome-base/gconf-2.6.1:2[introspection?]
30 >=media-libs/libcanberra-0.23[gtk]
31 >=gnome-base/gnome-menus-2.27.92:0
32 gnome-base/librsvg:2
33 >=dev-libs/dbus-glib-0.80
34 >=sys-apps/dbus-1.1.2
35 >=x11-libs/cairo-1
36 x11-libs/libXau
37 >=x11-libs/libXrandr-1.2
38 bonobo? (
39 >=gnome-base/libbonobo-2.20.4
40 >=gnome-base/libbonoboui-2.1.1
41 >=gnome-base/orbit-2.4
42 >=x11-libs/libwnck-2.19.5:1 )
43 eds? ( >=gnome-extra/evolution-data-server-1.6 )
44 introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
45 networkmanager? ( >=net-misc/networkmanager-0.6.7 )"
46 DEPEND="${RDEPEND}
47 >=dev-lang/perl-5
48 dev-util/gtk-doc-am
49 >=app-text/gnome-doc-utils-0.3.2
50 virtual/pkgconfig
51 >=dev-util/intltool-0.40
52 app-text/docbook-xml-dtd:4.1.2
53 gnome-base/gnome-common"
54 # eautoreconf needs
55 # gnome-base/gnome-common
56
57 pkg_setup() {
58 G2CONF="${G2CONF}
59 --disable-deprecation-flags
60 --disable-static
61 --disable-scrollkeeper
62 --disable-schemas-install
63 $(use_enable bonobo)
64 $(use_enable networkmanager network-manager)
65 $(use_enable introspection)
66 $(use_enable eds)"
67 DOCS="AUTHORS ChangeLog HACKING NEWS README"
68 python_set_active_version 2
69 }
70
71 src_unpack() {
72 # If gobject-introspection is installed, we don't need the extra .m4
73 if has_version "dev-libs/gobject-introspection"; then
74 unpack ${P}.tar.bz2 ${P}-patches.tar.bz2
75 else
76 unpack ${A}
77 fi
78 }
79
80 src_prepare() {
81 # List the objects before the libraries to fix build with --as-needed
82 epatch "${FILESDIR}/${P}-as-needed.patch"
83
84 # Try to improve panel behavior on multiscreen systems, bug #348253, upstream #632369
85 epatch "${FILESDIR}/${PN}-2.32.1-fix-multiscreen.patch"
86 epatch "${FILESDIR}/${PN}-2.32.1-fix-multiscreen2.patch"
87
88 # Apply multiple bugfixes from 2.32 and master branches
89 # Also use gnome-applications.menu instead of applications.menu as it's the default value for us.
90 epatch "${WORKDIR}/${P}-patches"/*.patch
91
92 # clock applet: Pass the correct month to Evolution command line
93 epatch "${FILESDIR}/${PN}-2.32.1-evo-month.patch"
94
95 # Fix underlinking, bug #384533
96 epatch "${FILESDIR}/${P}-underlinking.patch"
97
98 # More underlinking, bug #496722
99 epatch "${FILESDIR}/${P}-gmodule.patch"
100
101 # automake-1.13 fix, bug #479890
102 sed -i -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' configure.ac || die
103
104 AT_M4DIR=${WORKDIR} eautoreconf
105 gnome2_src_prepare
106 }
107
108 pkg_postinst() {
109 local entries="${EROOT}etc/gconf/schemas/panel-default-setup.entries"
110 local gconftool="${EROOT}usr/bin/gconftool-2"
111
112 if [ -e "$entries" ]; then
113 einfo "Setting panel gconf defaults..."
114
115 GCONF_CONFIG_SOURCE="$("${gconftool}" --get-default-source | sed "s;:/;:${ROOT};")"
116
117 "${gconftool}" --direct --config-source \
118 "${GCONF_CONFIG_SOURCE}" --load="${entries}"
119 fi
120
121 # Calling this late so it doesn't process the GConf schemas file we already
122 # took care of.
123 gnome2_pkg_postinst
124 }

  ViewVC Help
Powered by ViewVC 1.1.20