summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-05-03 08:48:45 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-05-03 08:48:45 +0000
commitde675322ebf8ecc11fbc2f68d129dd3bbc315dab (patch)
tree608d14bac79e3c83862d19ba130fc2e5d1809a23 /media-gfx/rawstudio/files
parentDisable broken test suit in recent versions of dev-haskell/cabal. (diff)
downloadhistorical-de675322ebf8ecc11fbc2f68d129dd3bbc315dab.tar.gz
historical-de675322ebf8ecc11fbc2f68d129dd3bbc315dab.tar.bz2
historical-de675322ebf8ecc11fbc2f68d129dd3bbc315dab.zip
Version bump wrt #220016. Patching .desktop file to respect latest specification. Fixing icondir from /usr/share/icons to /usr/share/pixmaps.
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'media-gfx/rawstudio/files')
-rw-r--r--media-gfx/rawstudio/files/rawstudio-0.6-desktop-entry.patch18
-rw-r--r--media-gfx/rawstudio/files/rawstudio-1.0-desktop-entry-and-pixmaps-directory.patch56
2 files changed, 56 insertions, 18 deletions
diff --git a/media-gfx/rawstudio/files/rawstudio-0.6-desktop-entry.patch b/media-gfx/rawstudio/files/rawstudio-0.6-desktop-entry.patch
deleted file mode 100644
index c9c0cef821d8..000000000000
--- a/media-gfx/rawstudio/files/rawstudio-0.6-desktop-entry.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -ur rawstudio-0.6.orig/rawstudio.desktop rawstudio-0.6/rawstudio.desktop
---- rawstudio-0.6.orig/rawstudio.desktop 2007-08-14 17:37:50.000000000 +0300
-+++ rawstudio-0.6/rawstudio.desktop 2008-01-21 21:02:06.000000000 +0200
-@@ -1,12 +1,12 @@
- [Desktop Entry]
- Version=1.0
- Type=Application
--Categories=Application;Graphics;Photography;GTK;
-+Categories=Graphics;Photography;GTK;
- Name=Rawstudio
- GenericName=Raw converter
- Comment=Open source raw-image converter and manipulation application
- Exec=rawstudio %F
- StartupNotify=true
--Icon=rawstudio.png
-+Icon=rawstudio
- MimeType=image/x-dcraw;
-
diff --git a/media-gfx/rawstudio/files/rawstudio-1.0-desktop-entry-and-pixmaps-directory.patch b/media-gfx/rawstudio/files/rawstudio-1.0-desktop-entry-and-pixmaps-directory.patch
new file mode 100644
index 000000000000..d9d771ae0068
--- /dev/null
+++ b/media-gfx/rawstudio/files/rawstudio-1.0-desktop-entry-and-pixmaps-directory.patch
@@ -0,0 +1,56 @@
+diff -ur rawstudio-1.0.orig/pixmaps/Makefile.in rawstudio-1.0/pixmaps/Makefile.in
+--- rawstudio-1.0.orig/pixmaps/Makefile.in 2008-04-19 02:30:28.000000000 +0300
++++ rawstudio-1.0/pixmaps/Makefile.in 2008-05-03 11:40:35.000000000 +0300
+@@ -162,7 +162,7 @@
+ target_alias = @target_alias@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-icondir = $(datadir)/icons
++icondir = $(datadir)/pixmaps
+ icon_DATA = rawstudio.png
+ rawstudiodir = $(datadir)/pixmaps/rawstudio
+ rawstudio_DATA = overlay_deleted.png \
+diff -ur rawstudio-1.0.orig/rawstudio.desktop rawstudio-1.0/rawstudio.desktop
+--- rawstudio-1.0.orig/rawstudio.desktop 2008-04-19 02:14:50.000000000 +0300
++++ rawstudio-1.0/rawstudio.desktop 2008-05-03 11:37:43.000000000 +0300
+@@ -1,7 +1,7 @@
+ [Desktop Entry]
+ Version=1.0
+ Type=Application
+-Categories=Application;Graphics;Photography;GTK;
++Categories=Graphics;Photography;GTK;
+ Name=Rawstudio
+ Name[it]=Rawstudio
+ Name[pl]=Rawstudio
+@@ -16,6 +16,6 @@
+ Comment[ru]=Свободная программа для проявки цифровых негативов
+ Exec=rawstudio %F
+ StartupNotify=true
+-Icon=rawstudio.png
++Icon=rawstudio
+ MimeType=image/x-dcraw;
+
+diff -ur rawstudio-1.0.orig/src/gtk-interface.c rawstudio-1.0/src/gtk-interface.c
+--- rawstudio-1.0.orig/src/gtk-interface.c 2008-04-19 02:51:40.000000000 +0300
++++ rawstudio-1.0/src/gtk-interface.c 2008-05-03 11:41:11.000000000 +0300
+@@ -985,7 +985,7 @@
+ GdkColor bgcolor = {0, 0, 0, 0 };
+ GString *window_title = g_string_new(_("Rawstudio"));
+
+- gtk_window_set_default_icon_from_file(PACKAGE_DATA_DIR "/icons/" PACKAGE ".png", NULL);
++ gtk_window_set_default_icon_from_file(PACKAGE_DATA_DIR "/pixmaps/" PACKAGE ".png", NULL);
+ rs->window = gui_window_make(rs);
+ gtk_widget_show(rs->window);
+
+diff -ur rawstudio-1.0.orig/src/rawstudio.c rawstudio-1.0/src/rawstudio.c
+--- rawstudio-1.0.orig/src/rawstudio.c 2008-04-19 02:14:49.000000000 +0300
++++ rawstudio-1.0/src/rawstudio.c 2008-05-03 11:40:55.000000000 +0300
+@@ -929,7 +929,7 @@
+ check_install()
+ {
+ #define TEST_FILE_ACCESS(path) do { if (g_access(path, R_OK)!=0) g_debug("Cannot access %s\n", path);} while (0)
+- TEST_FILE_ACCESS(PACKAGE_DATA_DIR "/icons/" PACKAGE ".png");
++ TEST_FILE_ACCESS(PACKAGE_DATA_DIR "/pixmaps/" PACKAGE ".png");
+ TEST_FILE_ACCESS(PACKAGE_DATA_DIR "/pixmaps/" PACKAGE "/overlay_priority1.png");
+ TEST_FILE_ACCESS(PACKAGE_DATA_DIR "/pixmaps/" PACKAGE "/overlay_priority2.png");
+ TEST_FILE_ACCESS(PACKAGE_DATA_DIR "/pixmaps/" PACKAGE "/overlay_priority3.png");