1 |
commit: 298768de7f47fad6f7e5bba856799bcdaadba965 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 24 21:17:17 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 24 22:42:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=298768de |
7 |
|
8 |
x11-misc/colord: Drop old versions |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
x11-misc/colord/Manifest | 1 - |
13 |
x11-misc/colord/colord-1.3.5.ebuild | 185 --------------------------------- |
14 |
x11-misc/colord/colord-1.4.5-r1.ebuild | 119 --------------------- |
15 |
x11-misc/colord/metadata.xml | 2 - |
16 |
4 files changed, 307 deletions(-) |
17 |
|
18 |
diff --git a/x11-misc/colord/Manifest b/x11-misc/colord/Manifest |
19 |
index b954e9b2b184..82082149fc57 100644 |
20 |
--- a/x11-misc/colord/Manifest |
21 |
+++ b/x11-misc/colord/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST colord-1.3.5.tar.xz 1263488 BLAKE2B de70f3f76e81d3cec826f444e4c6a1603c03b7d97fedcd04a0b9e1977d1e487d7e1327c8b2738b3cf74e9717fb6803d543786c749d3a244faa1a6480e77e3436 SHA512 a0084ad2c08ae88c8023b8bade68f6cf25e13c77a6a37ef127b2914e86b06e6a7a783f9ab3585243d975dbbe1120d5daae13bdb586aefe519bf675458683025f |
24 |
DIST colord-1.4.5.tar.xz 1869084 BLAKE2B 34c886bade6f71b0b81bbed216695d839873fba46423f6422b80ef2f62e88a403edd1686bb705ef78bcaeb352477e0581d784ccd388961cd42d880661b4b31ab SHA512 b6cc8087ceff4a99b7d764087208cc72e1219d9f6bb52bd3e3eb13bb62e3c1e99aefef36237dceff46925ab7680c76795f59057b7a4d1c8a123de6270708e03c |
25 |
|
26 |
diff --git a/x11-misc/colord/colord-1.3.5.ebuild b/x11-misc/colord/colord-1.3.5.ebuild |
27 |
deleted file mode 100644 |
28 |
index e8a2b5c59e3d..000000000000 |
29 |
--- a/x11-misc/colord/colord-1.3.5.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,185 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
-GNOME2_EAUTORECONF="yes" |
37 |
-VALA_USE_DEPEND="vapigen" |
38 |
- |
39 |
-inherit bash-completion-r1 check-reqs gnome2 systemd udev vala multilib-minimal toolchain-funcs |
40 |
- |
41 |
-DESCRIPTION="System service to accurately color manage input and output devices" |
42 |
-HOMEPAGE="https://www.freedesktop.org/software/colord/" |
43 |
-SRC_URI="https://www.freedesktop.org/software/colord/releases/${P}.tar.xz" |
44 |
- |
45 |
-LICENSE="GPL-2+" |
46 |
-SLOT="0/2" # subslot = libcolord soname version |
47 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86" |
48 |
- |
49 |
-# We prefer policykit enabled by default, bug #448058 |
50 |
-IUSE="argyllcms examples extra-print-profiles +gusb +introspection +policykit scanner systemd +udev vala" |
51 |
-REQUIRED_USE=" |
52 |
- gusb? ( udev ) |
53 |
- scanner? ( udev ) |
54 |
- vala? ( introspection ) |
55 |
-" |
56 |
- |
57 |
-DEPEND=" |
58 |
- dev-db/sqlite:3=[${MULTILIB_USEDEP}] |
59 |
- >=dev-libs/glib-2.44.0:2[${MULTILIB_USEDEP}] |
60 |
- >=media-libs/lcms-2.6:2=[${MULTILIB_USEDEP}] |
61 |
- argyllcms? ( media-gfx/argyllcms ) |
62 |
- gusb? ( >=dev-libs/libgusb-0.2.7[introspection?,${MULTILIB_USEDEP}] ) |
63 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.8:= ) |
64 |
- policykit? ( >=sys-auth/polkit-0.104 ) |
65 |
- scanner? ( |
66 |
- media-gfx/sane-backends |
67 |
- sys-apps/dbus |
68 |
- ) |
69 |
- systemd? ( >=sys-apps/systemd-44:0= ) |
70 |
- udev? ( |
71 |
- dev-libs/libgudev:=[${MULTILIB_USEDEP}] |
72 |
- virtual/libudev:=[${MULTILIB_USEDEP}] |
73 |
- virtual/udev |
74 |
- ) |
75 |
-" |
76 |
-RDEPEND="${DEPEND} |
77 |
- acct-group/colord |
78 |
- acct-user/colord |
79 |
- !<=media-gfx/colorhug-client-0.1.13 |
80 |
- !media-gfx/shared-color-profiles |
81 |
-" |
82 |
-BDEPEND=" |
83 |
- acct-group/colord |
84 |
- acct-user/colord |
85 |
- dev-libs/libxslt |
86 |
- >=dev-util/gtk-doc-am-1.9 |
87 |
- >=dev-util/intltool-0.35 |
88 |
- >=sys-devel/gettext-0.17 |
89 |
- virtual/pkgconfig |
90 |
- extra-print-profiles? ( media-gfx/argyllcms ) |
91 |
- vala? ( $(vala_depend) ) |
92 |
-" |
93 |
-# These dependencies are required to build native build-time programs. |
94 |
-BDEPEND="${BDEPEND} |
95 |
- dev-libs/glib:2 |
96 |
- media-libs/lcms |
97 |
-" |
98 |
- |
99 |
-# FIXME: needs pre-installed dbus service files |
100 |
-RESTRICT="test" |
101 |
- |
102 |
-# According to upstream comment in colord.spec.in, building the extra print |
103 |
-# profiles requires >=4G of memory |
104 |
-CHECKREQS_MEMORY="4G" |
105 |
- |
106 |
-pkg_pretend() { |
107 |
- use extra-print-profiles && check-reqs_pkg_pretend |
108 |
-} |
109 |
- |
110 |
-pkg_setup() { |
111 |
- use extra-print-profiles && check-reqs_pkg_setup |
112 |
-} |
113 |
- |
114 |
-src_prepare() { |
115 |
- # Adapt to Gentoo paths |
116 |
- sed -i -e 's/spotread/argyll-spotread/' \ |
117 |
- src/sensors/cd-sensor-argyll.c \ |
118 |
- configure.ac || die |
119 |
- |
120 |
- use vala && vala_src_prepare |
121 |
- gnome2_src_prepare |
122 |
- multilib_copy_sources |
123 |
-} |
124 |
- |
125 |
-multilib_src_configure() { |
126 |
- if multilib_is_native_abi && tc-is-cross-compiler; then |
127 |
- mkdir -p "${S}-native" |
128 |
- pushd "${S}-native" >/dev/null 2>&1 || die |
129 |
- ECONF_SOURCE="${S}" econf_build --enable-static \ |
130 |
- --disable-{argyllcms-sensor,print-profiles,shared,udev} \ |
131 |
- {BASH_COMPLETION,GUDEV,GUSB,POLKIT,SQLITE,UDEV}_{CFLAG,LIB}S=-DSKIP |
132 |
- popd >/dev/null 2>&1 || die |
133 |
- fi |
134 |
- |
135 |
- # Reverse tools require gusb |
136 |
- # bash-completion test does not work on gentoo |
137 |
- local myconf=( |
138 |
- --disable-bash-completion |
139 |
- --disable-examples |
140 |
- --disable-static |
141 |
- --enable-libcolordcompat |
142 |
- --with-daemon-user=colord |
143 |
- --localstatedir="${EPREFIX}"/var |
144 |
- $(multilib_native_use_enable argyllcms argyllcms-sensor) |
145 |
- $(multilib_native_use_enable extra-print-profiles print-profiles) |
146 |
- $(multilib_native_usex extra-print-profiles COLPROF="$(type -P argyll-colprof)" "") |
147 |
- $(use_enable gusb) |
148 |
- $(multilib_native_use_enable gusb reverse) |
149 |
- $(multilib_native_use_enable introspection) |
150 |
- $(multilib_native_use_enable policykit polkit) |
151 |
- $(multilib_native_use_enable scanner sane) |
152 |
- $(multilib_native_use_enable systemd systemd-login) |
153 |
- $(use_enable udev) |
154 |
- --with-udevrulesdir="$(get_udevdir)"/rules.d |
155 |
- $(multilib_native_use_enable vala) |
156 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
157 |
- ) |
158 |
- |
159 |
- ECONF_SOURCE=${S} \ |
160 |
- gnome2_src_configure "${myconf[@]}" |
161 |
-} |
162 |
- |
163 |
-multilib_src_compile() { |
164 |
- if multilib_is_native_abi; then |
165 |
- if tc-is-cross-compiler; then |
166 |
- emake -C "${S}-native/lib/colord" libcolord.la |
167 |
- emake -C "${S}-native/client" cd-create-profile cd-it8 |
168 |
- emake \ |
169 |
- CD_CREATE_PROFILE="${S}-native/client/cd-create-profile" \ |
170 |
- CD_IT8="${S}-native/client/cd-it8" |
171 |
- else |
172 |
- emake |
173 |
- fi |
174 |
- else |
175 |
- emake -C lib/colord |
176 |
- use gusb && emake -C lib/colorhug |
177 |
- emake -C lib/compat |
178 |
- fi |
179 |
-} |
180 |
- |
181 |
-multilib_src_test() { |
182 |
- if multilib_is_native_abi; then |
183 |
- default |
184 |
- else |
185 |
- emake -C lib/colord check |
186 |
- use gusb && emake -C lib/colorhug check |
187 |
- emake -C lib/compat check |
188 |
- fi |
189 |
-} |
190 |
- |
191 |
-multilib_src_install() { |
192 |
- if multilib_is_native_abi; then |
193 |
- gnome2_src_install |
194 |
- else |
195 |
- gnome2_src_install -j1 -C lib/colord |
196 |
- use gusb && gnome2_src_install -j1 -C lib/colorhug |
197 |
- gnome2_src_install -j1 -C lib/compat |
198 |
- gnome2_src_install -j1 -C contrib/session-helper install-libcolord_includeHEADERS |
199 |
- fi |
200 |
-} |
201 |
- |
202 |
-multilib_src_install_all() { |
203 |
- einstalldocs |
204 |
- |
205 |
- newbashcomp data/colormgr colormgr |
206 |
- |
207 |
- # Ensure config and profile directories exist and /var/lib/colord/* |
208 |
- # is writable by colord user |
209 |
- keepdir /var/lib/color{,d}/icc |
210 |
- fowners colord:colord /var/lib/colord{,/icc} |
211 |
- |
212 |
- if use examples; then |
213 |
- docinto examples |
214 |
- dodoc examples/*.c |
215 |
- fi |
216 |
-} |
217 |
|
218 |
diff --git a/x11-misc/colord/colord-1.4.5-r1.ebuild b/x11-misc/colord/colord-1.4.5-r1.ebuild |
219 |
deleted file mode 100644 |
220 |
index 53a2909463e1..000000000000 |
221 |
--- a/x11-misc/colord/colord-1.4.5-r1.ebuild |
222 |
+++ /dev/null |
223 |
@@ -1,119 +0,0 @@ |
224 |
-# Copyright 1999-2021 Gentoo Authors |
225 |
-# Distributed under the terms of the GNU General Public License v2 |
226 |
- |
227 |
-EAPI=7 |
228 |
-VALA_USE_DEPEND="vapigen" |
229 |
- |
230 |
-inherit bash-completion-r1 meson-multilib vala |
231 |
- |
232 |
-DESCRIPTION="System service to accurately color manage input and output devices" |
233 |
-HOMEPAGE="https://www.freedesktop.org/software/colord/" |
234 |
-SRC_URI="https://www.freedesktop.org/software/colord/releases/${P}.tar.xz" |
235 |
- |
236 |
-LICENSE="GPL-2+" |
237 |
-SLOT="0/2" # subslot = libcolord soname version |
238 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86" |
239 |
- |
240 |
-IUSE="gtk-doc argyllcms examples extra-print-profiles +introspection scanner systemd test +udev vala" |
241 |
-RESTRICT="!test? ( test ) test" # Tests try to read and write files in /tmp |
242 |
-REQUIRED_USE=" |
243 |
- scanner? ( udev ) |
244 |
- vala? ( introspection ) |
245 |
-" |
246 |
- |
247 |
-DEPEND=" |
248 |
- >=dev-libs/glib-2.58.0:2[${MULTILIB_USEDEP}] |
249 |
- >=media-libs/lcms-2.6:2=[${MULTILIB_USEDEP}] |
250 |
- dev-db/sqlite:3=[${MULTILIB_USEDEP}] |
251 |
- >=dev-libs/libgusb-0.2.7[introspection?,${MULTILIB_USEDEP}] |
252 |
- udev? ( |
253 |
- dev-libs/libgudev:=[${MULTILIB_USEDEP}] |
254 |
- virtual/libudev:=[${MULTILIB_USEDEP}] |
255 |
- virtual/udev |
256 |
- ) |
257 |
- systemd? ( >=sys-apps/systemd-44:0= ) |
258 |
- scanner? ( |
259 |
- media-gfx/sane-backends |
260 |
- sys-apps/dbus |
261 |
- ) |
262 |
- >=sys-auth/polkit-0.104 |
263 |
- argyllcms? ( media-gfx/argyllcms ) |
264 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.8:= ) |
265 |
-" |
266 |
-RDEPEND="${DEPEND} |
267 |
- acct-group/colord |
268 |
- acct-user/colord |
269 |
-" |
270 |
-BDEPEND=" |
271 |
- acct-group/colord |
272 |
- acct-user/colord |
273 |
- app-text/docbook-xsl-ns-stylesheets |
274 |
- dev-libs/libxslt |
275 |
- >=dev-util/intltool-0.35 |
276 |
- >=sys-devel/gettext-0.17 |
277 |
- virtual/pkgconfig |
278 |
- extra-print-profiles? ( media-gfx/argyllcms ) |
279 |
- vala? ( $(vala_depend) ) |
280 |
-" |
281 |
- |
282 |
-PATCHES=( |
283 |
- "${FILESDIR}"/${PV}-tests-Don-t-use-exact-floating-point-comparisons.patch |
284 |
- "${FILESDIR}"/${PV}-optional-introspection.patch |
285 |
-) |
286 |
- |
287 |
-src_prepare() { |
288 |
- default |
289 |
- use vala && vala_src_prepare |
290 |
- |
291 |
- # Test requires a running session |
292 |
- # https://github.com/hughsie/colord/issues/94 |
293 |
- sed -i -e "/test('colord-test-daemon'/d" lib/colord/meson.build || die |
294 |
- |
295 |
- # Adapt to Gentoo paths |
296 |
- sed -i \ |
297 |
- -e "s|find_program('spotread'|find_program('argyll-spotread'|" \ |
298 |
- -e "s|find_program('colprof'|find_program('argyll-colprof'|" \ |
299 |
- meson.build || die |
300 |
- |
301 |
- # meson gnome.generate_vapi properly handles VAPIGEN and other vala |
302 |
- # environment variables. It is counter-productive to check for an |
303 |
- # unversioned vapigen, as that breaks versioned VAPIGEN usages. |
304 |
- sed -i -e "/find_program('vapigen')/d" meson.build || die |
305 |
-} |
306 |
- |
307 |
-multilib_src_configure() { |
308 |
- local emesonargs=( |
309 |
- $(meson_native_true daemon) |
310 |
- -Dbash_completion=false |
311 |
- $(meson_use udev udev_rules) |
312 |
- $(meson_native_use_bool systemd) |
313 |
- -Dlibcolordcompat=true |
314 |
- $(meson_native_use_bool argyllcms argyllcms_sensor) |
315 |
- -Dreverse=false |
316 |
- $(meson_native_use_bool scanner sane) |
317 |
- $(meson_native_use_bool introspection) |
318 |
- $(meson_native_use_bool vala vapi) |
319 |
- $(meson_native_use_bool extra-print-profiles print_profiles) |
320 |
- $(meson_use test tests) |
321 |
- -Dinstalled_tests=false |
322 |
- -Ddaemon_user=colord |
323 |
- -Dman=true |
324 |
- $(meson_use gtk-doc docs) |
325 |
- --localstatedir="${EPREFIX}"/var |
326 |
- ) |
327 |
- meson_src_configure |
328 |
-} |
329 |
- |
330 |
-multilib_src_install_all() { |
331 |
- newbashcomp data/colormgr colormgr |
332 |
- |
333 |
- # Ensure config and profile directories exist and /var/lib/colord/* |
334 |
- # is writable by colord user |
335 |
- keepdir /var/lib/color{,d}/icc |
336 |
- fowners colord:colord /var/lib/colord{,/icc} |
337 |
- |
338 |
- if use examples; then |
339 |
- docinto examples |
340 |
- dodoc examples/*.c |
341 |
- fi |
342 |
-} |
343 |
|
344 |
diff --git a/x11-misc/colord/metadata.xml b/x11-misc/colord/metadata.xml |
345 |
index 70d3bf455086..d0fe4e35f081 100644 |
346 |
--- a/x11-misc/colord/metadata.xml |
347 |
+++ b/x11-misc/colord/metadata.xml |
348 |
@@ -9,7 +9,5 @@ |
349 |
<flag name="argyllcms">Enable ArgyllCMS sensor</flag> |
350 |
<flag name="extra-print-profiles">Generate extra print profiles. |
351 |
Warning: significant build time and memory requirements.</flag> |
352 |
- <flag name="gusb">Enable <pkg>dev-libs/libgusb</pkg> support, needed for |
353 |
- colorimeter drivers</flag> |
354 |
</use> |
355 |
</pkgmetadata> |