Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 266110
Collapse All | Expand All

(-)a/gnome-base/gnome-control-center/Manifest (-1 / +2 lines)
Lines 1-3 Link Here
1
AUX gnome-control-center-2.24.0.1-fbsd.patch 394 RMD160 e5558b7be781663e05c8964355443a2ec993b6a4 SHA1 e6a23b54558824b279a74fdda6afbecb7621b9cf SHA256 d7216a88d518110e3d6a9b64e72e8a02fea1c1b48da43783d0ca0c06f610e11f
1
AUX gnome-control-center-2.24.0.1-fbsd.patch 394 RMD160 e5558b7be781663e05c8964355443a2ec993b6a4 SHA1 e6a23b54558824b279a74fdda6afbecb7621b9cf SHA256 d7216a88d518110e3d6a9b64e72e8a02fea1c1b48da43783d0ca0c06f610e11f
2
AUX gnome-control-center-2.26.0-automagics-canberra+polkit.patch 2432 RMD160 8dc01ee688986a20339e6d14d39a43d40a03a770 SHA1 cde5a169e98a7d92875bb7fc535502f375774e5b SHA256 1a2a294de055d561985ec95cd612b81cc8ad68820e890011a62afbb1e340b597
2
DIST gnome-control-center-2.26.0.tar.bz2 2262324 RMD160 d22c75b21d63bad9321ad1221e442f381da8dd35 SHA1 4730780aaab599869a2dfe2d72d68dd54bb77058 SHA256 62fb84ea1053971a53c5259b92eb3a282c2f317f72f761ed4dff434ed0e99c05
3
DIST gnome-control-center-2.26.0.tar.bz2 2262324 RMD160 d22c75b21d63bad9321ad1221e442f381da8dd35 SHA1 4730780aaab599869a2dfe2d72d68dd54bb77058 SHA256 62fb84ea1053971a53c5259b92eb3a282c2f317f72f761ed4dff434ed0e99c05
3
EBUILD gnome-control-center-2.26.0.ebuild 2145 RMD160 795f31153f1ff842835a3c1c8a238c299f4681d7 SHA1 3dae408b41e21ba34249ca1492fb87845e72846f SHA256 31f8a5e54717139bfc67b9e52767a55109d3dd3fdd74551abd917075b86e0008
4
EBUILD gnome-control-center-2.26.0.ebuild 2346 RMD160 6979f5e1da0fdb59a4417565cd5e3419bd469b24 SHA1 d0286a59e076bce4c2bf2a9569b732dccb84ca9f SHA256 73630b973ee2f956fe9095528caea0bdf5f67a0a1916551b01eddd897f6a0227
(-)a/gnome-base/gnome-control-center/files/gnome-control-center-2.26.0-automagics-canberra+polkit.patch (+69 lines)
Line 0 Link Here
1
 configure.in |   35 +++++++++++++++++++++++++----------
2
 1 files changed, 25 insertions(+), 10 deletions(-)
3
4
diff --git a/configure.in b/configure.in
5
index 515f053..03eda8c 100644
6
--- a/configure.in
7
+++ b/configure.in
8
@@ -60,13 +60,6 @@ AC_CHECK_FUNC(XScreenSaverQueryInfo, [
9
 AC_SUBST(TYPING_BREAK)
10
 AC_SUBST(SCREENSAVER_LIBS)
11
 
12
-PKG_CHECK_MODULES(LIBCANBERRA_GTK, libcanberra-gtk, [
13
-  CANBERRA_GTK=1
14
-  AC_SUBST(LIBCANBERRA_GTK_CFLAGS)
15
-  AC_SUBST(LIBCANBERRA_GTK_LIBS)
16
-  ], [:])
17
-AM_CONDITIONAL(HAVE_LIBCANBERRA_GTK, test "x$CANBERRA_GTK" = "x1")
18
-
19
 AM_CONDITIONAL(HAVE_TYPING_BREAK, test "x$TYPING_BREAK" = xtyping-break)
20
 
21
 dnl keyboard-properties-capplet
22
@@ -96,6 +89,22 @@ COMMON_MODULES="gtk+-2.0 >= 2.13.1 dnl
23
  gconf-2.0 dnl
24
  libglade-2.0 >= 2.0.0 dnl
25
  gnome-desktop-2.0 >= 2.25.1"
26
+
27
+AC_ARG_ENABLE([canberra],
28
+	AC_HELP_STRING([--enable-canberra],
29
+	[Enable canberra support @<:@default=yes@:>@]),
30
+	enable_canberra=$enableval, enable_canberra=yes)
31
+
32
+CANBERRA_GTK=0
33
+if test x$enable_canberra = xyes; then
34
+   PKG_CHECK_MODULES(LIBCANBERRA_GTK, libcanberra-gtk, 
35
+   [CANBERRA_GTK=1
36
+   AC_SUBST(LIBCANBERRA_GTK_CFLAGS)
37
+   AC_SUBST(LIBCANBERRA_GTK_LIBS)], [])
38
+fi
39
+
40
+AM_CONDITIONAL(HAVE_LIBCANBERRA_GTK, test "x$CANBERRA_GTK" = "x1")
41
+
42
 PKG_CHECK_MODULES(LIBSLAB, $COMMON_MODULES libgnomeui-2.0 gnome-desktop-2.0 librsvg-2.0 libgnome-menu pango libgnomeui-2.0)
43
 PKG_CHECK_MODULES(CAPPLET, $COMMON_MODULES)
44
 PKG_CHECK_MODULES(GNOMECC, $COMMON_MODULES libgnome-menu >= 2.10.1)
45
@@ -199,15 +208,21 @@ AC_ARG_ENABLE([aboutme],
46
    [enable_aboutme=no])
47
 AC_MSG_RESULT([$enable_aboutme])
48
 
49
+AC_ARG_ENABLE([policykit-gnome],
50
+	AC_HELP_STRING([--enable-policykit-gnome],
51
+	[Enable PolicyKit-gnome support @<:@default=yes@:>@]),
52
+	enable_polkit=$enableval, enable_polkit=yes)
53
+
54
 if test "x$enable_aboutme" = "xyes"; then
55
   PKG_CHECK_MODULES(LIBEBOOK, [libebook-1.2 >= 1.7.90],
56
                     [AC_DEFINE([HAVE_LIBEBOOK], 1,
57
                     [Define if evolution-data-server libebook-1.2 is available])])
58
-  dnl PolicyKit-gnome is optional
59
+  if test "x$enable_polkit" = "xyes"; then
60
   PKG_CHECK_MODULES(POLKIT_GNOME, [polkit-gnome],
61
   		    [AC_DEFINE([HAVE_POLKIT], 1,
62
-  		    [Define if PolicyKit-gnome is available])],
63
-  		    has_polkit=false)
64
+  		    [Define if PolicyKit-gnome is available])], 		    
65
+		    has_polkit=false)
66
+  fi
67
 fi
