1 |
commit: 0a86a60b478f31b585276b61baebf6a19b4d540a |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 24 12:22:36 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 24 12:22:36 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=0a86a60b |
7 |
|
8 |
x11-misc/colord: remove outdated live ebuild |
9 |
|
10 |
Upstream uses meson now and it's hosted elsewhere than the ebuild had |
11 |
as repo location. |
12 |
|
13 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
14 |
|
15 |
x11-misc/colord/colord-9999.ebuild | 152 ------------------------------------- |
16 |
x11-misc/colord/metadata.xml | 15 ---- |
17 |
2 files changed, 167 deletions(-) |
18 |
|
19 |
diff --git a/x11-misc/colord/colord-9999.ebuild b/x11-misc/colord/colord-9999.ebuild |
20 |
deleted file mode 100644 |
21 |
index ac125cb8..00000000 |
22 |
--- a/x11-misc/colord/colord-9999.ebuild |
23 |
+++ /dev/null |
24 |
@@ -1,152 +0,0 @@ |
25 |
-# Copyright 1999-2015 Gentoo Foundation |
26 |
-# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Id$ |
28 |
- |
29 |
-EAPI="5" |
30 |
-GCONF_DEBUG="no" |
31 |
-GNOME2_LA_PUNT="yes" |
32 |
-VALA_USE_DEPEND="vapigen" |
33 |
-VALA_MIN_API_VERSION="0.18" |
34 |
- |
35 |
-inherit bash-completion-r1 check-reqs eutils gnome2 user systemd udev vala |
36 |
-if [[ ${PV} = 9999 ]]; then |
37 |
- GCONF_DEBUG="no" |
38 |
- inherit gnome2-live # need all the hacks from gnome2-live_src_prepare |
39 |
-fi |
40 |
- |
41 |
-DESCRIPTION="System service to accurately color manage input and output devices" |
42 |
-HOMEPAGE="http://www.freedesktop.org/software/colord/" |
43 |
-if [[ ${PV} = 9999 ]]; then |
44 |
- EGIT_REPO_URI="git://gitorious.org/colord/master.git" |
45 |
-else |
46 |
- SRC_URI="http://www.freedesktop.org/software/colord/releases/${P}.tar.xz" |
47 |
-fi |
48 |
- |
49 |
-LICENSE="GPL-2+" |
50 |
-SLOT="0/2" # subslot = libcolord soname version |
51 |
- |
52 |
-# We prefer policykit enabled by default, bug #448058 |
53 |
-IUSE="examples extra-print-profiles +gusb +introspection +policykit scanner systemd +udev vala" |
54 |
-REQUIRED_USE=" |
55 |
- gusb? ( udev ) |
56 |
- scanner? ( udev ) |
57 |
- vala? ( introspection ) |
58 |
-" |
59 |
-if [[ ${PV} = 9999 ]]; then |
60 |
- KEYWORDS="" |
61 |
- IUSE="${IUSE} doc" |
62 |
-else |
63 |
- KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
64 |
-fi |
65 |
- |
66 |
-COMMON_DEPEND=" |
67 |
- dev-db/sqlite:3= |
68 |
- >=dev-libs/glib-2.36:2 |
69 |
- >=media-libs/lcms-2.6:2= |
70 |
- gusb? ( >=dev-libs/libgusb-0.1.1[introspection?] ) |
71 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.8 ) |
72 |
- policykit? ( >=sys-auth/polkit-0.103 ) |
73 |
- scanner? ( media-gfx/sane-backends ) |
74 |
- systemd? ( >=sys-apps/systemd-44:0= ) |
75 |
- udev? ( |
76 |
- virtual/udev |
77 |
- virtual/libgudev:= |
78 |
- virtual/libudev:= |
79 |
- ) |
80 |
-" |
81 |
-RDEPEND="${COMMON_DEPEND} |
82 |
- !media-gfx/shared-color-profiles |
83 |
- !<=media-gfx/colorhug-client-0.1.13 |
84 |
-" |
85 |
-DEPEND="${COMMON_DEPEND} |
86 |
- dev-libs/libxslt |
87 |
- >=dev-util/gtk-doc-am-1.9 |
88 |
- >=dev-util/intltool-0.35 |
89 |
- >=sys-devel/gettext-0.17 |
90 |
- virtual/pkgconfig |
91 |
- extra-print-profiles? ( media-gfx/argyllcms ) |
92 |
- vala? ( $(vala_depend) ) |
93 |
-" |
94 |
-if [[ ${PV} =~ 9999 ]]; then |
95 |
- # Needed for generating man pages, not needed for tarballs |
96 |
- DEPEND="${DEPEND} |
97 |
- app-text/docbook-sgml-utils |
98 |
- doc? ( |
99 |
- app-text/docbook-xml-dtd:4.1.2 |
100 |
- >=dev-util/gtk-doc-1.9 )" |
101 |
-fi |
102 |
- |
103 |
-# FIXME: needs pre-installed dbus service files |
104 |
-RESTRICT="test" |
105 |
- |
106 |
-# According to upstream comment in colord.spec.in, building the extra print |
107 |
-# profiles requires >=4G of memory |
108 |
-CHECKREQS_MEMORY="4G" |
109 |
- |
110 |
-pkg_pretend() { |
111 |
- use extra-print-profiles && check-reqs_pkg_pretend |
112 |
-} |
113 |
- |
114 |
-pkg_setup() { |
115 |
- use extra-print-profiles && check-reqs_pkg_setup |
116 |
- enewgroup colord |
117 |
- enewuser colord -1 -1 /var/lib/colord colord |
118 |
-} |
119 |
- |
120 |
-src_prepare() { |
121 |
- # Adapt to Gentoo paths |
122 |
- sed -i -e 's/spotread/argyll-spotread/' src/sensors/cd-sensor-argyll.c || die |
123 |
- |
124 |
- use vala && vala_src_prepare |
125 |
- gnome2_src_prepare |
126 |
-} |
127 |
- |
128 |
-src_configure() { |
129 |
- local myconf="" |
130 |
- [[ ${PV} = 9999 ]] && myconf="${myconf} $(use_enable doc gtk-doc)" |
131 |
- # Reverse tools require gusb |
132 |
- # bash-completion test does not work on gentoo |
133 |
- gnome2_src_configure \ |
134 |
- --disable-bash-completion \ |
135 |
- --disable-examples \ |
136 |
- --disable-static \ |
137 |
- --enable-libcolordcompat \ |
138 |
- --with-daemon-user=colord \ |
139 |
- --localstatedir="${EPREFIX}"/var \ |
140 |
- $(use_enable extra-print-profiles print-profiles) \ |
141 |
- $(usex extra-print-profiles COLPROF="$(type -P argyll-colprof)" "") \ |
142 |
- $(use_enable gusb) \ |
143 |
- $(use_enable gusb reverse) \ |
144 |
- $(use_enable introspection) \ |
145 |
- $(use_enable policykit polkit) \ |
146 |
- $(use_enable scanner sane) \ |
147 |
- $(use_enable systemd systemd-login) \ |
148 |
- $(use_enable udev) \ |
149 |
- --with-udevrulesdir="$(get_udevdir)"/rules.d \ |
150 |
- $(use_enable vala) \ |
151 |
- "$(systemd_with_unitdir)" \ |
152 |
- ${myconf} |
153 |
- |
154 |
- if [[ ${PV} = 9999 ]]; then |
155 |
- # parallel make fails in doc/api |
156 |
- use doc && MAKEOPTS="${MAKEOPTS} -j1" |
157 |
- fi |
158 |
-} |
159 |
- |
160 |
-src_install() { |
161 |
- DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README.md TODO" |
162 |
- gnome2_src_install |
163 |
- |
164 |
- newbashcomp data/colormgr colormgr |
165 |
- rm -vr "${ED}etc/bash_completion.d" |
166 |
- |
167 |
- # Ensure config and profile directories exist and /var/lib/colord/* |
168 |
- # is writable by colord user |
169 |
- keepdir /var/lib/color{,d}/icc |
170 |
- fowners colord:colord /var/lib/colord{,/icc} |
171 |
- |
172 |
- if use examples; then |
173 |
- insinto /usr/share/doc/${PF}/examples |
174 |
- doins examples/*.c |
175 |
- fi |
176 |
-} |
177 |
|
178 |
diff --git a/x11-misc/colord/metadata.xml b/x11-misc/colord/metadata.xml |
179 |
deleted file mode 100644 |
180 |
index 2ca10f47..00000000 |
181 |
--- a/x11-misc/colord/metadata.xml |
182 |
+++ /dev/null |
183 |
@@ -1,15 +0,0 @@ |
184 |
-<?xml version="1.0" encoding="UTF-8"?> |
185 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
186 |
-<pkgmetadata> |
187 |
- <maintainer type="project"> |
188 |
- <email>gnome@g.o</email> |
189 |
- <name>Gentoo GNOME Desktop</name> |
190 |
- </maintainer> |
191 |
- <use> |
192 |
- <flag name="argyllcms">Enable ArgyllCMS sensor</flag> |
193 |
- <flag name="extra-print-profiles">Generate extra print profiles. |
194 |
- Warning: significant build time and memory requirements.</flag> |
195 |
- <flag name="gusb">Enable <pkg>dev-libs/libgusb</pkg> support, needed for |
196 |
- colorimeter drivers</flag> |
197 |
- </use> |
198 |
-</pkgmetadata> |