Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-color-manager/, gnome-extra/gnome-color-manager/files/
Date: Tue, 20 Nov 2018 10:52:39
Message-Id: 1542711146.a4a7ed3424bef25c191325dae5dc1420a09e92af.eva@gentoo
1 commit: a4a7ed3424bef25c191325dae5dc1420a09e92af
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 20 10:47:56 2018 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 20 10:52:26 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a7ed34
7
8 gnome-extra/gnome-color-manager: 3.24.0 → 3.30.0
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.12
11 Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org>
12
13 gnome-extra/gnome-color-manager/Manifest | 1 +
14 .../files/3.28-remove-unwvanted-check.patch | 24 +++++++
15 .../gnome-color-manager-3.30.0.ebuild | 82 ++++++++++++++++++++++
16 3 files changed, 107 insertions(+)
17
18 diff --git a/gnome-extra/gnome-color-manager/Manifest b/gnome-extra/gnome-color-manager/Manifest
19 index 1d4960ae725..0bf1d30ff2d 100644
20 --- a/gnome-extra/gnome-color-manager/Manifest
21 +++ b/gnome-extra/gnome-color-manager/Manifest
22 @@ -1 +1,2 @@
23 DIST gnome-color-manager-3.24.0.tar.xz 2857120 BLAKE2B c73c3718f77517a41fc74c12347101c57b9939101b2c816cc6390185fb0b21f87d16ed30b17a94f7bd03e28abb4bd5f5d411c086d350659f6686cfffb7e88cf2 SHA512 e145caf4e885ea6e9c4ee5a5b4d800d70af338e26d3bfcda81e20c6144e36d0581638d07099302d30787d6d30e9d58f2b8373f6585ae3788df825d6d24f5b003
24 +DIST gnome-color-manager-3.30.0.tar.xz 2611088 BLAKE2B 2bbed2184d2c7afa9c4c4cd88470df3350f7deb2d776863dcd18ad6253538f1daee5f6397c598af8bdf1ce720980ede9280891139a9366edaffde3672d64b47a SHA512 ec28179f1089317b5a1920757e81b6126ab42a087831a92cd47174ddfbe6093fa868747c2a1d1d70c23f3fb87bc1b839627160407bf85c936ab0a3b125932ccc
25
26 diff --git a/gnome-extra/gnome-color-manager/files/3.28-remove-unwvanted-check.patch b/gnome-extra/gnome-color-manager/files/3.28-remove-unwvanted-check.patch
27 new file mode 100644
28 index 00000000000..a9d3ad465a6
29 --- /dev/null
30 +++ b/gnome-extra/gnome-color-manager/files/3.28-remove-unwvanted-check.patch
31 @@ -0,0 +1,24 @@
32 +From 534eed4f8664c9f263d666ed78144c37dc05bf90 Mon Sep 17 00:00:00 2001
33 +From: Gilles Dartiguelongue <eva@g.o>
34 +Date: Sun, 27 May 2018 19:27:51 +0200
35 +Subject: [PATCH] Fix unwanted exiv check in packagekit option handling
36 +
37 +---
38 + meson.build | 1 -
39 + 1 file changed, 1 deletion(-)
40 +
41 +diff --git a/meson.build b/meson.build
42 +index 9e179fb..08a0f79 100644
43 +--- a/meson.build
44 ++++ b/meson.build
45 +@@ -108,7 +108,6 @@ if get_option('exiv')
46 + endif
47 +
48 + if get_option('packagekit')
49 +- libexiv = dependency('exiv2')
50 + conf.set('HAVE_PACKAGEKIT', '1')
51 + endif
52 +
53 +--
54 +2.19.1
55 +
56
57 diff --git a/gnome-extra/gnome-color-manager/gnome-color-manager-3.30.0.ebuild b/gnome-extra/gnome-color-manager/gnome-color-manager-3.30.0.ebuild
58 new file mode 100644
59 index 00000000000..96714fa094c
60 --- /dev/null
61 +++ b/gnome-extra/gnome-color-manager/gnome-color-manager-3.30.0.ebuild
62 @@ -0,0 +1,82 @@
63 +# Copyright 1999-2018 Gentoo Authors
64 +# Distributed under the terms of the GNU General Public License v2
65 +
66 +EAPI=6
67 +inherit gnome.org gnome2-utils meson virtualx xdg
68 +
69 +DESCRIPTION="Color profile manager for the GNOME desktop"
70 +HOMEPAGE="https://git.gnome.org/browse/gnome-color-manager"
71 +
72 +LICENSE="GPL-2+"
73 +SLOT="0"
74 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
75 +IUSE="packagekit raw test"
76 +
77 +# Need gtk+-3.3.8 for https://bugzilla.gnome.org/show_bug.cgi?id=673331
78 +# vte could be made optional
79 +RDEPEND="
80 + >=dev-libs/glib-2.31.10:2
81 + >=media-libs/lcms-2.2:2
82 + >=media-libs/libcanberra-0.10[gtk3]
83 + media-libs/libexif
84 + media-libs/tiff:0=
85 +
86 + >=x11-libs/gtk+-3.3.8:3
87 + >=x11-libs/vte-0.25.1:2.91
88 + >=x11-misc/colord-1.3.1:0=
89 + >=x11-libs/colord-gtk-0.1.20
90 +
91 + packagekit? ( app-admin/packagekit-base )
92 + raw? ( media-gfx/exiv2:0= )
93 +"
94 +# docbook-sgml-{utils,dtd:4.1} needed to generate man pages
95 +DEPEND="${RDEPEND}
96 + app-text/docbook-sgml-dtd:4.1
97 + app-text/docbook-sgml-utils
98 + dev-libs/appstream-glib
99 + dev-util/itstool
100 + >=sys-devel/gettext-0.19.8
101 + virtual/pkgconfig
102 +"
103 +
104 +PATCHES=(
105 + # https://bugzilla.gnome.org/show_bug.cgi?id=796428
106 + "${FILESDIR}"/3.28-remove-unwvanted-check.patch
107 +)
108 +
109 +src_prepare() {
110 + xdg_src_prepare
111 +
112 + # Fix hard-coded package name
113 + # https://gitlab.gnome.org/GNOME/gnome-color-manager/issues/3
114 + sed 's:argyllcms:media-gfx/argyllcms:' src/gcm-utils.h || die
115 +}
116 +
117 +src_configure() {
118 + # Always enable tests since they are check_PROGRAMS anyway
119 + local emesonargs=(
120 + $(meson_use raw exiv)
121 + $(meson_use packagekit)
122 + $(meson_use test tests)
123 + )
124 + meson_src_configure
125 +}
126 +
127 +src_test() {
128 + virtx meson_src_test
129 +}
130 +
131 +pkg_postinst() {
132 + xdg_pkg_postinst
133 + gnome2_icon_cache_update
134 +
135 + if ! has_version media-gfx/argyllcms ; then
136 + elog "If you want to do display or scanner calibration, you will need to"
137 + elog "install media-gfx/argyllcms"
138 + fi
139 +}
140 +
141 +pkg_postrm() {
142 + xdg_pkg_postrm
143 + gnome2_icon_cache_update
144 +}