diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2014-05-06 03:08:29 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2014-05-06 03:08:29 +0000 |
commit | 2478a40ea0db12d3c7b5b1e604f57e34bf3e6533 (patch) | |
tree | bd0abc304710d824344ed5f49e725a71fdb18127 /gnome-extra/cinnamon-settings-daemon | |
parent | New package, used by cinnamon-2.x (diff) | |
download | gentoo-2-2478a40ea0db12d3c7b5b1e604f57e34bf3e6533.tar.gz gentoo-2-2478a40ea0db12d3c7b5b1e604f57e34bf3e6533.tar.bz2 gentoo-2-2478a40ea0db12d3c7b5b1e604f57e34bf3e6533.zip |
New package, used by cinnamon-2.x
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
Diffstat (limited to 'gnome-extra/cinnamon-settings-daemon')
4 files changed, 175 insertions, 0 deletions
diff --git a/gnome-extra/cinnamon-settings-daemon/ChangeLog b/gnome-extra/cinnamon-settings-daemon/ChangeLog new file mode 100644 index 000000000000..660da2e46bca --- /dev/null +++ b/gnome-extra/cinnamon-settings-daemon/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for gnome-extra/cinnamon-settings-daemon +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-settings-daemon/ChangeLog,v 1.1 2014/05/06 03:08:29 tetromino Exp $ + +*cinnamon-settings-daemon-2.2.2 (06 May 2014) + + 06 May 2014; Alexandre Rostovtsev <tetromino@gentoo.org> + +cinnamon-settings-daemon-2.2.2.ebuild, + +files/cinnamon-settings-daemon-2.2.2-optional.patch, +metadata.xml: + New package, used by cinnamon-2.x + diff --git a/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-2.2.2.ebuild b/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-2.2.2.ebuild new file mode 100644 index 000000000000..3e49b4a08c97 --- /dev/null +++ b/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-2.2.2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-2.2.2.ebuild,v 1.1 2014/05/06 03:08:29 tetromino Exp $ + +EAPI="5" +GNOME2_LA_PUNT="yes" + +inherit autotools eutils gnome2 + +DESCRIPTION="Cinnamon's settings daemon" +HOMEPAGE="http://cinnamon.linuxmint.com/" +SRC_URI="https://github.com/linuxmint/cinnamon-settings-daemon/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+colord cups input_devices_wacom smartcard systemd" + +# udev is non-optional since lots of plugins, not just gudev, pull it in +RDEPEND=" + >=dev-libs/glib-2.38:2 + >=gnome-base/libgnomekbd-2.91.1 + >=gnome-base/librsvg-2.36.2 + >=gnome-extra/cinnamon-desktop-1.0:0= + media-libs/fontconfig + >=media-libs/lcms-2.2:2 + media-libs/libcanberra:0=[gtk3] + >=media-sound/pulseaudio-0.9.16:0= + sys-apps/dbus + >=sys-auth/polkit-0.97 + >=sys-power/upower-0.9.11 + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.7.8:3 + >=x11-libs/libnotify-0.7.3:0= + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libxklavier + virtual/udev[gudev] + + colord? ( >=x11-misc/colord-0.1.9:= ) + cups? ( >=net-print/cups-1.4[dbus] ) + input_devices_wacom? ( + >=dev-libs/libwacom-0.7 + x11-drivers/xf86-input-wacom + x11-libs/libXtst ) + smartcard? ( >=dev-libs/nss-3.11.2 ) + systemd? ( sys-apps/systemd:0= ) + !systemd? ( sys-auth/consolekit:0= ) +" +DEPEND="${RDEPEND} + dev-libs/libxml2:2 + >=dev-util/intltool-0.37.1 + x11-proto/kbproto + virtual/pkgconfig +" + +src_prepare() { + # make colord and wacom optional + epatch "${FILESDIR}/${PN}-2.2.2-optional.patch" + epatch_user + + eautoreconf + gnome2_src_prepare +} + +src_configure() { + DOCS="AUTHORS ChangeLog MAINTAINERS README" + + # no point in disabling gudev since other plugins pull it in + gnome2_src_configure \ + --disable-static \ + --enable-gudev \ + --enable-man \ + --enable-polkit \ + $(use_enable colord color) \ + $(use_enable cups) \ + $(use_enable smartcard smartcard-support) \ + $(use_enable systemd) \ + $(use_enable input_devices_wacom wacom) +} diff --git a/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-2.2.2-optional.patch b/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-2.2.2-optional.patch new file mode 100644 index 000000000000..318c9c0f68fa --- /dev/null +++ b/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-2.2.2-optional.patch @@ -0,0 +1,74 @@ +From 2f53841e23559581ff69a7549094ab8da5fab5c9 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Mon, 5 May 2014 21:50:25 -0400 +Subject: [PATCH] Make colord and wacom support optional and non-automagic + +--- + configure.ac | 19 ++++++++++++++++--- + plugins/Makefile.am | 7 ++++++- + 2 files changed, 22 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 22db541..10c18a2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -253,15 +253,28 @@ fi + dnl --------------------------------------------------------------------------- + dnl - color + dnl --------------------------------------------------------------------------- ++AC_ARG_ENABLE(color, ++ AS_HELP_STRING([--disable-color], [disable Colord support (default: enabled)]),, ++ enable_colord=yes) ++build_color=false ++if test x"$enable_cups" != x"no" ; then ++ PKG_CHECK_MODULES(COLOR, [colord >= 0.1.9 cinnamon-desktop >= $CINNAMON_DESKTOP_REQUIRED_VERSION libcanberra-gtk3]) ++ build_color=true ++fi + +-PKG_CHECK_MODULES(COLOR, [colord >= 0.1.9 cinnamon-desktop >= $CINNAMON_DESKTOP_REQUIRED_VERSION libcanberra-gtk3]) ++AM_CONDITIONAL(BUILD_COLOR, [test "x$build_color" = "xtrue"]) + + dnl --------------------------------------------------------------------------- + dnl - wacom + dnl --------------------------------------------------------------------------- ++AC_ARG_ENABLE(wacom, ++ AS_HELP_STRING([--disable-wacom], [disable Wacom support (default: auto)]),, ++ enable_wacom=auto) + build_wacom=false +-PKG_CHECK_MODULES(WACOM, [libwacom >= $LIBWACOM_REQUIRED_VERSION x11 xi xtst gudev-1.0 cinnamon-desktop xorg-wacom librsvg-2.0 >= $LIBRSVG_REQUIRED_VERSION gtk+-3.0 >= 3.8.0], +- [build_wacom="true" AC_DEFINE(HAVE_WACOM, 1, [Define if wacom is being build])], [build_wacom="false"]) ++if test x"$enable_wacom" != x"no" ; then ++ PKG_CHECK_MODULES(WACOM, [libwacom >= $LIBWACOM_REQUIRED_VERSION x11 xi xtst gudev-1.0 cinnamon-desktop xorg-wacom librsvg-2.0 >= $LIBRSVG_REQUIRED_VERSION gtk+-3.0 >= 3.8.0], ++ [build_wacom="true" AC_DEFINE(HAVE_WACOM, 1, [Define if wacom is being build])], [build_wacom="false"]) ++fi + + AM_CONDITIONAL(BUILD_WACOM, test "x$build_wacom" = "xtrue") + +diff --git a/plugins/Makefile.am b/plugins/Makefile.am +index 666bfef..2a7a4e1 100644 +--- a/plugins/Makefile.am ++++ b/plugins/Makefile.am +@@ -5,7 +5,6 @@ enabled_plugins = \ + a11y-settings \ + automount \ + clipboard \ +- color \ + cursor \ + dummy \ + datetime \ +@@ -22,6 +21,12 @@ enabled_plugins = \ + + disabled_plugins = $(NULL) + ++if BUILD_COLOR ++enabled_plugins += color ++else ++disabled_plugins += color ++endif ++ + if BUILD_WACOM + enabled_plugins += wacom + else +-- +1.9.2 + diff --git a/gnome-extra/cinnamon-settings-daemon/metadata.xml b/gnome-extra/cinnamon-settings-daemon/metadata.xml new file mode 100644 index 000000000000..390400f92b73 --- /dev/null +++ b/gnome-extra/cinnamon-settings-daemon/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</herd> +<use> + <flag name="colord">Support color management using <pkg>x11-misc/colord</pkg></flag> +</use> +</pkgmetadata> |