Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-color-manager/files/, gnome-extra/gnome-color-manager/
Date: Mon, 02 May 2011 22:34:55
Message-Id: ae54ab19ddd94ef75c7c510455618b633abc0635.eva@gentoo
1 commit: ae54ab19ddd94ef75c7c510455618b633abc0635
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 22:33:46 2011 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 22:33:58 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=ae54ab19
7
8 gnome-extra/gnome-color-manager: 2.32.0 → 3.0.0
9
10 ---
11 .../gnome-color-manager-3.0.0-packagename.patch | 13 ++++
12 .../gnome-color-manager-3.0.0.ebuild | 71 ++++++++++++++++++++
13 2 files changed, 84 insertions(+), 0 deletions(-)
14
15 diff --git a/gnome-extra/gnome-color-manager/files/gnome-color-manager-3.0.0-packagename.patch b/gnome-extra/gnome-color-manager/files/gnome-color-manager-3.0.0-packagename.patch
16 new file mode 100644
17 index 0000000..53ab593
18 --- /dev/null
19 +++ b/gnome-extra/gnome-color-manager/files/gnome-color-manager-3.0.0-packagename.patch
20 @@ -0,0 +1,13 @@
21 +diff --git a/src/cc-color-panel.c b/src/cc-color-panel.c
22 +index 34ce173..f4307cc 100644
23 +--- a/src/cc-color-panel.c
24 ++++ b/src/cc-color-panel.c
25 +@@ -2150,7 +2150,7 @@ cc_color_panel_is_color_profiles_extra_installed (CcColorPanel *panel)
26 + GError *error = NULL;
27 +
28 + #ifndef HAVE_PACKAGEKIT
29 +- g_warning ("cannot query %s: this package was not compiled with --enable-packagekit", package_name);
30 ++ g_warning ("cannot query %s: this package was not compiled with --enable-packagekit", GCM_PREFS_PACKAGE_NAME_COLOR_PROFILES_EXTRA);
31 + return;
32 + #endif
33 +
34
35 diff --git a/gnome-extra/gnome-color-manager/gnome-color-manager-3.0.0.ebuild b/gnome-extra/gnome-color-manager/gnome-color-manager-3.0.0.ebuild
36 new file mode 100644
37 index 0000000..e1e3861
38 --- /dev/null
39 +++ b/gnome-extra/gnome-color-manager/gnome-color-manager-3.0.0.ebuild
40 @@ -0,0 +1,71 @@
41 +# Copyright 1999-2011 Gentoo Foundation
42 +# Distributed under the terms of the GNU General Public License v2
43 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-color-manager/gnome-color-manager-2.32.0.ebuild,v 1.6 2011/03/23 06:10:42 ssuominen Exp $
44 +
45 +EAPI="3"
46 +GCONF_DEBUG="no"
47 +GNOME2_LA_PUNT="yes"
48 +
49 +inherit eutils gnome2
50 +
51 +DESCRIPTION="Color profile manager for the GNOME desktop"
52 +HOMEPAGE="http://projects.gnome.org/gnome-color-manager/"
53 +
54 +LICENSE="GPL-2"
55 +SLOT="0"
56 +KEYWORDS="~amd64 ~x86"
57 +IUSE="+introspection packagekit raw"
58 +
59 +# FIXME: raise libusb:1 to 1.0.9 when available
60 +# FIXME: fix detection of docbook2man
61 +RDEPEND=">=dev-libs/glib-2.25.9:2
62 + >=dev-libs/libusb-1:1
63 + >=gnome-base/gnome-control-center-3
64 + gnome-base/gnome-settings-daemon
65 +
66 + media-libs/lcms:2
67 + media-gfx/sane-backends
68 + >=media-libs/libcanberra-0.10[gtk3]
69 + media-libs/libexif
70 + media-libs/tiff
71 + net-print/cups
72 +
73 + sys-fs/udev[extras]
74 + x11-libs/libX11
75 + x11-libs/libXrandr
76 + >=x11-libs/gtk+-2.91:3
77 + >=x11-libs/libnotify-0.7
78 + >=x11-libs/vte-0.25.1:2.90
79 +
80 + introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
81 + packagekit? ( app-portage/packagekit )
82 + raw? ( media-gfx/exiv2 )
83 +"
84 +DEPEND="${RDEPEND}
85 + app-text/gnome-doc-utils
86 + dev-libs/libxslt
87 + >=dev-util/intltool-0.35
88 +"
89 +
90 +# FIXME: run test-suite with files on live file-system
91 +RESTRICT="test"
92 +
93 +pkg_setup() {
94 + # Always enable tests since they are check_PROGRAMS anyway
95 + G2CONF="${G2CONF}
96 + --disable-static
97 + --disable-schemas-compile
98 + --disable-scrollkeeper
99 + --enable-sane
100 + --enable-tests
101 + $(use_enable packagekit)
102 + $(use_enable introspection)
103 + $(use_enable raw exiv)"
104 +}
105 +
106 +src_prepare() {
107 + # Fix build
108 + epatch "${FILESDIR}/${P}-packagename.patch"
109 +
110 + gnome2_src_prepare
111 +}