1 |
commit: 428009c4f7d1d375ee6997288934c2b4a4922dee |
2 |
Author: Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com> |
3 |
AuthorDate: Tue Dec 28 04:17:43 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 21 17:13:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=428009c4 |
7 |
|
8 |
gnome-extra/cinnamon-settings-daemon: Remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
gnome-extra/cinnamon-settings-daemon/Manifest | 1 - |
15 |
.../cinnamon-settings-daemon-4.8.5.ebuild | 101 --------------- |
16 |
...innamon-settings-daemon-4.8.5-build-fixes.patch | 140 --------------------- |
17 |
3 files changed, 242 deletions(-) |
18 |
|
19 |
diff --git a/gnome-extra/cinnamon-settings-daemon/Manifest b/gnome-extra/cinnamon-settings-daemon/Manifest |
20 |
index ac6f9ba8144e..46679822f1f0 100644 |
21 |
--- a/gnome-extra/cinnamon-settings-daemon/Manifest |
22 |
+++ b/gnome-extra/cinnamon-settings-daemon/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST cinnamon-settings-daemon-4.8.5.tar.gz 662123 BLAKE2B b3ddd72e55c10c2cacc6dd29145e381395bd2ef68db7082a0770bb3eb647964041ed023d4a8357f2adcf5e8c9f8f713bac837809ed5926cc0434c2dc3e5c90ad SHA512 4a1d128b3f6faf3e2c13420d3569d4fd8cfaa1798ba5cf83fcb692662b9888d22f9f4bfb6fe18af59d0632583a2730a07e3ab48cca12c357b2d318d205fd7d0a |
25 |
DIST cinnamon-settings-daemon-5.0.4.tar.gz 663647 BLAKE2B 459ca8b407291e7a84742b75a272a621d05ef1929ec76dd913af477629db862429165cec26a5985c75f81ce8eaddccc6b74cfa882106784bbfb40e015a21bab8 SHA512 861847fb238ae53fdb31c55ab7f8475f3cad9b48a5dd3611e5ea05129e16b44cc48b3ff5d38c2fdcc3669191f952bf194b6bcba80816fb4daee9e91d85b1c781 |
26 |
|
27 |
diff --git a/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-4.8.5.ebuild b/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-4.8.5.ebuild |
28 |
deleted file mode 100644 |
29 |
index f28af6802a1c..000000000000 |
30 |
--- a/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-4.8.5.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,101 +0,0 @@ |
33 |
-# Copyright 1999-2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
39 |
- |
40 |
-inherit meson gnome2-utils python-any-r1 xdg |
41 |
- |
42 |
-DESCRIPTION="Cinnamon's settings daemon" |
43 |
-HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-settings-daemon" |
44 |
-SRC_URI="https://github.com/linuxmint/cinnamon-settings-daemon/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="GPL-2+" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="amd64 ~arm64 x86" |
49 |
-IUSE="+colord cups input_devices_wacom smartcard systemd" |
50 |
- |
51 |
-RDEPEND=" |
52 |
- >=dev-libs/glib-2.40.0:2 |
53 |
- dev-libs/libgudev:= |
54 |
- >=gnome-base/libgnomekbd-3.6 |
55 |
- >=gnome-extra/cinnamon-desktop-4.8:0= |
56 |
- media-libs/fontconfig |
57 |
- >=media-libs/lcms-2.2:2 |
58 |
- media-libs/libcanberra:0=[gtk3,pulseaudio] |
59 |
- >=media-sound/pulseaudio-0.9.16[glib] |
60 |
- >=sys-apps/dbus-1.1.2 |
61 |
- dev-libs/dbus-glib |
62 |
- >=sys-auth/polkit-0.97 |
63 |
- x11-libs/gdk-pixbuf:2 |
64 |
- >=x11-libs/gtk+-3.14.0:3 |
65 |
- >=x11-libs/libnotify-0.7.3:0= |
66 |
- x11-libs/libX11 |
67 |
- x11-libs/libXext |
68 |
- x11-libs/libXfixes |
69 |
- x11-libs/libXi |
70 |
- >=x11-libs/libxklavier-5.0 |
71 |
- >=sys-power/upower-0.9.11 |
72 |
- |
73 |
- colord? ( >=x11-misc/colord-0.1.27:= ) |
74 |
- cups? ( |
75 |
- >=net-print/cups-1.4[dbus] |
76 |
- app-admin/system-config-printer |
77 |
- net-print/cups-pk-helper ) |
78 |
- input_devices_wacom? ( |
79 |
- >=dev-libs/libwacom-0.7 |
80 |
- >=gnome-base/librsvg-2.36.2 |
81 |
- x11-drivers/xf86-input-wacom |
82 |
- x11-libs/libXtst ) |
83 |
- smartcard? ( >=dev-libs/nss-3.11.2 ) |
84 |
- systemd? ( sys-apps/systemd:0= ) |
85 |
- !systemd? ( sys-auth/elogind:0= ) |
86 |
-" |
87 |
-DEPEND=" |
88 |
- ${RDEPEND} |
89 |
- dev-libs/libxml2:2 |
90 |
- x11-base/xorg-proto |
91 |
-" |
92 |
-BDEPEND=" |
93 |
- ${PYTHON_DEPS} |
94 |
- dev-util/glib-utils |
95 |
- dev-util/gdbus-codegen |
96 |
- >=dev-util/intltool-0.37.1 |
97 |
- virtual/pkgconfig |
98 |
-" |
99 |
- |
100 |
-PATCHES=( |
101 |
- # Miscellaneous meson configuration/compilation fixes |
102 |
- # https://github.com/linuxmint/cinnamon-settings-daemon/pull/314 |
103 |
- "${FILESDIR}/${PN}-4.8.5-build-fixes.patch" |
104 |
-) |
105 |
- |
106 |
-src_prepare() { |
107 |
- default |
108 |
- python_fix_shebang install-scripts |
109 |
-} |
110 |
- |
111 |
-src_configure() { |
112 |
- # gudev not optional on Linux platforms |
113 |
- local emesonargs=( |
114 |
- -Duse_gudev=enabled |
115 |
- -Duse_polkit=enabled |
116 |
- -Duse_logind=enabled |
117 |
- $(meson_feature colord use_color) |
118 |
- $(meson_feature cups use_cups) |
119 |
- $(meson_feature smartcard use_smartcard) |
120 |
- $(meson_feature input_devices_wacom use_wacom) |
121 |
- ) |
122 |
- meson_src_configure |
123 |
-} |
124 |
- |
125 |
-pkg_postinst() { |
126 |
- xdg_pkg_postinst |
127 |
- gnome2_schemas_update |
128 |
-} |
129 |
- |
130 |
-pkg_postrm() { |
131 |
- xdg_pkg_postrm |
132 |
- gnome2_schemas_update |
133 |
-} |
134 |
|
135 |
diff --git a/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-4.8.5-build-fixes.patch b/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-4.8.5-build-fixes.patch |
136 |
deleted file mode 100644 |
137 |
index f70d1e544e94..000000000000 |
138 |
--- a/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-4.8.5-build-fixes.patch |
139 |
+++ /dev/null |
140 |
@@ -1,140 +0,0 @@ |
141 |
-From 281bc6b8e0085a91b7e59af45469c4da397646c2 Mon Sep 17 00:00:00 2001 |
142 |
-From: Sparky Bluefang <sparky@××××××××××××××.com> |
143 |
-Date: Mon, 28 Dec 2020 17:05:21 -0500 |
144 |
-Subject: [PATCH] build: Add missing defines. Fix optional wacom build. Make |
145 |
- build options behave consistently. |
146 |
- |
147 |
---- |
148 |
- meson.build | 20 ++++++++++++-------- |
149 |
- meson_options.txt | 14 ++++++++++---- |
150 |
- plugins/meson.build | 2 +- |
151 |
- plugins/xrandr/meson.build | 1 + |
152 |
- 4 files changed, 24 insertions(+), 13 deletions(-) |
153 |
- |
154 |
-diff --git a/meson.build b/meson.build |
155 |
-index 0e11d50..0d6c35a 100644 |
156 |
---- a/meson.build |
157 |
-+++ b/meson.build |
158 |
-@@ -9,6 +9,7 @@ pkgname = meson.project_name().to_lower() |
159 |
- api_version = '3.0' |
160 |
- |
161 |
- cc = meson.get_compiler('c') |
162 |
-+cargs = [] |
163 |
- |
164 |
- # directories |
165 |
- prefix = get_option('prefix') |
166 |
-@@ -43,7 +44,7 @@ endif |
167 |
- cinnamon_desktop_required = '>= 4.8.0' |
168 |
- canberra = dependency('libcanberra-gtk3') |
169 |
- cinnamon_desktop = dependency('cinnamon-desktop', version: cinnamon_desktop_required) |
170 |
--colord = dependency('colord', version: '>= 0.1.27') |
171 |
-+colord = dependency('colord', version: '>= 0.1.27', required: get_option('use_color')) |
172 |
- cups = dependency('cups', version: '>= 1.4', required: get_option('use_cups')) |
173 |
- cvc = dependency('cvc', version: cinnamon_desktop_required) |
174 |
- fontconfig = dependency('fontconfig') |
175 |
-@@ -56,13 +57,13 @@ gtk = dependency('gtk+-3.0', version: '>= 3.14.0') |
176 |
- gudev = dependency('gudev-1.0', required: get_option('use_gudev')) |
177 |
- libnotify = dependency('libnotify', version: '>= 0.7.3') |
178 |
- kbproto = dependency('kbproto') |
179 |
--nss = dependency('nss', version: '>= 3.11.2', required: get_option('enable_smartcard')) |
180 |
-+nss = dependency('nss', version: '>= 3.11.2', required: get_option('use_smartcard')) |
181 |
- polkit = dependency('polkit-gobject-1', version: '>= 0.97', required: get_option('use_polkit')) |
182 |
- pulse_required = '>= 0.9.16' |
183 |
- pulse = dependency('libpulse', version: pulse_required) |
184 |
- pulse_glib = dependency('libpulse-mainloop-glib', version: pulse_required) |
185 |
- upower_glib = dependency('upower-glib', version: '>= 0.9.11') |
186 |
--wacom = dependency('libwacom', version: '>= 0.7', required: false) |
187 |
-+wacom = dependency('libwacom', version: '>= 0.7', required: get_option('use_wacom')) |
188 |
- x11 = dependency('x11') |
189 |
- xext = dependency('xext') |
190 |
- xfixes = dependency('xfixes') |
191 |
-@@ -80,13 +81,12 @@ librsvg = dependency('librsvg-2.0', version: '>= 2.36.2', required: wacom.found( |
192 |
- xorg_wacom = dependency('xorg-wacom', required: wacom.found()) |
193 |
- |
194 |
- lcms = dependency('lcms2', version: '>= 2.2', required: false) |
195 |
--has_new_lcms = lcms.found() |
196 |
--if not has_new_lcms |
197 |
-- lcms = dependency('lcms2') |
198 |
-+if lcms.found() |
199 |
-+ cargs += '-DHAVE_NEW_LCMS' |
200 |
-+else |
201 |
-+ lcms = dependency('lcms2', required: colord.found()) |
202 |
- endif |
203 |
- |
204 |
--cargs = [] |
205 |
-- |
206 |
- using_logind = false |
207 |
- if not get_option('use_logind').disabled() |
208 |
- logind = dependency('libsystemd-logind', required: false) |
209 |
-@@ -125,6 +125,10 @@ if gudev.found() |
210 |
- cargs += '-DHAVE_GUDEV' |
211 |
- endif |
212 |
- |
213 |
-+if wacom.found() |
214 |
-+ cargs += '-DHAVE_WACOM' |
215 |
-+endif |
216 |
-+ |
217 |
- if not get_option('enable_debug') |
218 |
- cargs += [ |
219 |
- '-Wno-deprecated-declarations', |
220 |
-diff --git a/meson_options.txt b/meson_options.txt |
221 |
-index 0a6941b..e3c89f3 100644 |
222 |
---- a/meson_options.txt |
223 |
-+++ b/meson_options.txt |
224 |
-@@ -35,20 +35,26 @@ option( |
225 |
- description: 'Whether cups (and therefore the print notifications plugin) support should be enabled' |
226 |
- ) |
227 |
- option( |
228 |
-- 'enable_smartcard', |
229 |
-+ 'use_smartcard', |
230 |
- type: 'feature', |
231 |
- value: 'enabled', |
232 |
- description: 'Set to false to disable smartcard support' |
233 |
- ) |
234 |
- option( |
235 |
- 'use_color', |
236 |
-- type: 'boolean', |
237 |
-- value: true, |
238 |
-+ type: 'feature', |
239 |
-+ value: 'enabled', |
240 |
- description: 'Whether the color plugin should be enabled' |
241 |
- ) |
242 |
-+option( |
243 |
-+ 'use_wacom', |
244 |
-+ type: 'feature', |
245 |
-+ value: 'auto', |
246 |
-+ description: 'Whether the wacom plugin should be enabled' |
247 |
-+) |
248 |
- option( |
249 |
- 'enable_debug', |
250 |
- type: 'boolean', |
251 |
- value: false, |
252 |
- description: 'Show additional build warnings' |
253 |
--) |
254 |
-\ No newline at end of file |
255 |
-+) |
256 |
-diff --git a/plugins/meson.build b/plugins/meson.build |
257 |
-index 0d11a52..069366d 100644 |
258 |
---- a/plugins/meson.build |
259 |
-+++ b/plugins/meson.build |
260 |
-@@ -24,7 +24,7 @@ subdir('sound') |
261 |
- subdir('xrandr') |
262 |
- subdir('xsettings') |
263 |
- |
264 |
--if get_option('use_color') |
265 |
-+if colord.found() |
266 |
- subdir('color') |
267 |
- endif |
268 |
- |
269 |
-diff --git a/plugins/xrandr/meson.build b/plugins/xrandr/meson.build |
270 |
-index db2bf73..3296f1a 100644 |
271 |
---- a/plugins/xrandr/meson.build |
272 |
-+++ b/plugins/xrandr/meson.build |
273 |
-@@ -11,6 +11,7 @@ xrandr_deps = [ |
274 |
- csd_dep, |
275 |
- libnotify, |
276 |
- upower_glib, |
277 |
-+ wacom, |
278 |
- xfixes, |
279 |
- ] |
280 |
- |