diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-05-13 23:35:19 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-05-13 23:35:19 +0000 |
commit | bfaa558951b3e47b5d3cdd0d3d29ab13231b7b29 (patch) | |
tree | c8a1f34906019357abfd5a5b5f3de764fc20de4e /gnome-base/gnome-settings-daemon | |
parent | Version bump. Drop old. (diff) | |
download | gentoo-2-bfaa558951b3e47b5d3cdd0d3d29ab13231b7b29.tar.gz gentoo-2-bfaa558951b3e47b5d3cdd0d3d29ab13231b7b29.tar.bz2 gentoo-2-bfaa558951b3e47b5d3cdd0d3d29ab13231b7b29.zip |
Version bump with lots of bugfixes and much improved wacom support. Drop old.
(Portage version: 2.2.0_alpha104/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base/gnome-settings-daemon')
-rw-r--r-- | gnome-base/gnome-settings-daemon/ChangeLog | 10 | ||||
-rw-r--r-- | gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.4.0-optional-color-wacom.patch | 127 | ||||
-rw-r--r-- | gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.4.1.ebuild (renamed from gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.2.2-r1.ebuild) | 63 | ||||
-rw-r--r-- | gnome-base/gnome-settings-daemon/metadata.xml | 4 |
4 files changed, 165 insertions, 39 deletions
diff --git a/gnome-base/gnome-settings-daemon/ChangeLog b/gnome-base/gnome-settings-daemon/ChangeLog index cb7faab52bcb..3678950d01cc 100644 --- a/gnome-base/gnome-settings-daemon/ChangeLog +++ b/gnome-base/gnome-settings-daemon/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for gnome-base/gnome-settings-daemon # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-settings-daemon/ChangeLog,v 1.103 2012/05/05 05:38:09 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-settings-daemon/ChangeLog,v 1.104 2012/05/13 23:35:19 tetromino Exp $ + +*gnome-settings-daemon-3.4.1 (13 May 2012) + + 13 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org> + -gnome-settings-daemon-3.2.2-r1.ebuild, + +files/gnome-settings-daemon-3.4.0-optional-color-wacom.patch, + +gnome-settings-daemon-3.4.1.ebuild: + Version bump with lots of bugfixes and much improved wacom support. Drop old. 05 May 2012; Jeff Horelick <jdhore@gentoo.org> gnome-settings-daemon-2.32.1-r2.ebuild, diff --git a/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.4.0-optional-color-wacom.patch b/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.4.0-optional-color-wacom.patch new file mode 100644 index 000000000000..045b4d61aad6 --- /dev/null +++ b/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.4.0-optional-color-wacom.patch @@ -0,0 +1,127 @@ +diff -Naur gnome-settings-daemon-3.3.92//configure.ac gnome-settings-daemon-3.3.92.new//configure.ac +--- gnome-settings-daemon-3.3.92//configure.ac 2012-03-19 14:23:38.000000000 +0530 ++++ gnome-settings-daemon-3.3.92.new//configure.ac 2012-03-25 11:36:35.833356226 +0530 +@@ -194,13 +194,39 @@ + dnl - color + dnl --------------------------------------------------------------------------- + +-PKG_CHECK_MODULES(COLOR, [colord >= 0.1.9 gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION libcanberra-gtk3]) ++AC_ARG_ENABLE([color], ++ AS_HELP_STRING([--disable-color], ++ [turn off color plugin]), ++ [with_color=$enableval], ++ [with_color=yes]) dnl Default value ++ ++if test x$with_color = xyes; then ++ PKG_CHECK_MODULES(COLOR, [colord >= 0.1.9 gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION libcanberra-gtk3]) ++ AC_DEFINE(HAVE_COLOR, 1, [Define if wacom plugin is enabled]) ++fi ++AM_CONDITIONAL(WITH_COLOR, test "x$with_color" = "xyes") ++ ++AC_SUBST(COLOR_CFLAGS) ++AC_SUBST(COLOR_LIBS) + + dnl --------------------------------------------------------------------------- + dnl - wacom + dnl --------------------------------------------------------------------------- + +-PKG_CHECK_MODULES(WACOM, [libwacom >= $LIBWACOM_REQUIRED_VERSION x11 xi xtst $GUDEV_PKG gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION xorg-wacom]) ++AC_ARG_ENABLE([wacom], ++ AS_HELP_STRING([--disable-wacom], ++ [turn off wacom plugin]), ++ [with_wacom=$enableval], ++ [with_wacom=no]) dnl Default value ++ ++if test x$with_wacom = xyes; then ++ PKG_CHECK_MODULES(WACOM, [libwacom >= $LIBWACOM_REQUIRED_VERSION x11 xi xtst $GUDEV_PKG gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION xorg-wacom]) ++ AC_DEFINE(HAVE_WACOM, 1, [Define if wacom plugin is enabled]) ++fi ++AM_CONDITIONAL(WITH_WACOM, test "x$with_wacom" = "xyes") ++ ++AC_SUBST(WACOM_CFLAGS) ++AC_SUBST(WACOM_LIBS) + + dnl ============================================== + dnl PackageKit section +diff -Naur gnome-settings-daemon-3.3.92//data/Makefile.am gnome-settings-daemon-3.3.92.new//data/Makefile.am +--- gnome-settings-daemon-3.3.92//data/Makefile.am 2012-03-16 22:59:35.000000000 +0530 ++++ gnome-settings-daemon-3.3.92.new//data/Makefile.am 2012-03-25 11:39:24.548364338 +0530 +@@ -11,16 +11,20 @@ + org.gnome.settings-daemon.plugins.gschema.xml \ + org.gnome.settings-daemon.plugins.keyboard.gschema.xml \ + org.gnome.settings-daemon.plugins.power.gschema.xml \ +- org.gnome.settings-daemon.plugins.color.gschema.xml \ + org.gnome.settings-daemon.plugins.media-keys.gschema.xml \ + org.gnome.settings-daemon.plugins.xsettings.gschema.xml \ + org.gnome.settings-daemon.plugins.housekeeping.gschema.xml \ + org.gnome.settings-daemon.plugins.print-notifications.gschema.xml \ +- org.gnome.settings-daemon.peripherals.wacom.gschema.xml \ + org.gnome.settings-daemon.plugins.xrandr.gschema.xml + + all_schemas = $(gsettings_SCHEMAS) + ++if WITH_COLOR ++gsettings_SCHEMAS += org.gnome.settings-daemon.plugins.color.gschema.xml ++else ++all_schemas += org.gnome.settings-daemon.plugins.color.gschema.xml ++endif ++ + if HAVE_PACKAGEKIT + gsettings_SCHEMAS += org.gnome.settings-daemon.plugins.updates.gschema.xml + else +@@ -33,6 +37,12 @@ + all_schemas += org.gnome.settings-daemon.plugins.orientation.gschema.xml + endif + ++if WITH_WACOM ++gsettings_SCHEMAS += org.gnome.settings-daemon.peripherals.wacom.gschema.xml ++else ++all_schemas += org.gnome.settings-daemon.peripherals.wacom.gschema.xml ++endif ++ + @INTLTOOL_XML_NOMERGE_RULE@ + + @GSETTINGS_RULES@ +diff -Naur gnome-settings-daemon-3.3.92//plugins/Makefile.am gnome-settings-daemon-3.3.92.new//plugins/Makefile.am +--- gnome-settings-daemon-3.3.92//plugins/Makefile.am 2012-03-16 22:59:35.000000000 +0530 ++++ gnome-settings-daemon-3.3.92.new//plugins/Makefile.am 2012-03-25 11:37:47.296359651 +0530 +@@ -6,7 +6,6 @@ + automount \ + background \ + clipboard \ +- color \ + cursor \ + dummy \ + power \ +@@ -15,13 +14,18 @@ + media-keys \ + mouse \ + sound \ +- wacom \ + xrandr \ + xsettings \ + $(NULL) + + disabled_plugins = $(NULL) + ++if WITH_COLOR ++enabled_plugins += color ++else ++disabled_plugins += color ++endif ++ + if HAVE_PACKAGEKIT + enabled_plugins += updates + else +@@ -46,5 +50,11 @@ + disabled_plugins += print-notifications + endif + ++if WITH_WACOM ++enabled_plugins += wacom ++else ++disabled_plugins += wacom ++endif ++ + SUBDIRS = common $(enabled_plugins) + DIST_SUBDIRS = $(SUBDIRS) $(disabled_plugins) diff --git a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.2.2-r1.ebuild b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.4.1.ebuild index a30b9e77047f..102a38552ea5 100644 --- a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.2.2-r1.ebuild +++ b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.4.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.2.2-r1.ebuild,v 1.3 2012/05/05 05:38:09 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.4.1.ebuild,v 1.1 2012/05/13 23:35:19 tetromino Exp $ EAPI="4" GCONF_DEBUG="no" @@ -14,20 +14,15 @@ HOMEPAGE="http://www.gnome.org" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" -IUSE="+colord +cups debug packagekit policykit +short-touchpad-timeout smartcard +udev" +IUSE="+colord +cups debug packagekit policykit +short-touchpad-timeout smartcard systemd +udev wacom" -# gtk+-3.1.10 needed for gdk_x11_device_manager_lookup, bug #398589 -# Latest gsettings-desktop-schemas is needed due to commit e8d1de92 -# Latest gnome-desktop needed to fix the DPMS timeout bug #385063 # colord-0.1.13 needed to avoid polkit errors in CreateProfile and CreateDevice -# upower-0.9.11 needed for UpSleepKind -COMMON_DEPEND=">=dev-libs/dbus-glib-0.74 - >=dev-libs/glib-2.29.14:2 - >=x11-libs/gtk+-3.1.10:3 - >=gnome-base/gconf-2.6.1:2 +COMMON_DEPEND=" + >=dev-libs/glib-2.31.0:2 + >=x11-libs/gtk+-3.3.4:3 >=gnome-base/libgnomekbd-2.91.1 - >=gnome-base/gnome-desktop-3.2.0-r1:3 - >=gnome-base/gsettings-desktop-schemas-0.1.7.1 + >=gnome-base/gnome-desktop-3.3.92:3 + >=gnome-base/gsettings-desktop-schemas-3.3.0 media-fonts/cantarell media-libs/fontconfig >=media-libs/lcms-2.2:2 @@ -41,6 +36,7 @@ COMMON_DEPEND=">=dev-libs/dbus-glib-0.74 x11-libs/libXi x11-libs/libXext x11-libs/libXfixes + x11-libs/libXtst x11-libs/libXxf86misc >=x11-libs/libxklavier-5.0 >=media-sound/pulseaudio-0.9.16 @@ -48,15 +44,15 @@ COMMON_DEPEND=">=dev-libs/dbus-glib-0.74 colord? ( >=x11-misc/colord-0.1.13 ) cups? ( >=net-print/cups-1.4[dbus] ) packagekit? ( - || ( sys-fs/udev[gudev] - sys-fs/udev[extras] ) + sys-fs/udev[gudev] >=app-admin/packagekit-base-0.6.12 ) - policykit? ( - >=sys-auth/polkit-0.97 - >=sys-apps/dbus-1.1.2[X] ) - smartcard? ( >=dev-libs/nss-3.11.2 ) - udev? ( || ( sys-fs/udev[gudev] - sys-fs/udev[extras] ) )" + smartcard? ( + sys-fs/udev[gudev] + >=dev-libs/nss-3.11.2 ) + systemd? ( >=sys-apps/systemd-31 ) + udev? ( sys-fs/udev[gudev] ) + wacom? ( >=dev-libs/libwacom-0.3 + x11-drivers/xf86-input-wacom )" # Themes needed by g-s-d, gnome-shell, gtk+:3 apps to work properly # <gnome-color-manager-3.1.1 has file collisions with g-s-d-3.1.x # <gnome-power-manager-3.1.3 has file collisions with g-s-d-3.1.x @@ -67,7 +63,9 @@ RDEPEND="${COMMON_DEPEND} >=x11-themes/gnome-icon-theme-symbolic-2.91 !<gnome-base/gnome-control-center-2.22 !<gnome-extra/gnome-color-manager-3.1.1 - !<gnome-extra/gnome-power-manager-3.1.3" + !<gnome-extra/gnome-power-manager-3.1.3 + + !systemd? ( sys-auth/consolekit )" # xproto-7.0.15 needed for power plugin DEPEND="${COMMON_DEPEND} cups? ( sys-apps/sed ) @@ -85,23 +83,18 @@ pkg_setup() { G2CONF="${G2CONF} --disable-static --disable-schemas-compile - --enable-gconf-bridge - --with-pnpids=${EPREFIX}/usr/share/libgnome-desktop-3.0/pnp.ids $(use_enable colord color) $(use_enable cups) $(use_enable debug) $(use_enable debug more-warnings) $(use_enable packagekit) - $(use_enable policykit polkit) $(use_enable smartcard smartcard-support) - $(use_enable udev gudev)" + $(use_enable systemd) + $(use_enable udev gudev) + $(use_enable wacom)" } src_prepare() { - # Backport patch from git master branch (not in gnome-3-2 branch yet) - # fixing loading color profiles at startup - epatch "${FILESDIR}/${PN}-3.2.0-color-unbreak-loading-profiles.patch" - # https://bugzilla.gnome.org/show_bug.cgi?id=621836 # Apparently this change severely affects touchpad usability for some # people, so revert it if USE=short-touchpad-timeout. @@ -109,14 +102,8 @@ src_prepare() { use short-touchpad-timeout && epatch "${FILESDIR}/${PN}-3.0.2-short-touchpad-timeout.patch" - # Make colord optional; requires eautoreconf - epatch "${FILESDIR}/${PN}-3.2.1-optional-colord.patch" - - # Fix inability to add displays without EDID data; in next release - epatch "${FILESDIR}/${P}-color-unavailable-edid.patch" - - # Fix crash with cups-1.5.0; will be in next release - epatch "${FILESDIR}/${P}-print-notifications-malformed-dbus.patch" + # Make colord and wacom optional; requires eautoreconf + epatch "${FILESDIR}/${PN}-3.4.0-optional-color-wacom.patch" eautoreconf @@ -131,5 +118,5 @@ src_install() { gnome2_src_install echo 'GSETTINGS_BACKEND="dconf"' >> 51gsettings-dconf - doenvd 51gsettings-dconf || die "doenvd failed" + doenvd 51gsettings-dconf } diff --git a/gnome-base/gnome-settings-daemon/metadata.xml b/gnome-base/gnome-settings-daemon/metadata.xml index f68905efbe19..7cff9d63b92f 100644 --- a/gnome-base/gnome-settings-daemon/metadata.xml +++ b/gnome-base/gnome-settings-daemon/metadata.xml @@ -9,5 +9,9 @@ manager GUI <pkg>app-admin/packagekit</pkg></flag> <flag name="short-touchpad-timeout">Change the touchpad timeout so that it's effective for fast typists</flag> + <flag name="systemd">Use <pkg>sys-apps/systemd</pkg> instead of + <pkg>sys-auth/consolekit</pkg> for session tracking</flag> + <flag name="wacom">Enable support for Wacom tablets and drawing + devices</flag> </use> </pkgmetadata> |