Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/colord: colord-1.2.3.ebuild ChangeLog
Date: Thu, 02 Oct 2014 10:01:29
Message-Id: 20141002100125.EDF966C17@oystercatcher.gentoo.org
1 pacho 14/10/02 10:01:25
2
3 Modified: ChangeLog
4 Added: colord-1.2.3.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.85 x11-misc/colord/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?rev=1.85&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?rev=1.85&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?r1=1.84&r2=1.85
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v
20 retrieving revision 1.84
21 retrieving revision 1.85
22 diff -u -r1.84 -r1.85
23 --- ChangeLog 7 Sep 2014 14:05:55 -0000 1.84
24 +++ ChangeLog 2 Oct 2014 10:01:25 -0000 1.85
25 @@ -1,6 +1,11 @@
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.84 2014/09/07 14:05:55 pacho Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v 1.85 2014/10/02 10:01:25 pacho Exp $
30 +
31 +*colord-1.2.3 (02 Oct 2014)
32 +
33 + 02 Oct 2014; Pacho Ramos <pacho@g.o> +colord-1.2.3.ebuild:
34 + Version bump
35
36 *colord-1.2.2 (07 Sep 2014)
37
38
39
40
41 1.1 x11-misc/colord/colord-1.2.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/colord-1.2.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/colord-1.2.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: colord-1.2.3.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/colord-1.2.3.ebuild,v 1.1 2014/10/02 10:01:25 pacho Exp $
51
52 EAPI="5"
53 GCONF_DEBUG="no"
54 GNOME2_LA_PUNT="yes"
55 VALA_USE_DEPEND="vapigen"
56 VALA_MIN_API_VERSION="0.18"
57
58 inherit bash-completion-r1 check-reqs eutils gnome2 user systemd udev vala
59
60 DESCRIPTION="System service to accurately color manage input and output devices"
61 HOMEPAGE="http://www.freedesktop.org/software/colord/"
62 SRC_URI="http://www.freedesktop.org/software/colord/releases/${P}.tar.xz"
63
64 LICENSE="GPL-2+"
65 SLOT="0/2" # subslot = libcolord soname version
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
67
68 # We prefer policykit enabled by default, bug #448058
69 IUSE="examples extra-print-profiles +gusb +introspection +policykit scanner systemd +udev vala"
70 REQUIRED_USE="
71 gusb? ( udev )
72 scanner? ( udev )
73 vala? ( introspection )
74 "
75
76 COMMON_DEPEND="
77 dev-db/sqlite:3=
78 >=dev-libs/glib-2.36:2
79 >=media-libs/lcms-2.6:2=
80 gusb? ( >=dev-libs/libgusb-0.1.1[introspection?] )
81 introspection? ( >=dev-libs/gobject-introspection-0.9.8 )
82 policykit? ( >=sys-auth/polkit-0.103 )
83 scanner? ( media-gfx/sane-backends )
84 systemd? ( >=sys-apps/systemd-44:0= )
85 udev? (
86 virtual/udev
87 virtual/libgudev:=
88 virtual/libudev:=
89 )
90 "
91 RDEPEND="${COMMON_DEPEND}
92 !media-gfx/shared-color-profiles
93 !<=media-gfx/colorhug-client-0.1.13
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="$(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 }