Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/colord: colord-1.2.1-r1.ebuild ChangeLog
Date: Wed, 30 Jul 2014 04:03:50
Message-Id: 20140730040343.BE8462004E@flycatcher.gentoo.org
1 ssuominen 14/07/30 04:03:43
2
3 Modified: ChangeLog
4 Added: colord-1.2.1-r1.ebuild
5 Log:
6 Revision bump x11-misc/colord because dynamic deps doesn't catch virtual/udev[gudev] -> virtual/libgudev upgrade for this package.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.79 x11-misc/colord/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?rev=1.79&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?rev=1.79&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?r1=1.78&r2=1.79
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v
20 retrieving revision 1.78
21 retrieving revision 1.79
22 diff -u -r1.78 -r1.79
23 --- ChangeLog 24 Jul 2014 16:58:23 -0000 1.78
24 +++ ChangeLog 30 Jul 2014 04:03:43 -0000 1.79
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-misc/colord
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v 1.78 2014/07/24 16:58:23 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v 1.79 2014/07/30 04:03:43 ssuominen Exp $
30 +
31 +*colord-1.2.1-r1 (30 Jul 2014)
32 +
33 + 30 Jul 2014; Samuli Suominen <ssuominen@g.o> +colord-1.2.1-r1.ebuild:
34 + Revision bump x11-misc/colord because dynamic deps doesn't catch
35 + virtual/udev[gudev] -> virtual/libgudev upgrade for this package.
36
37 24 Jul 2014; Samuli Suominen <ssuominen@g.o> colord-1.0.3.ebuild,
38 colord-1.2.0.ebuild, colord-1.2.1.ebuild:
39
40
41
42 1.1 x11-misc/colord/colord-1.2.1-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/colord-1.2.1-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/colord-1.2.1-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: colord-1.2.1-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/colord-1.2.1-r1.ebuild,v 1.1 2014/07/30 04:03:43 ssuominen Exp $
52
53 EAPI="5"
54 GCONF_DEBUG="no"
55 GNOME2_LA_PUNT="yes"
56 VALA_USE_DEPEND="vapigen"
57 VALA_MIN_API_VERSION="0.18"
58
59 inherit bash-completion-r1 check-reqs eutils gnome2 user systemd udev vala
60
61 DESCRIPTION="System service to accurately color manage input and output devices"
62 HOMEPAGE="http://www.freedesktop.org/software/colord/"
63 SRC_URI="http://www.freedesktop.org/software/colord/releases/${P}.tar.xz"
64
65 LICENSE="GPL-2+"
66 SLOT="0/2" # subslot = libcolord soname version
67 KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
68
69 # We prefer policykit enabled by default, bug #448058
70 IUSE="examples extra-print-profiles +gusb +introspection +policykit scanner systemd +udev vala"
71 REQUIRED_USE="
72 gusb? ( udev )
73 scanner? ( udev )
74 vala? ( introspection )
75 "
76
77 COMMON_DEPEND="
78 dev-db/sqlite:3=
79 >=dev-libs/glib-2.36:2
80 >=media-libs/lcms-2.5:2=
81 gusb? ( >=dev-libs/libgusb-0.1.1[introspection?] )
82 introspection? ( >=dev-libs/gobject-introspection-0.9.8 )
83 policykit? ( >=sys-auth/polkit-0.103 )
84 scanner? ( media-gfx/sane-backends )
85 systemd? ( >=sys-apps/systemd-44:0= )
86 udev? (
87 virtual/udev
88 virtual/libgudev:=
89 virtual/libudev:=
90 )
91 "
92 RDEPEND="${COMMON_DEPEND}
93 !media-gfx/shared-color-profiles
94 "
95 DEPEND="${COMMON_DEPEND}
96 dev-libs/libxslt
97 >=dev-util/gtk-doc-am-1.9
98 >=dev-util/intltool-0.35
99 >=sys-devel/gettext-0.17
100 virtual/pkgconfig
101 extra-print-profiles? ( media-gfx/argyllcms )
102 vala? ( $(vala_depend) )
103 "
104
105 # FIXME: needs pre-installed dbus service files
106 RESTRICT="test"
107
108 # According to upstream comment in colord.spec.in, building the extra print
109 # profiles requires >=4G of memory
110 CHECKREQS_MEMORY="4G"
111
112 pkg_pretend() {
113 use extra-print-profiles && check-reqs_pkg_pretend
114 }
115
116 pkg_setup() {
117 use extra-print-profiles && check-reqs_pkg_setup
118 enewgroup colord
119 enewuser colord -1 -1 /var/lib/colord colord
120 }
121
122 src_prepare() {
123 use vala && vala_src_prepare
124 gnome2_src_prepare
125 }
126
127 src_configure() {
128 # Reverse tools require gusb
129 # bash-completion test does not work on gentoo
130 gnome2_src_configure \
131 --disable-bash-completion \
132 --disable-examples \
133 --disable-static \
134 --enable-libcolordcompat \
135 --with-daemon-user=colord \
136 --localstatedir="${EPREFIX}"/var \
137 $(use_enable extra-print-profiles print-profiles) \
138 $(usex extra-print-profiles COLPROF="$(type -P argyll-colprof)" "") \
139 $(use_enable gusb) \
140 $(use_enable gusb reverse) \
141 $(use_enable introspection) \
142 $(use_enable policykit polkit) \
143 $(use_enable scanner sane) \
144 $(use_enable systemd systemd-login) \
145 $(use_enable udev) \
146 --with-udevrulesdir="$(udev_get_udevdir)"/rules.d \
147 $(use_enable vala) \
148 "$(systemd_with_unitdir)"
149 }
150
151 src_install() {
152 DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README.md TODO"
153 gnome2_src_install
154
155 newbashcomp data/colormgr colormgr
156 rm -vr "${ED}etc/bash_completion.d"
157
158 # Ensure config and profile directories exist and /var/lib/colord/*
159 # is writable by colord user
160 keepdir /var/lib/color{,d}/icc
161 fowners colord:colord /var/lib/colord{,/icc}
162
163 if use examples; then
164 insinto /usr/share/doc/${PF}/examples
165 doins examples/*.c
166 fi
167 }