summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-03-14 03:46:32 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-03-14 03:46:32 +0000
commit0d465608fdd0fe2c6d0003c894766e9370e0d7c2 (patch)
tree2f27cd74f7b260e870252c2ccd7da49f03206508 /gnome-extra
parentAdd missing dependency: kde-base/kdelibs and x11-libs/qt-assistant. Bug #405577 (diff)
downloadhistorical-0d465608fdd0fe2c6d0003c894766e9370e0d7c2.tar.gz
historical-0d465608fdd0fe2c6d0003c894766e9370e0d7c2.tar.bz2
historical-0d465608fdd0fe2c6d0003c894766e9370e0d7c2.zip
Fix the argyll-dispcal patch so it works properly (bug #407319).
Package-Manager: portage-2.2.0_alpha90/cvs/Linux x86_64
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-color-manager/ChangeLog9
-rw-r--r--gnome-extra/gnome-color-manager/Manifest12
-rw-r--r--gnome-extra/gnome-color-manager/files/gnome-color-manager-3.2.2-argyll-prefix.patch90
-rw-r--r--gnome-extra/gnome-color-manager/gnome-color-manager-3.2.2-r2.ebuild (renamed from gnome-extra/gnome-color-manager/gnome-color-manager-3.2.2-r1.ebuild)5
4 files changed, 99 insertions, 17 deletions
diff --git a/gnome-extra/gnome-color-manager/ChangeLog b/gnome-extra/gnome-color-manager/ChangeLog
index 27689851367e..44794d9015a8 100644
--- a/gnome-extra/gnome-color-manager/ChangeLog
+++ b/gnome-extra/gnome-color-manager/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for gnome-extra/gnome-color-manager
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-color-manager/ChangeLog,v 1.14 2012/03/07 23:04:30 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-color-manager/ChangeLog,v 1.15 2012/03/14 03:46:32 tetromino Exp $
+
+*gnome-color-manager-3.2.2-r2 (14 Mar 2012)
+
+ 14 Mar 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ -gnome-color-manager-3.2.2-r1.ebuild, +gnome-color-manager-3.2.2-r2.ebuild,
+ files/gnome-color-manager-3.2.2-argyll-prefix.patch:
+ Fix the argyll-dispcal patch so it works properly (bug #407319).
*gnome-color-manager-3.2.2-r1 (07 Mar 2012)
diff --git a/gnome-extra/gnome-color-manager/Manifest b/gnome-extra/gnome-color-manager/Manifest
index 1781b85fb032..ca08bffbc8df 100644
--- a/gnome-extra/gnome-color-manager/Manifest
+++ b/gnome-extra/gnome-color-manager/Manifest
@@ -2,18 +2,18 @@
Hash: SHA256
AUX gnome-color-manager-2.32.0-libnotify-0.7.patch 732 RMD160 9cfd74dc9f784429d674578c4a02a0bc61f47562 SHA1 1635dfa32b90575da915da896618f0fb90718c15 SHA256 a4ac10d8bda2fb8e9d7580524d086b87cede2b8188f2cace17032f735b7773dd
-AUX gnome-color-manager-3.2.2-argyll-prefix.patch 854 RMD160 012d4df8b27c962b053f2826be51c15c2b93a8e3 SHA1 5c7befde84168bd629be58340d9fbd5df7faaa03 SHA256 8fe173482ffb9927995fa19801e841e79257dc9ddbda1455df4db321bc456a87
+AUX gnome-color-manager-3.2.2-argyll-prefix.patch 3227 RMD160 34d5ebb5fd56f4af6b3b9565f76fcfd2ad5cd153 SHA1 821bf86f102c0f2e45228bfbc1a3c9a227f15188 SHA256 71155ed2a7fb6a893c187760654a1673215e9373d505a1b9bad9be5a1a3fe02c
DIST gnome-color-manager-2.32.0.tar.bz2 2491525 RMD160 6ad3b2d3a4cd84ba78988411d7402abca46aebcf SHA1 18cdc922188c2872c5e0c32b215e6cbea878e289 SHA256 fa287ef12d329643d1f01b8f35c2b104dd293cd30e91a012f04929c203da54cf
DIST gnome-color-manager-3.2.2.tar.xz 2515672 RMD160 07144f69ab7e08f27775bdd27333bd972556ab43 SHA1 171cc28610b18b3dcf403865814236d263f06b05 SHA256 4898fe8c29761d8dc0859c4a3a1bf725d3b80d552caab1225202f6030a118d9a
EBUILD gnome-color-manager-2.32.0.ebuild 1292 RMD160 b818cda3c49644419bd8c6f7747cfe646321df60 SHA1 da56e3ace8686faeac19cc239c1ca6a5544f6834 SHA256 e7d977ba95713ec0a043bcfc68b520068c3038a7cac9719dea2d9918cbbcfe08
-EBUILD gnome-color-manager-3.2.2-r1.ebuild 1879 RMD160 72e5c3d33344f29474d54b7f771d64a1ef5e6133 SHA1 ddd86b9b287f65e6739b0ada030fa1ebbe358fad SHA256 e4c790e45ae377ba47fe2095cf5f1120580a57fbda67caa9d1c139790684cee2
+EBUILD gnome-color-manager-3.2.2-r2.ebuild 1933 RMD160 65cf19219d4931cbd1a2c1df2fa29845388f0652 SHA1 b8b877f98151f05e8962fd49bc2094394736c378 SHA256 cf01b8be5dd70c19a61eb7ecfe936e55519794cff9760ec6cf3f0e57a5a8529d
EBUILD gnome-color-manager-3.2.2.ebuild 1547 RMD160 289ef050af73e5e22bc37300d65173907810f03b SHA1 871b54cba5ed06b09f691074978d80189b242c3f SHA256 786b754bda428e7c6718f4946dd0156609c6ed112c69abe8e66964456d51bfe0
-MISC ChangeLog 3085 RMD160 ed61a3d98ad33a79c68540e57f7b5d1ec6c57fe2 SHA1 ea1d7c9b4740b3b043db932dc1b0ff3addb5f9a4 SHA256 72f4a06c5c50af532efa6af31c67c1e7d1686606b20e64796d2b78c7b5da0352
+MISC ChangeLog 3390 RMD160 904045c45072ef4fe77352c6449db4af93812d7c SHA1 9d6a971c1fd8f4252790d762d3bbbb2ad51f0f82 SHA256 a828cc91d715852bdab6d5630e5e89e7db6b64950762a0d2f01c14eb81dbc13e
MISC metadata.xml 513 RMD160 b2c842ce4de899e7f1355e10febb7bd89bea69e5 SHA1 cf78374e23a7c67c42f7aae9af9e290d91377800 SHA256 1fa9edf8be6f927f45a6248c095e5697be128cc01aa274c02782b33953354495
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iF4EAREIAAYFAk9X6YQACgkQdjK8w9WeBnBorAD/YUsDrRuZ0UVEIK9xDxYPuzzW
-aPK1Z6525jiPmidJcG0A/jpX8atTMmAbPKrLXgXhBtKpL+nKw3+49tpE9B6R3U09
-=jMgn
+iF4EAREIAAYFAk9gFJ0ACgkQdjK8w9WeBnCdnAEAptqwHv/wNCAgeCYT/0nzQaki
+sG6+UNIDZdOt3GNHlqEBAJMSDDkh3qc2YT2JkDOW3u01ihkjRbaUsKTmZQ3e82Jr
+=fn2r
-----END PGP SIGNATURE-----
diff --git a/gnome-extra/gnome-color-manager/files/gnome-color-manager-3.2.2-argyll-prefix.patch b/gnome-extra/gnome-color-manager/files/gnome-color-manager-3.2.2-argyll-prefix.patch
index eefc666ac181..bc0906fbcd3d 100644
--- a/gnome-extra/gnome-color-manager/files/gnome-color-manager-3.2.2-argyll-prefix.patch
+++ b/gnome-extra/gnome-color-manager/files/gnome-color-manager-3.2.2-argyll-prefix.patch
@@ -1,25 +1,99 @@
-From 054fb4c0eb69a9ace62053f9c1b32f2ca6fc2a5c Mon Sep 17 00:00:00 2001
+From 240cd5ab5ec100af64bc337f60ffe4cc8eb98389 Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Wed, 7 Mar 2012 17:51:55 -0500
-Subject: [PATCH] argyllcms executables in Gentoo are prefixed with "argyll-"
+Subject: [PATCH] Use gcm_calibrate_argyll_get_tool_filename () for dispcal
+Do not assume that dispcal is /usr/bin/dispcal; in some distros (e.g.
+Gentoo), it's argyll-dispcal.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=672028
---
- src/gcm-calibrate-argyll.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
+ src/gcm-calibrate-argyll.c | 11 ++++++++---
+ src/gcm-calibrate-argyll.h | 6 ++++--
+ src/gcm-calibrate-main.c | 7 +++++--
+ 3 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/src/gcm-calibrate-argyll.c b/src/gcm-calibrate-argyll.c
-index 3f04aa1..393537c 100644
+index 3f04aa1..4d9386d 100644
--- a/src/gcm-calibrate-argyll.c
+++ b/src/gcm-calibrate-argyll.c
-@@ -125,7 +125,7 @@ gcm_calibrate_argyll_get_display (const gchar *output_name, GError **error)
- gchar *name;
+@@ -122,10 +122,14 @@ gcm_calibrate_argyll_get_display (const gchar *output_name, GError **error)
+ gint exit_status;
+ guint display = G_MAXUINT;
+ guint i;
+- gchar *name;
++ gchar *command, *name;
++
++ command = gcm_calibrate_argyll_get_tool_filename ("dispcal", error);
++ if (command == NULL)
++ goto out;
/* execute it and capture stderr */
- ret = g_spawn_command_line_sync ("dispcal", NULL, &data, &exit_status, error);
-+ ret = g_spawn_command_line_sync ("argyll-dispcal", NULL, &data, &exit_status, error);
++ ret = g_spawn_command_line_sync (command, NULL, &data, &exit_status, error);
if (!ret)
goto out;
+@@ -157,6 +161,7 @@ gcm_calibrate_argyll_get_display (const gchar *output_name, GError **error)
+ goto out;
+ }
+ out:
++ g_free (command);
+ g_free (data);
+ g_strfreev (split);
+ return display;
+@@ -198,7 +203,7 @@ gcm_calibrate_argyll_debug_argv (const gchar *program, gchar **argv)
+ /**
+ * gcm_calibrate_argyll_get_tool_filename:
+ **/
+-static gchar *
++gchar *
+ gcm_calibrate_argyll_get_tool_filename (const gchar *command, GError **error)
+ {
+ gboolean ret;
+diff --git a/src/gcm-calibrate-argyll.h b/src/gcm-calibrate-argyll.h
+index e1c84e5..9d98286 100644
+--- a/src/gcm-calibrate-argyll.h
++++ b/src/gcm-calibrate-argyll.h
+@@ -48,8 +48,10 @@ struct _GcmCalibrateArgyllClass
+ GcmCalibrateClass parent_class;
+ };
+
+-GType gcm_calibrate_argyll_get_type (void);
+-GcmCalibrate *gcm_calibrate_argyll_new (void);
++GType gcm_calibrate_argyll_get_type (void);
++GcmCalibrate *gcm_calibrate_argyll_new (void);
++gchar *gcm_calibrate_argyll_get_tool_filename (const gchar *command,
++ GError **error);
+
+ G_END_DECLS
+
+diff --git a/src/gcm-calibrate-main.c b/src/gcm-calibrate-main.c
+index 901a428..9ad57cb 100644
+--- a/src/gcm-calibrate-main.c
++++ b/src/gcm-calibrate-main.c
+@@ -1774,6 +1774,7 @@ gcm_calib_add_pages (GcmCalibratePriv *calib)
+ {
+ gboolean ret;
+ const gchar *xrandr_name;
++ gchar *command;
+
+ /* device not found */
+ if (calib->device_kind == CD_DEVICE_KIND_UNKNOWN) {
+@@ -1789,9 +1790,11 @@ gcm_calib_add_pages (GcmCalibratePriv *calib)
+ gcm_calib_setup_page_sensor (calib);
+
+ /* find whether argyllcms is installed using a tool which should exist */
+- ret = g_file_test ("/usr/bin/dispcal", G_FILE_TEST_EXISTS);
+- if (!ret)
++ command = gcm_calibrate_argyll_get_tool_filename ("dispcal", NULL);
++ if (command == NULL)
+ gcm_calib_setup_page_install_argyllcms (calib);
++ else
++ g_free (command);
+
+ xrandr_name = cd_device_get_metadata_item (calib->device,
+ CD_DEVICE_METADATA_XRANDR_NAME);
--
1.7.8.5
diff --git a/gnome-extra/gnome-color-manager/gnome-color-manager-3.2.2-r1.ebuild b/gnome-extra/gnome-color-manager/gnome-color-manager-3.2.2-r2.ebuild
index 7e6544f34058..5eb64553940b 100644
--- a/gnome-extra/gnome-color-manager/gnome-color-manager-3.2.2-r1.ebuild
+++ b/gnome-extra/gnome-color-manager/gnome-color-manager-3.2.2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-color-manager/gnome-color-manager-3.2.2-r1.ebuild,v 1.1 2012/03/07 23:04:30 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-color-manager/gnome-color-manager-3.2.2-r2.ebuild,v 1.1 2012/03/14 03:46:32 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
@@ -64,7 +64,8 @@ pkg_setup() {
}
src_prepare() {
- # argyllcms executables are prefixed with "argyll-" in Gentoo; bug #407319
+ # argyllcms executables are prefixed with "argyll-" in Gentoo; bug #407319,
+ # https://bugzilla.gnome.org/show_bug.cgi?id=672028
epatch "${FILESDIR}/${PN}-3.2.2-argyll-prefix.patch"
gnome2_src_prepare