File gqview-adobe-icc.patch of Package gqview

--- src/main.c
+++ src/main.c
@@ -1104,10 +1104,32 @@
 	g_free(buf);
 }
 
+static const char *adobe_icc_profiles[4][2] =
+{
+/* This one is embedded into gqview
+    {
+	"/usr/share/color/icc/Adobe ICC Profiles/RGB Profiles/sRGB Color Space Profile.icm",
+	N_("Default RGB colour space - sRGB")
+    },
+*/
+    {
+	"/usr/share/color/icc/Adobe ICC Profiles/RGB Profiles/AdobeRGB1998.icc",
+	N_("Adobe RGB (1998)")
+    },
+    {
+	"/usr/share/color/icc/Adobe ICC Profiles/RGB Profiles/ColorMatchRGB.icc",
+	N_("ColorMatch RGB")
+    },
+    {
+	"/usr/share/color/icc/Adobe ICC Profiles/RGB Profiles/AppleRGB.icc",
+	N_("Apple RGB")
+    }
+};
+
 static void setup_default_options(void)
 {
 	gchar *path;
-	gint i;
+	gint i, j;
 
 	for (i = 0; i < GQVIEW_EDITOR_SLOTS; i++)
 		{
@@ -1128,7 +1150,17 @@
 	g_free(safe_delete_path);
 	safe_delete_path = concat_dir_and_file(homedir(), GQVIEW_RC_DIR_TRASH);
 
-	for (i = 0; i < COLOR_PROFILE_INPUTS; i++)
+	i = 0;
+	for (j = 0; j < 3; j++)
+		{
+		if (access(adobe_icc_profiles[j][0], R_OK) == 0)
+			{
+			color_profile_input_file[i] = strdup(adobe_icc_profiles[j][0]);
+			color_profile_input_name[i++] = strdup(adobe_icc_profiles[j][1]);
+			}
+		}
+
+	for (; i < COLOR_PROFILE_INPUTS; i++)
 		{
 		color_profile_input_file[i] = NULL;
 		color_profile_input_name[i] = NULL;