summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0001-intltool_utf8.patch9
-rw-r--r--debian/patches/05_removed-empty-directory.diff15
-rw-r--r--debian/patches/10-keywords_desktop.patch15
-rw-r--r--debian/patches/series3
4 files changed, 42 insertions, 0 deletions
diff --git a/debian/patches/0001-intltool_utf8.patch b/debian/patches/0001-intltool_utf8.patch
new file mode 100644
index 0000000..58f2671
--- /dev/null
+++ b/debian/patches/0001-intltool_utf8.patch
@@ -0,0 +1,9 @@
+Index: trunk/po/POTFILES.in
+===================================================================
+--- trunk.orig/po/POTFILES.in
++++ trunk/po/POTFILES.in
+@@ -1,3 +1,4 @@
++[encoding: UTF-8]
+ raphodo/aboutdialog.py
+ raphodo/backupfile.py
+ raphodo/backuppanel.py
diff --git a/debian/patches/05_removed-empty-directory.diff b/debian/patches/05_removed-empty-directory.diff
new file mode 100644
index 0000000..0c5ecd6
--- /dev/null
+++ b/debian/patches/05_removed-empty-directory.diff
@@ -0,0 +1,15 @@
+Description: Remove empty directory from installation
+Author: Julien Valroff <julien@debian.org>
+
+Index: trunk/setup.py
+===================================================================
+--- trunk.orig/setup.py
++++ trunk/setup.py
+@@ -86,7 +86,6 @@ photo and video renaming, and backup.
+ data_files=[
+ ('share/applications', ['data/rapid-photo-downloader.desktop']),
+ ('share/pixmaps', ['data/icons/48x48/apps/rapid-photo-downloader.png', 'data/icons/rapid-photo-downloader.xpm']),
+- ('share/icons/hicolor/scalable/apps', glob.glob('data/icons/scalable/apps/*.svg')),
+ ('share/icons/hicolor/16x16/apps', glob.glob('data/icons/16x16/apps/*.png')),
+ ('share/icons/hicolor/22x22/apps', glob.glob('data/icons/22x22/apps/*.png')),
+ ('share/icons/hicolor/24x24/apps', glob.glob('data/icons/24x24/apps/*.png')),
diff --git a/debian/patches/10-keywords_desktop.patch b/debian/patches/10-keywords_desktop.patch
new file mode 100644
index 0000000..85014c2
--- /dev/null
+++ b/debian/patches/10-keywords_desktop.patch
@@ -0,0 +1,15 @@
+Description: Add _Keywords to .desktop file
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Forwarded: not-needed
+Last-Update: 2014-08-18
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/data/rapid-photo-downloader.desktop
+===================================================================
+--- trunk.orig/data/rapid-photo-downloader.desktop
++++ trunk/data/rapid-photo-downloader.desktop
+@@ -9,3 +9,4 @@ MimeType=x-content/image-dcf;
+ Terminal=false
+ Type=Application
+ Categories=Graphics;Photography;
++Keywords=photo;download;graphics;photography;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f0c7b0a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+#05_removed-empty-directory.diff
+#10-keywords_desktop.patch
+0001-intltool_utf8.patch