1 |
commit: d8f3c3d0c88f7e62c52e86e7654cb0ba4fc64b1d |
2 |
Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Sep 28 21:17:17 2011 +0000 |
4 |
Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Sep 28 21:17:17 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=d8f3c3d0 |
7 |
|
8 |
x11-imisc/colord: 0.1.12 is in gx86 |
9 |
|
10 |
--- |
11 |
x11-misc/colord/colord-0.1.12.ebuild | 135 ---------------------------------- |
12 |
1 files changed, 0 insertions(+), 135 deletions(-) |
13 |
|
14 |
diff --git a/x11-misc/colord/colord-0.1.12.ebuild b/x11-misc/colord/colord-0.1.12.ebuild |
15 |
deleted file mode 100644 |
16 |
index 34b74ca..0000000 |
17 |
--- a/x11-misc/colord/colord-0.1.12.ebuild |
18 |
+++ /dev/null |
19 |
@@ -1,135 +0,0 @@ |
20 |
-# Copyright 1999-2011 Gentoo Foundation |
21 |
-# Distributed under the terms of the GNU General Public License v2 |
22 |
-# $Header: $ |
23 |
- |
24 |
-EAPI="4" |
25 |
- |
26 |
-inherit eutils base |
27 |
-if [[ ${PV} = 9999 ]]; then |
28 |
- GCONF_DEBUG="no" |
29 |
- inherit gnome2-live # need all the hacks from gnome2-live_src_prepare |
30 |
-fi |
31 |
- |
32 |
-DESCRIPTION="System service to accurately color manage input and output devices" |
33 |
-HOMEPAGE="http://www.freedesktop.org/software/colord/" |
34 |
-if [[ ${PV} = 9999 ]]; then |
35 |
- EGIT_REPO_URI="git://gitorious.org/colord/master.git" |
36 |
-else |
37 |
- SRC_URI="http://www.freedesktop.org/software/colord/releases/${P}.tar.xz" |
38 |
-fi |
39 |
- |
40 |
-LICENSE="GPL-2" |
41 |
-SLOT="0" |
42 |
-if [[ ${PV} = 9999 ]]; then |
43 |
- KEYWORDS="" |
44 |
-else |
45 |
- KEYWORDS="~amd64 ~x86" |
46 |
-fi |
47 |
-IUSE="doc examples +introspection scanner +udev" |
48 |
- |
49 |
-# XXX: raise to libusb-1.0.9:1 when available |
50 |
-COMMON_DEPEND=" |
51 |
- dev-db/sqlite:3 |
52 |
- >=dev-libs/glib-2.28.0:2 |
53 |
- >=dev-libs/libusb-1.0.8:1 |
54 |
- >=media-libs/lcms-2.2:2 |
55 |
- >=sys-auth/polkit-0.97 |
56 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.8 ) |
57 |
- scanner? ( media-gfx/sane-backends ) |
58 |
- udev? ( || ( sys-fs/udev[gudev] sys-fs/udev[extras] ) ) |
59 |
-" |
60 |
-RDEPEND="${COMMON_DEPEND} |
61 |
- media-gfx/shared-color-profiles" |
62 |
-# XXX: automagic build-time vala dependency if USE=introspection |
63 |
-DEPEND="${COMMON_DEPEND} |
64 |
- app-text/docbook-sgml-utils |
65 |
- dev-libs/libxslt |
66 |
- >=dev-util/intltool-0.35 |
67 |
- dev-util/pkgconfig |
68 |
- >=sys-devel/gettext-0.17 |
69 |
- doc? ( |
70 |
- app-text/docbook-xml-dtd:4.1.2 |
71 |
- >=dev-util/gtk-doc-1.9 |
72 |
- ) |
73 |
- introspection? ( dev-lang/vala:0.12 ) |
74 |
-" |
75 |
- |
76 |
-# FIXME: needs pre-installed dbus service files |
77 |
-RESTRICT="test" |
78 |
- |
79 |
-DOCS=(AUTHORS ChangeLog MAINTAINERS NEWS README TODO) |
80 |
- |
81 |
-pkg_setup() { |
82 |
- enewgroup colord |
83 |
- enewuser colord -1 -1 /var/lib/colord colord |
84 |
-} |
85 |
- |
86 |
-src_configure() { |
87 |
- econf \ |
88 |
- --disable-examples \ |
89 |
- --disable-static \ |
90 |
- --enable-polkit \ |
91 |
- --enable-reverse \ |
92 |
- --disable-volume-search \ |
93 |
- --with-daemon-user=colord \ |
94 |
- --localstatedir="${EPREFIX}"/var \ |
95 |
- $(use_enable doc gtk-doc) \ |
96 |
- $(use_enable introspection) \ |
97 |
- $(use_enable scanner sane) \ |
98 |
- $(use_enable udev gudev) \ |
99 |
- VAPIGEN=$(type -p vapigen-0.12) |
100 |
- # parallel make fails in doc/api |
101 |
- use doc && MAKEOPTS=-j1 |
102 |
-} |
103 |
- |
104 |
-src_install() { |
105 |
- base_src_install |
106 |
- |
107 |
- # Ensure config and profile directories exist and are writable |
108 |
- local d |
109 |
- for d in /var/lib/{color,colord}; do |
110 |
- keepdir "${d}" |
111 |
- fowners colord:colord "${d}" |
112 |
- done |
113 |
- |
114 |
- # additional documentation files not included in tarball releases |
115 |
- [[ ${PV} = 9999 ]] && use doc && dodoc doc/*.txt doc/*.svg |
116 |
- |
117 |
- if use examples; then |
118 |
- insinto /usr/share/doc/${PF}/examples |
119 |
- doins examples/*.c |
120 |
- fi |
121 |
- |
122 |
- find "${D}" -name "*.la" -delete || die |
123 |
-} |
124 |
- |
125 |
-pkg_postinst() { |
126 |
- # <=colord-0.1.11 ran as root and used /var/lib/lib/colord to store |
127 |
- # configuration files and /var/lib/lib/color for custom color profiles. |
128 |
- local old_dir="${EROOT}var/lib/lib/colord" |
129 |
- local new_dir="${EROOT}var/lib/colord" |
130 |
- |
131 |
- if [[ -e "${old_dir}/mapping.db" || -e "${old_dir}/storage.db" ]] && \ |
132 |
- ! [[ -e "${new_dir}/mapping.db" || -e "${new_dir}/storage.db" ]]; then |
133 |
- elog "Old colord configuration files are present in ${old_dir}. If you" |
134 |
- elog "are upgrading from colord-0.1.11 or older and had previously" |
135 |
- elog "customized your color management settings, you will need to copy" |
136 |
- elog "these files to ${new_dir} and then change the file ownership" |
137 |
- elog "to colord:colord :" |
138 |
- elog |
139 |
- elog " # cp ${old_dir}/*.db ${new_dir}" |
140 |
- elog " # chown colord:colord ${new_dir}/*.db" |
141 |
- elog |
142 |
- fi |
143 |
- old_dir="${EROOT}var/lib/lib/color" |
144 |
- new_dir="${EROOT}var/lib/color" |
145 |
- if [[ -e "${old_dir}/icc" && ! -e "${new_dir}/icc" ]]; then |
146 |
- elog "Old custom color profiles are present in ${old_dir}. If you are" |
147 |
- elog "upgrading from colord-0.1.11 or older, you will need to copy them" |
148 |
- elog "to ${new_dir} and then change the ownership to colord:colord :" |
149 |
- elog |
150 |
- elog " # cp -r ${old_dir}/icc ${new_dir}" |
151 |
- elog " # chown -R colord:colord ${new_dir}/icc" |
152 |
- elog |
153 |
- fi |
154 |
-} |