68
 
69
 AM_CONDITIONAL(BUILD_ABOUTME, test "x$enable_aboutme" = "xyes")
(-)a/gnome-base/gnome-control-center/gnome-control-center-2.26.0.ebuild (-7 / +12 lines)
Lines 4-10 Link Here
4
4
5
EAPI="2"
5
EAPI="2"
6
6
7
inherit eutils gnome2
7
inherit eutils gnome2 autotools
8
8
9
DESCRIPTION="The gnome2 Desktop configuration tool"
9
DESCRIPTION="The gnome2 Desktop configuration tool"
10
HOMEPAGE="http://www.gnome.org/"
10
HOMEPAGE="http://www.gnome.org/"
Lines 12-21 HOMEPAGE="http://www.gnome.org/" Link Here
12
LICENSE="GPL-2"
12
LICENSE="GPL-2"
13
SLOT="2"
13
SLOT="2"
14
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
14
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
15
IUSE="eds hal"
15
IUSE="canberra eds hal policykit"
16
16
17
# FIXME: libcanberra is automagic.
18
# FIXME: policykit-gnome is automagic for about-me capplet.
19
RDEPEND="x11-libs/libXft
17
RDEPEND="x11-libs/libXft
20
	>=x11-libs/gtk+-2.13.1
18
	>=x11-libs/gtk+-2.13.1
21
	>=dev-libs/glib-2.17.4
19
	>=dev-libs/glib-2.17.4
Lines 39-45 RDEPEND="x11-libs/libXft Link Here
39
37
40
	eds? ( >=gnome-extra/evolution-data-server-1.7.90 )
38
	eds? ( >=gnome-extra/evolution-data-server-1.7.90 )
41
	hal? ( >=sys-apps/hal-0.5.6 )
39
	hal? ( >=sys-apps/hal-0.5.6 )
42
	>=media-libs/libcanberra-0.4[gtk]
40
	canberra?  ( >=media-libs/libcanberra-0.4[gtk] )
41
	policykit? ( gnome-extra/policykit-gnome )
43
42
44
	>=gnome-base/libbonobo-2
43
	>=gnome-base/libbonobo-2
45
	>=gnome-base/libgnome-2.2
44
	>=gnome-base/libgnome-2.2
Lines 79-85 pkg_setup() { Link Here
79
	G2CONF="${G2CONF}
78
	G2CONF="${G2CONF}
80
		--disable-update-mimedb
79
		--disable-update-mimedb
81
		$(use_enable eds aboutme)
80
		$(use_enable eds aboutme)
82
		$(use_enable hal)"
81
		$(use_enable hal)
82
		$(use_enable canberra)
83
		$(use_enable policykit)"
83
}
84
}
84
85
85
src_prepare() {
86
src_prepare() {
Lines 87-90 src_prepare() { Link Here
87
88
88
	# Fix compilation on fbsd, bug #256958
89
	# Fix compilation on fbsd, bug #256958
89
	epatch "${FILESDIR}/${PN}-2.24.0.1-fbsd.patch"
90
	epatch "${FILESDIR}/${PN}-2.24.0.1-fbsd.patch"
91
	# Fix libcanberra and policykit-gnome for about-me capplet
92
	# automagics support
93
	epatch "${FILESDIR}/${P}-automagics-canberra+polkit.patch"
94
	
95
	eautoreconf
90
}
96
}
91
- 

Return to bug 266110