From 1999944d7dd6eaea596b95b8f01a61653ef34913 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Thu, 15 Nov 2012 12:38:12 +0100 Subject: [PATCH] try using the system monitor profile for color management by default (patch by Richard Hughes) --- ...cm-system-monitor-profile-by-default.patch | 31 +++++++++++++++++++ gimp.spec | 8 +++++ 2 files changed, 39 insertions(+) create mode 100644 gimp-2.8.2-cm-system-monitor-profile-by-default.patch diff --git a/gimp-2.8.2-cm-system-monitor-profile-by-default.patch b/gimp-2.8.2-cm-system-monitor-profile-by-default.patch new file mode 100644 index 0000000..094a037 --- /dev/null +++ b/gimp-2.8.2-cm-system-monitor-profile-by-default.patch @@ -0,0 +1,31 @@ +From 3720401cc1499ac5f6a15248214168fd2b5c02ec Mon Sep 17 00:00:00 2001 +From: Nils Philippsen +Date: Thu, 15 Nov 2012 12:17:26 +0100 +Subject: [PATCH] patch: cm-system-monitor-profile-by-default + +Squashed commit of the following: + +commit eb78c3a0cfd7ff796110fcd3cd161ca11005fca5 +Author: Richard Hughes +Date: Thu Nov 15 12:12:12 2012 +0100 + + color mgmt: try to use the system monitor profile by default +--- + etc/gimprc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/etc/gimprc b/etc/gimprc +index 8306571..712488f 100644 +--- a/etc/gimprc ++++ b/etc/gimprc +@@ -293,6 +293,7 @@ + # (simulation-gamut-check no) + # (out-of-gamut-color (color-rgb 0.501961 0.501961 0.501961)) + # (display-module "CdisplayLcms")) ++(display-profile-from-gdk yes) + + # How to handle embedded color profiles when opening a file. Possible values + # are ask, keep and convert. +-- +1.7.11.7 + diff --git a/gimp.spec b/gimp.spec index b440bb6..6633a04 100644 --- a/gimp.spec +++ b/gimp.spec @@ -218,6 +218,9 @@ Patch2: gimp-2.8.2-crop-to-selection.patch # commit 1a4087bd5f1c79859fbfc417eff58f8e7783f335 # commit f6f8079013401eecaa11e5f8bdd2688e51fd6602 Patch3: gimp-2.8.2-file-dialog-toplevel.patch +# Try using the system monitor profile for color management by default. +# Fedora specific. +Patch4: gimp-2.8.2-cm-system-monitor-profile-by-default.patch %description GIMP (GNU Image Manipulation Program) is a powerful image composition and @@ -306,6 +309,7 @@ EOF %patch1 -p1 -b .max-memsize %patch2 -p1 -b .crop-to-selection %patch3 -p1 -b .file-dialog-toplevel +%patch4 -p1 -b .cm-system-monitor-profile-by-default %build %if %{with hardening} @@ -601,6 +605,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* Thu Nov 15 2012 Nils Philippsen +- try using the system monitor profile for color management by default (patch + by Richard Hughes) + * Wed Nov 14 2012 Nils Philippsen - 2:2.8.2-4 - fix marking file dialogs as transient if opened from context menu (#835736)