summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2011-10-29 06:53:44 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2011-10-29 06:53:44 +0000
commitfe1a5bb6b63e35aab47799646cb57bd2b57e63c6 (patch)
tree7d481eeb8464093d373182592aff05feaf2d8478 /gnome-base/gnome-control-center
parentBump to 3.2.0 from the gnome overlay. Adds schemas needed for gnome-3.2. (diff)
downloadgentoo-2-fe1a5bb6b63e35aab47799646cb57bd2b57e63c6.tar.gz
gentoo-2-fe1a5bb6b63e35aab47799646cb57bd2b57e63c6.tar.bz2
gentoo-2-fe1a5bb6b63e35aab47799646cb57bd2b57e63c6.zip
Bump to 3.2.1 from the gnome overlay. Drop arm keyword (needs app-admin/apg and net-libs/gnome-online-accounts keyworded). Keywording bug will be opened once all of gnome-3.2 is in portage.
(Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base/gnome-control-center')
-rw-r--r--gnome-base/gnome-control-center/ChangeLog10
-rw-r--r--gnome-base/gnome-control-center/files/gnome-control-center-3.2.1-optional-colord.patch66
-rw-r--r--gnome-base/gnome-control-center/gnome-control-center-3.2.1.ebuild109
-rw-r--r--gnome-base/gnome-control-center/metadata.xml2
4 files changed, 186 insertions, 1 deletions
diff --git a/gnome-base/gnome-control-center/ChangeLog b/gnome-base/gnome-control-center/ChangeLog
index d2b76c55ec0d..877ba7bfb1a6 100644
--- a/gnome-base/gnome-control-center/ChangeLog
+++ b/gnome-base/gnome-control-center/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for gnome-base/gnome-control-center
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-control-center/ChangeLog,v 1.91 2011/10/28 00:57:44 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-control-center/ChangeLog,v 1.92 2011/10/29 06:53:44 tetromino Exp $
+
+*gnome-control-center-3.2.1 (29 Oct 2011)
+
+ 29 Oct 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +gnome-control-center-3.2.1.ebuild,
+ +files/gnome-control-center-3.2.1-optional-colord.patch, metadata.xml:
+ Bump to 3.2.1 from the gnome overlay. Drop arm keyword (needs app-admin/apg
+ and net-libs/gnome-online-accounts keyworded). Numerous code changes.
28 Oct 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
gnome-control-center-2.32.1-r1.ebuild, gnome-control-center-3.0.2-r2.ebuild:
diff --git a/gnome-base/gnome-control-center/files/gnome-control-center-3.2.1-optional-colord.patch b/gnome-base/gnome-control-center/files/gnome-control-center-3.2.1-optional-colord.patch
new file mode 100644
index 000000000000..edbbf314c2be
--- /dev/null
+++ b/gnome-base/gnome-control-center/files/gnome-control-center-3.2.1-optional-colord.patch
@@ -0,0 +1,66 @@
+From b56f9e04f8822db34b030bea86d39c1d444a3cbb Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Thu, 27 Oct 2011 23:55:23 -0400
+Subject: [PATCH] Make colord optional.
+
+---
+ configure.ac | 19 ++++++++++++++++++-
+ panels/Makefile.am | 5 ++++-
+ 2 files changed, 22 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index d552ac8..fd9062e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -106,7 +106,24 @@ PKG_CHECK_MODULES(NETWORK_PANEL, $COMMON_MODULES)
+ PKG_CHECK_MODULES(ONLINE_ACCOUNTS_PANEL, $COMMON_MODULES goa-1.0 goa-backend-1.0)
+ PKG_CHECK_MODULES(POWER_PANEL, $COMMON_MODULES upower-glib >= 0.9.1
+ gnome-settings-daemon >= $GSD_REQUIRED_VERSION)
+-PKG_CHECK_MODULES(COLOR_PANEL, $COMMON_MODULES colord >= 0.1.8)
++build_color=false
++AC_ARG_ENABLE(color,
++ AC_HELP_STRING([--disable-color],
++ [disable color management panel]),
++ [case "${enableval}" in
++ yes) WANT_COLOR=yes ;;
++ no) WANT_COLOR=no ;;
++ *) AC_MSG_ERROR(bad value ${enableval} for --disable-color) ;;
++ esac],
++ [WANT_COLOR=yes]) dnl Default value
++
++if test x$WANT_COLOR = xyes; then
++ PKG_CHECK_MODULES(COLOR_PANEL, $COMMON_MODULES colord >= 0.1.8)
++ build_color=true
++fi
++AM_CONDITIONAL(BUILD_COLOR, test "x$build_color" = "xtrue")
++AC_SUBST(COLOR_PANEL_CFLAGS)
++AC_SUBST(COLOR_PANEL_LIBS)
+ PKG_CHECK_MODULES(PRINTERS_PANEL, $COMMON_MODULES dbus-glib-1
+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION)
+ PKG_CHECK_MODULES(REGION_PANEL, $COMMON_MODULES libgnomekbd >= 2.91.91
+diff --git a/panels/Makefile.am b/panels/Makefile.am
+index 566a2f8..a375e2f 100644
+--- a/panels/Makefile.am
++++ b/panels/Makefile.am
+@@ -3,7 +3,6 @@ SUBDIRS= \
+ background \
+ screen \
+ power \
+- color \
+ display \
+ media \
+ mouse \
+@@ -17,6 +16,10 @@ SUBDIRS= \
+ datetime \
+ wacom
+
++if BUILD_COLOR
++SUBDIRS += color
++endif
++
+ if BUILD_PRINTERS
+ SUBDIRS += printers
+ endif
+--
+1.7.7.1
+
diff --git a/gnome-base/gnome-control-center/gnome-control-center-3.2.1.ebuild b/gnome-base/gnome-control-center/gnome-control-center-3.2.1.ebuild
new file mode 100644
index 000000000000..2538ad77dbb7
--- /dev/null
+++ b/gnome-base/gnome-control-center/gnome-control-center-3.2.1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-control-center/gnome-control-center-3.2.1.ebuild,v 1.1 2011/10/29 06:53:44 tetromino Exp $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+GNOME2_LA_PUNT="yes" # gmodule is used, which uses dlopen
+
+inherit autotools gnome2
+
+DESCRIPTION="GNOME Desktop Configuration Tool"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="GPL-2"
+SLOT="2"
+IUSE="+cheese +colord +cups +networkmanager +socialweb"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
+
+# XXX: gnome-desktop-2.91.5 is needed for upstream commit c67f7efb
+# XXX: NetworkManager-0.9 support is automagic, make hard-dep once it's released
+#
+# gnome-session-2.91.6-r1 is needed so that 10-user-dirs-update is run at login
+# Latest gsettings-desktop-schemas is neededfor commit 73f9bffb
+# gnome-settings-daemon-3.1.4 is needed for power panel (commit 4f08a325)
+COMMON_DEPEND="
+ >=dev-libs/glib-2.29.14:2
+ >=x11-libs/gdk-pixbuf-2.23.0:2
+ >=x11-libs/gtk+-3.1.19:3
+ >=gnome-base/gsettings-desktop-schemas-3.0.2
+ >=gnome-base/gconf-2.0:2
+ >=dev-libs/dbus-glib-0.73
+ >=gnome-base/gnome-desktop-3.1.0:3
+ >=gnome-base/gnome-settings-daemon-3.1.4[colord(+)?]
+ >=gnome-base/libgnomekbd-2.91.91
+
+ app-text/iso-codes
+ dev-libs/libxml2:2
+ gnome-base/gnome-menus:3
+ gnome-base/libgtop:2
+ media-libs/fontconfig
+ net-libs/gnome-online-accounts
+
+ >=media-libs/libcanberra-0.13[gtk3]
+ >=media-sound/pulseaudio-0.9.16[glib]
+ >=sys-auth/polkit-0.97
+ >=sys-power/upower-0.9.1
+ >=x11-libs/libnotify-0.7.3
+
+ x11-apps/xmodmap
+ x11-libs/libX11
+ x11-libs/libXxf86misc
+ >=x11-libs/libxklavier-5.1
+ >=x11-libs/libXi-1.2
+
+ cheese? (
+ media-libs/gstreamer:0.10
+ >=media-video/cheese-2.91.91.1 )
+ colord? ( >=x11-misc/colord-0.1.8 )
+ cups? ( >=net-print/cups-1.4[dbus] )
+ networkmanager? (
+ >=gnome-extra/nm-applet-0.9.1.90
+ >=net-misc/networkmanager-0.8.997 )
+ socialweb? ( net-libs/libsocialweb )"
+# <gnome-color-manager-3.1.2 has file collisions with g-c-c-3.1.x
+RDEPEND="${COMMON_DEPEND}
+ app-admin/apg
+ sys-apps/accountsservice
+ cups? ( net-print/cups-pk-helper )
+
+ !<gnome-extra/gnome-color-manager-3.1.2
+ !gnome-extra/gnome-media[pulseaudio]
+ !<gnome-extra/gnome-media-2.32.0-r300
+ !<gnome-base/gdm-2.91.94"
+# PDEPEND to avoid circular dependency
+PDEPEND=">=gnome-base/gnome-session-2.91.6-r1"
+DEPEND="${COMMON_DEPEND}
+ x11-proto/xproto
+ x11-proto/xf86miscproto
+ x11-proto/kbproto
+
+ >=sys-devel/gettext-0.17
+ >=dev-util/intltool-0.40.1
+ >=dev-util/pkgconfig-0.19
+
+ app-text/scrollkeeper
+ >=app-text/gnome-doc-utils-0.10.1
+
+ cups? ( sys-apps/sed )"
+# Needed for autoreconf
+# gnome-base/gnome-common
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --disable-update-mimedb
+ --disable-static
+ $(use_with cheese)
+ $(use_enable colord color)
+ $(use_enable cups)
+ $(use_with socialweb libsocialweb)"
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+}
+
+src_prepare() {
+ # Make colord plugin optional; requires eautoreconf
+ epatch "${FILESDIR}/${PN}-3.2.1-optional-colord.patch"
+ eautoreconf
+
+ gnome2_src_prepare
+}
diff --git a/gnome-base/gnome-control-center/metadata.xml b/gnome-base/gnome-control-center/metadata.xml
index ef86235e8846..e681e123814c 100644
--- a/gnome-base/gnome-control-center/metadata.xml
+++ b/gnome-base/gnome-control-center/metadata.xml
@@ -3,6 +3,8 @@
<pkgmetadata>
<herd>gnome</herd>
<use>
+ <flag name="colord">Support color management using
+ <pkg>x11-misc/colord</pkg></flag>
<flag name="cheese">Add support for taking pictures for the user
accounts panel using <pkg>media-video/cheese</pkg></flag>
<flag name="socialweb">Add support for configuring social web service