Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/colord/
Date: Sat, 26 Nov 2016 21:50:26
Message-Id: 1480197012.edf981ca531864a338b4ab5d778b2512ffdbb8d3.polynomial-c@gentoo
1 commit: edf981ca531864a338b4ab5d778b2512ffdbb8d3
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 26 21:46:54 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 26 21:50:12 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edf981ca
7
8 x11-misc/colord: Removed old.
9
10 Package-Manager: portage-2.3.2
11
12 x11-misc/colord/Manifest | 1 -
13 x11-misc/colord/colord-1.3.2.ebuild | 162 ------------------------------------
14 2 files changed, 163 deletions(-)
15
16 diff --git a/x11-misc/colord/Manifest b/x11-misc/colord/Manifest
17 index 0c9bc22..f78d960 100644
18 --- a/x11-misc/colord/Manifest
19 +++ b/x11-misc/colord/Manifest
20 @@ -1,4 +1,3 @@
21 DIST colord-1.2.12.tar.xz 1214992 SHA256 d5241864c16a37f9e40d38d5009255456495a67f170ce0dc9250774442d68c3a SHA512 5ce8f4fd10b92ec0cb54a05017ab050753381663a43e40d959606bb5f71ddce5456a3d67f8ce0538a2c945136834c66615f3615fdfb3e1eaaf5f5ca7a9e9c4eb WHIRLPOOL 5b04acfc8de34758252f0215371f75b9ccab8f80194a9624d6b4c3651929266032f3e9e1e05b48fb82572891e93d6082739c022b2624978b0f8ece7e323e1b48
22 -DIST colord-1.3.2.tar.xz 1235968 SHA256 d4ab3f11ec5e98d1079242fda7ad0a84a51da93572405561362a6ce2c274b8f5 SHA512 c45780a70ce71009536a2ed51fc0b063b81d31e6168e8ce42a5d0b0d2bcf596558aa909ae247b12d6d92c1cdeb3fd0d69ea497ca1dc4717bce90eb87c2dfafeb WHIRLPOOL 473365bd595d3f425a678f0b11dc198592206fdcb4781e1bd3454a3c6d5c645c145ee3f39ebaa7844b3ac56e200d758f98434f8655f260e2b6bfa81c6c2db9c7
23 DIST colord-1.3.3.tar.xz 1240104 SHA256 d1848e797106a036b0d6ebed99a789a6ae07d60f1d9cc59be5b257efe7ec31a4 SHA512 12ebeec00e5a5fd43fbcd97cb2cd725f300843b3c12559fbf0d41f50fc4a80e89c1b5814502c60d92b09a3fb5b0ada9c76a723f89640262a511448085199fb8d WHIRLPOOL 18385812f9fc1f0dcf54c447ba82bf67eececbeda1f1aa15b1fe6792bc1ff1fd8787f9af31530119765518cd20633c4b2574b4d37eb44638ad02a3944b8390d1
24 DIST colord-1.3.4.tar.xz 1259256 SHA256 7e79ba022148900da7c72033f8232eefeab8373da25768f4b32f5aeba53b2238 SHA512 5556cc12cc72bceefd075274a1734b884e88b1a0777f7efde15118cf5d1597aa12c44680bc814dd230f39f39c9ea2dd309bc79170b19ca782488b90cda631937 WHIRLPOOL 3a74fb4a04d959efbda0d180747a90d4dcf10d2e4492d561d70e2c9316868c2c5d899b8e9fe9aab93476e4a58b4f6ab0269d7286061ec67f5ea9efb9240b4626
25
26 diff --git a/x11-misc/colord/colord-1.3.2.ebuild b/x11-misc/colord/colord-1.3.2.ebuild
27 deleted file mode 100644
28 index 055a3c9..00000000
29 --- a/x11-misc/colord/colord-1.3.2.ebuild
30 +++ /dev/null
31 @@ -1,162 +0,0 @@
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 -VALA_USE_DEPEND="vapigen"
39 -
40 -inherit autotools bash-completion-r1 check-reqs gnome2 user systemd udev vala multilib-minimal
41 -
42 -DESCRIPTION="System service to accurately color manage input and output devices"
43 -HOMEPAGE="https://www.freedesktop.org/software/colord/"
44 -SRC_URI="https://www.freedesktop.org/software/colord/releases/${P}.tar.xz"
45 -
46 -LICENSE="GPL-2+"
47 -SLOT="0/2" # subslot = libcolord soname version
48 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
49 -
50 -# We prefer policykit enabled by default, bug #448058
51 -IUSE="argyllcms examples extra-print-profiles +gusb +introspection +policykit scanner systemd +udev vala"
52 -REQUIRED_USE="
53 - gusb? ( udev )
54 - scanner? ( udev )
55 - vala? ( introspection )
56 -"
57 -
58 -COMMON_DEPEND="
59 - dev-db/sqlite:3=[${MULTILIB_USEDEP}]
60 - >=dev-libs/glib-2.44.0:2[${MULTILIB_USEDEP}]
61 - >=media-libs/lcms-2.6:2=[${MULTILIB_USEDEP}]
62 - argyllcms? ( media-gfx/argyllcms )
63 - gusb? ( >=dev-libs/libgusb-0.2.7[introspection?,${MULTILIB_USEDEP}] )
64 - introspection? ( >=dev-libs/gobject-introspection-0.9.8:= )
65 - policykit? ( >=sys-auth/polkit-0.103 )
66 - scanner? (
67 - media-gfx/sane-backends
68 - sys-apps/dbus )
69 - systemd? ( >=sys-apps/systemd-44:0= )
70 - udev? (
71 - virtual/udev
72 - virtual/libgudev:=[${MULTILIB_USEDEP}]
73 - virtual/libudev:=[${MULTILIB_USEDEP}]
74 - )
75 -"
76 -RDEPEND="${COMMON_DEPEND}
77 - !media-gfx/shared-color-profiles
78 - !<=media-gfx/colorhug-client-0.1.13
79 -"
80 -DEPEND="${COMMON_DEPEND}
81 - dev-libs/libxslt
82 - >=dev-util/gtk-doc-am-1.9
83 - >=dev-util/intltool-0.35
84 - >=sys-devel/gettext-0.17
85 - virtual/pkgconfig[${MULTILIB_USEDEP}]
86 - extra-print-profiles? ( media-gfx/argyllcms )
87 - vala? ( $(vala_depend) )
88 -"
89 -
90 -# FIXME: needs pre-installed dbus service files
91 -RESTRICT="test"
92 -
93 -# According to upstream comment in colord.spec.in, building the extra print
94 -# profiles requires >=4G of memory
95 -CHECKREQS_MEMORY="4G"
96 -
97 -pkg_pretend() {
98 - use extra-print-profiles && check-reqs_pkg_pretend
99 -}
100 -
101 -pkg_setup() {
102 - use extra-print-profiles && check-reqs_pkg_setup
103 - enewgroup colord
104 - enewuser colord -1 -1 /var/lib/colord colord
105 -}
106 -
107 -src_prepare() {
108 - # Adapt to Gentoo paths
109 - sed -i -e 's/spotread/argyll-spotread/' \
110 - src/sensors/cd-sensor-argyll.c \
111 - configure.ac || die
112 -
113 - eautoreconf
114 - use vala && vala_src_prepare
115 - gnome2_src_prepare
116 - multilib_copy_sources
117 -}
118 -
119 -multilib_src_configure() {
120 - # Reverse tools require gusb
121 - # bash-completion test does not work on gentoo
122 - local myconf=(
123 - --disable-bash-completion
124 - --disable-examples
125 - --disable-static
126 - --enable-libcolordcompat
127 - --with-daemon-user=colord
128 - --localstatedir="${EPREFIX}"/var
129 - $(multilib_native_use_enable argyllcms argyllcms-sensor)
130 - $(multilib_native_use_enable extra-print-profiles print-profiles)
131 - $(multilib_native_usex extra-print-profiles COLPROF="$(type -P argyll-colprof)" "")
132 - $(use_enable gusb)
133 - $(multilib_native_use_enable gusb reverse)
134 - $(multilib_native_use_enable introspection)
135 - $(multilib_native_use_enable policykit polkit)
136 - $(multilib_native_use_enable scanner sane)
137 - $(multilib_native_use_enable systemd systemd-login)
138 - $(use_enable udev)
139 - --with-udevrulesdir="$(get_udevdir)"/rules.d
140 - $(multilib_native_use_enable vala)
141 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
142 - )
143 -
144 - ECONF_SOURCE=${S} \
145 - gnome2_src_configure "${myconf[@]}"
146 -}
147 -
148 -multilib_src_compile() {
149 - if multilib_is_native_abi; then
150 - gnome2_src_compile
151 - else
152 - emake -C lib/colord
153 - use gusb && emake -C lib/colorhug
154 - emake -C lib/compat
155 - fi
156 -}
157 -
158 -multilib_src_test() {
159 - if multilib_is_native_abi; then
160 - default
161 - else
162 - emake -C lib/colord check
163 - use gusb && emake -C lib/colorhug check
164 - emake -C lib/compat check
165 - fi
166 -}
167 -
168 -multilib_src_install() {
169 - if multilib_is_native_abi; then
170 - gnome2_src_install
171 - else
172 - gnome2_src_install -j1 -C lib/colord
173 - use gusb && gnome2_src_install -j1 -C lib/colorhug
174 - gnome2_src_install -j1 -C lib/compat
175 - gnome2_src_install -j1 -C contrib/session-helper install-libcolord_includeHEADERS
176 - fi
177 -}
178 -
179 -multilib_src_install_all() {
180 - einstalldocs
181 -
182 - newbashcomp data/colormgr colormgr
183 -
184 - # Ensure config and profile directories exist and /var/lib/colord/*
185 - # is writable by colord user
186 - keepdir /var/lib/color{,d}/icc
187 - fowners colord:colord /var/lib/colord{,/icc}
188 -
189 - if use examples; then
190 - docinto examples
191 - dodoc examples/*.c
192 - fi
193 -}