1 |
commit: 07fda8151b11d904d0b90b82fb87904ab547256f |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 31 00:05:28 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 31 01:58:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07fda815 |
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/metadata.xml | 2 - |
15 |
3 files changed, 188 deletions(-) |
16 |
|
17 |
diff --git a/x11-misc/colord/Manifest b/x11-misc/colord/Manifest |
18 |
index b954e9b2b18..82082149fc5 100644 |
19 |
--- a/x11-misc/colord/Manifest |
20 |
+++ b/x11-misc/colord/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST colord-1.3.5.tar.xz 1263488 BLAKE2B de70f3f76e81d3cec826f444e4c6a1603c03b7d97fedcd04a0b9e1977d1e487d7e1327c8b2738b3cf74e9717fb6803d543786c749d3a244faa1a6480e77e3436 SHA512 a0084ad2c08ae88c8023b8bade68f6cf25e13c77a6a37ef127b2914e86b06e6a7a783f9ab3585243d975dbbe1120d5daae13bdb586aefe519bf675458683025f |
23 |
DIST colord-1.4.5.tar.xz 1869084 BLAKE2B 34c886bade6f71b0b81bbed216695d839873fba46423f6422b80ef2f62e88a403edd1686bb705ef78bcaeb352477e0581d784ccd388961cd42d880661b4b31ab SHA512 b6cc8087ceff4a99b7d764087208cc72e1219d9f6bb52bd3e3eb13bb62e3c1e99aefef36237dceff46925ab7680c76795f59057b7a4d1c8a123de6270708e03c |
24 |
|
25 |
diff --git a/x11-misc/colord/colord-1.3.5.ebuild b/x11-misc/colord/colord-1.3.5.ebuild |
26 |
deleted file mode 100644 |
27 |
index e8a2b5c59e3..00000000000 |
28 |
--- a/x11-misc/colord/colord-1.3.5.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,185 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
-GNOME2_EAUTORECONF="yes" |
36 |
-VALA_USE_DEPEND="vapigen" |
37 |
- |
38 |
-inherit bash-completion-r1 check-reqs gnome2 systemd udev vala multilib-minimal toolchain-funcs |
39 |
- |
40 |
-DESCRIPTION="System service to accurately color manage input and output devices" |
41 |
-HOMEPAGE="https://www.freedesktop.org/software/colord/" |
42 |
-SRC_URI="https://www.freedesktop.org/software/colord/releases/${P}.tar.xz" |
43 |
- |
44 |
-LICENSE="GPL-2+" |
45 |
-SLOT="0/2" # subslot = libcolord soname version |
46 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86" |
47 |
- |
48 |
-# We prefer policykit enabled by default, bug #448058 |
49 |
-IUSE="argyllcms examples extra-print-profiles +gusb +introspection +policykit scanner systemd +udev vala" |
50 |
-REQUIRED_USE=" |
51 |
- gusb? ( udev ) |
52 |
- scanner? ( udev ) |
53 |
- vala? ( introspection ) |
54 |
-" |
55 |
- |
56 |
-DEPEND=" |
57 |
- dev-db/sqlite:3=[${MULTILIB_USEDEP}] |
58 |
- >=dev-libs/glib-2.44.0:2[${MULTILIB_USEDEP}] |
59 |
- >=media-libs/lcms-2.6:2=[${MULTILIB_USEDEP}] |
60 |
- argyllcms? ( media-gfx/argyllcms ) |
61 |
- gusb? ( >=dev-libs/libgusb-0.2.7[introspection?,${MULTILIB_USEDEP}] ) |
62 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.8:= ) |
63 |
- policykit? ( >=sys-auth/polkit-0.104 ) |
64 |
- scanner? ( |
65 |
- media-gfx/sane-backends |
66 |
- sys-apps/dbus |
67 |
- ) |
68 |
- systemd? ( >=sys-apps/systemd-44:0= ) |
69 |
- udev? ( |
70 |
- dev-libs/libgudev:=[${MULTILIB_USEDEP}] |
71 |
- virtual/libudev:=[${MULTILIB_USEDEP}] |
72 |
- virtual/udev |
73 |
- ) |
74 |
-" |
75 |
-RDEPEND="${DEPEND} |
76 |
- acct-group/colord |
77 |
- acct-user/colord |
78 |
- !<=media-gfx/colorhug-client-0.1.13 |
79 |
- !media-gfx/shared-color-profiles |
80 |
-" |
81 |
-BDEPEND=" |
82 |
- acct-group/colord |
83 |
- acct-user/colord |
84 |
- dev-libs/libxslt |
85 |
- >=dev-util/gtk-doc-am-1.9 |
86 |
- >=dev-util/intltool-0.35 |
87 |
- >=sys-devel/gettext-0.17 |
88 |
- virtual/pkgconfig |
89 |
- extra-print-profiles? ( media-gfx/argyllcms ) |
90 |
- vala? ( $(vala_depend) ) |
91 |
-" |
92 |
-# These dependencies are required to build native build-time programs. |
93 |
-BDEPEND="${BDEPEND} |
94 |
- dev-libs/glib:2 |
95 |
- media-libs/lcms |
96 |
-" |
97 |
- |
98 |
-# FIXME: needs pre-installed dbus service files |
99 |
-RESTRICT="test" |
100 |
- |
101 |
-# According to upstream comment in colord.spec.in, building the extra print |
102 |
-# profiles requires >=4G of memory |
103 |
-CHECKREQS_MEMORY="4G" |
104 |
- |
105 |
-pkg_pretend() { |
106 |
- use extra-print-profiles && check-reqs_pkg_pretend |
107 |
-} |
108 |
- |
109 |
-pkg_setup() { |
110 |
- use extra-print-profiles && check-reqs_pkg_setup |
111 |
-} |
112 |
- |
113 |
-src_prepare() { |
114 |
- # Adapt to Gentoo paths |
115 |
- sed -i -e 's/spotread/argyll-spotread/' \ |
116 |
- src/sensors/cd-sensor-argyll.c \ |
117 |
- configure.ac || die |
118 |
- |
119 |
- use vala && vala_src_prepare |
120 |
- gnome2_src_prepare |
121 |
- multilib_copy_sources |
122 |
-} |
123 |
- |
124 |
-multilib_src_configure() { |
125 |
- if multilib_is_native_abi && tc-is-cross-compiler; then |
126 |
- mkdir -p "${S}-native" |
127 |
- pushd "${S}-native" >/dev/null 2>&1 || die |
128 |
- ECONF_SOURCE="${S}" econf_build --enable-static \ |
129 |
- --disable-{argyllcms-sensor,print-profiles,shared,udev} \ |
130 |
- {BASH_COMPLETION,GUDEV,GUSB,POLKIT,SQLITE,UDEV}_{CFLAG,LIB}S=-DSKIP |
131 |
- popd >/dev/null 2>&1 || die |
132 |
- fi |
133 |
- |
134 |
- # Reverse tools require gusb |
135 |
- # bash-completion test does not work on gentoo |
136 |
- local myconf=( |
137 |
- --disable-bash-completion |
138 |
- --disable-examples |
139 |
- --disable-static |
140 |
- --enable-libcolordcompat |
141 |
- --with-daemon-user=colord |
142 |
- --localstatedir="${EPREFIX}"/var |
143 |
- $(multilib_native_use_enable argyllcms argyllcms-sensor) |
144 |
- $(multilib_native_use_enable extra-print-profiles print-profiles) |
145 |
- $(multilib_native_usex extra-print-profiles COLPROF="$(type -P argyll-colprof)" "") |
146 |
- $(use_enable gusb) |
147 |
- $(multilib_native_use_enable gusb reverse) |
148 |
- $(multilib_native_use_enable introspection) |
149 |
- $(multilib_native_use_enable policykit polkit) |
150 |
- $(multilib_native_use_enable scanner sane) |
151 |
- $(multilib_native_use_enable systemd systemd-login) |
152 |
- $(use_enable udev) |
153 |
- --with-udevrulesdir="$(get_udevdir)"/rules.d |
154 |
- $(multilib_native_use_enable vala) |
155 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
156 |
- ) |
157 |
- |
158 |
- ECONF_SOURCE=${S} \ |
159 |
- gnome2_src_configure "${myconf[@]}" |
160 |
-} |
161 |
- |
162 |
-multilib_src_compile() { |
163 |
- if multilib_is_native_abi; then |
164 |
- if tc-is-cross-compiler; then |
165 |
- emake -C "${S}-native/lib/colord" libcolord.la |
166 |
- emake -C "${S}-native/client" cd-create-profile cd-it8 |
167 |
- emake \ |
168 |
- CD_CREATE_PROFILE="${S}-native/client/cd-create-profile" \ |
169 |
- CD_IT8="${S}-native/client/cd-it8" |
170 |
- else |
171 |
- emake |
172 |
- fi |
173 |
- else |
174 |
- emake -C lib/colord |
175 |
- use gusb && emake -C lib/colorhug |
176 |
- emake -C lib/compat |
177 |
- fi |
178 |
-} |
179 |
- |
180 |
-multilib_src_test() { |
181 |
- if multilib_is_native_abi; then |
182 |
- default |
183 |
- else |
184 |
- emake -C lib/colord check |
185 |
- use gusb && emake -C lib/colorhug check |
186 |
- emake -C lib/compat check |
187 |
- fi |
188 |
-} |
189 |
- |
190 |
-multilib_src_install() { |
191 |
- if multilib_is_native_abi; then |
192 |
- gnome2_src_install |
193 |
- else |
194 |
- gnome2_src_install -j1 -C lib/colord |
195 |
- use gusb && gnome2_src_install -j1 -C lib/colorhug |
196 |
- gnome2_src_install -j1 -C lib/compat |
197 |
- gnome2_src_install -j1 -C contrib/session-helper install-libcolord_includeHEADERS |
198 |
- fi |
199 |
-} |
200 |
- |
201 |
-multilib_src_install_all() { |
202 |
- einstalldocs |
203 |
- |
204 |
- newbashcomp data/colormgr colormgr |
205 |
- |
206 |
- # Ensure config and profile directories exist and /var/lib/colord/* |
207 |
- # is writable by colord user |
208 |
- keepdir /var/lib/color{,d}/icc |
209 |
- fowners colord:colord /var/lib/colord{,/icc} |
210 |
- |
211 |
- if use examples; then |
212 |
- docinto examples |
213 |
- dodoc examples/*.c |
214 |
- fi |
215 |
-} |
216 |
|
217 |
diff --git a/x11-misc/colord/metadata.xml b/x11-misc/colord/metadata.xml |
218 |
index 2ca10f47e35..5a2462430db 100644 |
219 |
--- a/x11-misc/colord/metadata.xml |
220 |
+++ b/x11-misc/colord/metadata.xml |
221 |
@@ -9,7 +9,5 @@ |
222 |
<flag name="argyllcms">Enable ArgyllCMS sensor</flag> |
223 |
<flag name="extra-print-profiles">Generate extra print profiles. |
224 |
Warning: significant build time and memory requirements.</flag> |
225 |
- <flag name="gusb">Enable <pkg>dev-libs/libgusb</pkg> support, needed for |
226 |
- colorimeter drivers</flag> |
227 |
</use> |
228 |
</pkgmetadata> |