Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/cinnamon-settings-daemon/files/, ...
Date: Sat, 25 Jun 2016 16:53:31
Message-Id: 1466871994.7eb357e5a42ea85e176d10f6a2087b26b09153ed.pacho@gentoo
1 commit: 7eb357e5a42ea85e176d10f6a2087b26b09153ed
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 15:49:29 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 16:26:34 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eb357e5
7
8 gnome-extra/cinnamon-settings-daemon: Version bump
9
10 Package-Manager: portage-2.3.0_rc1
11
12 gnome-extra/cinnamon-settings-daemon/Manifest | 1 +
13 .../cinnamon-settings-daemon-3.0.1.ebuild | 89 ++++++++++++++++++++++
14 .../cinnamon-settings-daemon-3.0.1-optional.patch | 84 ++++++++++++++++++++
15 3 files changed, 174 insertions(+)
16
17 diff --git a/gnome-extra/cinnamon-settings-daemon/Manifest b/gnome-extra/cinnamon-settings-daemon/Manifest
18 index c2e5758..5139189 100644
19 --- a/gnome-extra/cinnamon-settings-daemon/Manifest
20 +++ b/gnome-extra/cinnamon-settings-daemon/Manifest
21 @@ -1,2 +1,3 @@
22 DIST cinnamon-settings-daemon-2.8.3.tar.gz 2935149 SHA256 bc04333674ee10886b6c2644bd74c21ce6d3f6f1e005ebce63693cb14bb1a298 SHA512 a66ab0943f4a370fb203ba73dfa9f938ab2fc418c7876b7a048fc438ed8eaef3f5f7789ce86c0c2039ed61473c1b3fb9c60205571140291448854c03cba36f76 WHIRLPOOL 93ecc021ffa76a493d65fcd001253da6ebbd2c8f92be716f4d0de0df53867fb24177a6f31027611586e965d1e378a8b53662dd3c5a73df026d13d3a7fd5ae080
23 DIST cinnamon-settings-daemon-2.8.4.tar.gz 2935478 SHA256 2f7e8764a842d9b4f21c1e6d5321e4101720f1600462b5452d14a061b608c584 SHA512 fab449efdfe4f12d17d61299b9c264d0bd70d88811406da68eab48943dbcd75ef3a87551eba653660efc4006c45f7eaa59d9ac3616a6da6808d35e59dd0a6d7f WHIRLPOOL bcdd93d53352d649f81a43730f4116508ad24379ba5e5c46a1dc9b867a653b9172b50b78b06450159f4e785bab8e2a604f172d2553dd949d693c358695ba4f17
24 +DIST cinnamon-settings-daemon-3.0.1.tar.gz 2912459 SHA256 0abe839e04a36a052bb486f90e84c25ae6ccc92b74223813d9666eaac257677b SHA512 848f1bc38e84edf9a8af48e55b7581881fbc9920dce9a4fc38627456dea7cbfe330bebba4bb46d1c231dd85bd3445d365b5e415485ac202e72335fe337a800e8 WHIRLPOOL 91b5b0455c2dcde8868eb8e1adf52229e3dd94fb4c4842d537b89e1c72cd8f8f54af854765c62eb382015b8f3299400f21a9034974440ce9b7d305be4ffb82fb
25
26 diff --git a/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-3.0.1.ebuild b/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-3.0.1.ebuild
27 new file mode 100644
28 index 0000000..f87a78d
29 --- /dev/null
30 +++ b/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-3.0.1.ebuild
31 @@ -0,0 +1,89 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +GNOME2_LA_PUNT="yes"
38 +
39 +inherit autotools eutils gnome2 virtualx
40 +
41 +DESCRIPTION="Cinnamon's settings daemon"
42 +HOMEPAGE="http://cinnamon.linuxmint.com/"
43 +SRC_URI="https://github.com/linuxmint/cinnamon-settings-daemon/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="GPL-2+"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="+colord cups input_devices_wacom smartcard systemd"
49 +
50 +# udev is non-optional since lots of plugins, not just gudev, pull it in
51 +RDEPEND="
52 + >=dev-libs/glib-2.38:2
53 + >=gnome-base/libgnomekbd-3.6
54 + >=gnome-base/librsvg-2.36.2
55 + >=gnome-extra/cinnamon-desktop-2.8.0:0=
56 + media-libs/fontconfig
57 + >=media-libs/lcms-2.2:2
58 + media-libs/libcanberra:0=[gtk3]
59 + sys-apps/dbus
60 + >=sys-auth/polkit-0.97
61 + x11-libs/gdk-pixbuf:2
62 + >=x11-libs/gtk+-3.9.10:3
63 + >=x11-libs/libnotify-0.7.3:0=
64 + x11-libs/libX11
65 + x11-libs/libXext
66 + x11-libs/libXfixes
67 + x11-libs/libXi
68 + x11-libs/libxklavier
69 + virtual/libgudev:=
70 +
71 + colord? ( >=x11-misc/colord-0.1.27:= )
72 + cups? ( >=net-print/cups-1.4[dbus] )
73 + input_devices_wacom? (
74 + >=dev-libs/libwacom-0.7
75 + x11-drivers/xf86-input-wacom
76 + x11-libs/libXtst )
77 + smartcard? ( >=dev-libs/nss-3.11.2 )
78 + systemd? (
79 + sys-apps/systemd:0=
80 + >=sys-power/upower-0.9.11:= )
81 + !systemd? (
82 + sys-auth/consolekit:0=
83 + || ( >=sys-power/upower-0.9.11 sys-power/upower-pm-utils ) )
84 +"
85 +DEPEND="${RDEPEND}
86 + dev-libs/libxml2:2
87 + >=dev-util/intltool-0.37.1
88 + x11-proto/kbproto
89 + virtual/pkgconfig
90 +"
91 +
92 +src_prepare() {
93 + # make colord and wacom optional
94 + eapply "${FILESDIR}"/${PN}-3.0.1-optional.patch
95 +
96 + # Disable broken test
97 + sed -e '/g_test_add_func ("\/color\/edid/d' \
98 + -i plugins/color/gcm-self-test.c || die
99 +
100 + eautoreconf
101 + gnome2_src_prepare
102 +}
103 +
104 +src_configure() {
105 + # no point in disabling gudev since other plugins pull it in
106 + gnome2_src_configure \
107 + --disable-static \
108 + --enable-gudev \
109 + --enable-man \
110 + --enable-polkit \
111 + $(use_enable colord color) \
112 + $(use_enable cups) \
113 + $(use_enable smartcard smartcard-support) \
114 + $(use_enable systemd logind) \
115 + $(use_enable input_devices_wacom wacom)
116 +}
117 +
118 +src_test() {
119 + virtx emake check
120 +}
121
122 diff --git a/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-3.0.1-optional.patch b/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-3.0.1-optional.patch
123 new file mode 100644
124 index 0000000..c12d763
125 --- /dev/null
126 +++ b/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-3.0.1-optional.patch
127 @@ -0,0 +1,84 @@
128 +--- a/configure.ac~ 2016-05-10 17:30:40.000000000 +0200
129 ++++ b/configure.ac 2016-06-25 17:43:46.554279197 +0200
130 +@@ -259,14 +259,28 @@
131 + dnl - color
132 + dnl ---------------------------------------------------------------------------
133 +
134 +-PKG_CHECK_MODULES(COLOR, [colord >= 0.1.27 cinnamon-desktop >= $CINNAMON_DESKTOP_REQUIRED_VERSION libcanberra-gtk3])
135 ++AC_ARG_ENABLE(color,
136 ++ AS_HELP_STRING([--disable-color], [disable Colord support (default: enabled)]),,
137 ++ enable_color=yes)
138 ++build_color=false
139 ++if test x"$enable_color" != x"no" ; then
140 ++ PKG_CHECK_MODULES(COLOR, [colord >= 0.1.27 cinnamon-desktop >= $CINNAMON_DESKTOP_REQUIRED_VERSION libcanberra-gtk3])
141 ++ build_color=true
142 ++fi
143 ++
144 ++AM_CONDITIONAL(BUILD_COLOR, [test "x$build_color" = "xtrue"])
145 +
146 + dnl ---------------------------------------------------------------------------
147 + dnl - wacom
148 + dnl ---------------------------------------------------------------------------
149 ++AC_ARG_ENABLE(wacom,
150 ++ AS_HELP_STRING([--disable-wacom], [disable Wacom support (default: auto)]),,
151 ++ enable_wacom=auto)
152 + build_wacom=false
153 +-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],
154 +- [build_wacom="true" AC_DEFINE(HAVE_WACOM, 1, [Define if wacom is being build])], [build_wacom="false"])
155 ++if test x"$enable_wacom" != x"no" ; then
156 ++ 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],
157 ++ [build_wacom="true" AC_DEFINE(HAVE_WACOM, 1, [Define if wacom is being build])], [build_wacom="false"])
158 ++fi
159 +
160 + AM_CONDITIONAL(BUILD_WACOM, test "x$build_wacom" = "xtrue")
161 +
162 +@@ -372,9 +386,15 @@
163 + dnl Check for logind
164 + dnl ====================================================================
165 +
166 +-PKG_CHECK_MODULES(LOGIND, [libsystemd-login], [have_logind=yes], [
167 +- PKG_CHECK_MODULES(LOGIND, [libsystemd], [have_logind=yes], [have_logind=no])
168 +-])
169 ++AC_ARG_ENABLE([logind],
170 ++ AS_HELP_STRING([--disable-logind], [Do not check for logind]),
171 ++ [enable_logind=$enableval],
172 ++ [enable_logind=auto])
173 ++
174 ++have_logind=no
175 ++if test x$enable_logind != xno ; then
176 ++ PKG_CHECK_MODULES(LOGIND, [libsystemd-login], [have_logind=yes], [have_logind=no])
177 ++fi
178 +
179 + if test x$have_logind = xyes; then
180 + AC_DEFINE(HAVE_LOGIND, 1, [Define if logind is supported])
181 +@@ -595,6 +615,7 @@
182 + LCMS DICT support: ${have_new_lcms}
183 + Libnotify support: ${have_libnotify}
184 +
185 ++ Colord support: ${build_color}
186 + Wacom support: ${build_wacom}
187 +
188 + Smartcard support: ${have_smartcard_support}
189 +--- a/plugins/Makefile.am~ 2016-05-10 17:30:40.000000000 +0200
190 ++++ b/plugins/Makefile.am 2016-06-25 17:44:30.021307677 +0200
191 +@@ -6,7 +6,6 @@
192 + automount \
193 + background \
194 + clipboard \
195 +- color \
196 + cursor \
197 + dummy \
198 + datetime \
199 +@@ -23,6 +22,12 @@
200 +
201 + disabled_plugins = $(NULL)
202 +
203 ++if BUILD_COLOR
204 ++enabled_plugins += color
205 ++else
206 ++disabled_plugins += color
207 ++endif
208 ++
209 + if BUILD_WACOM
210 + enabled_plugins += wacom
211 + else