summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/desktop_translation.patch20
-rw-r--r--debian/patches/desktopkeywords.patch11
-rw-r--r--debian/patches/mime_exec.patch13
-rw-r--r--debian/patches/s390x-ftbfs.patch16
-rw-r--r--debian/patches/series4
5 files changed, 64 insertions, 0 deletions
diff --git a/debian/patches/desktop_translation.patch b/debian/patches/desktop_translation.patch
new file mode 100644
index 0000000..fb66382
--- /dev/null
+++ b/debian/patches/desktop_translation.patch
@@ -0,0 +1,20 @@
+Description: fix wrongly encoded translations
+Author: Paul Martrenchar <pmartrenchar@gmail.com>
+
+--- a/cmake/platforms/linux/bibletime.desktop.cmake
++++ b/cmake/platforms/linux/bibletime.desktop.cmake
+@@ -1,12 +1,12 @@
+ [Desktop Entry]
+ Comment=An easy to use bible study tool
+ Comment[C]=An easy to use bible study tool
+-Comment[cs]=Snadno pouiteln n�troj pro studium Bible
++Comment[cs]=Snadno použitelný nástroj pro studium Bible
+ Comment[da]=Et letanvendeligt bibelstudieprogram
+ Comment[de]=Ein einfach zu benutzendes Bibelprogramm
+ Comment[et]=Lihtne Piibliuurimise vahend
+ Comment[fi]=Helppokäyttöinen raamatunlukuohjelmisto
+-Comment[fr]=Un outil d'éde biblique facile àtiliser
++Comment[fr]=Un outil d'étude biblique facile à utiliser
+ Comment[it]=Un semplice strumento per studiare la Bibbia
+ Exec=bibletime
+ Icon=bibletime
diff --git a/debian/patches/desktopkeywords.patch b/debian/patches/desktopkeywords.patch
new file mode 100644
index 0000000..e6fa7ae
--- /dev/null
+++ b/debian/patches/desktopkeywords.patch
@@ -0,0 +1,11 @@
+Description: add some keywords to desktop file
+Author: Daniel Glassey <wdg@debian.org>
+
+--- a/cmake/platforms/linux/bibletime.desktop.cmake
++++ b/cmake/platforms/linux/bibletime.desktop.cmake
+@@ -23,4 +23,5 @@
+ Terminal=false
+ Type=Application
+ Categories=X-Bible;X-Religion;Literature;Education;Dictionary;Qt;
++Keywords=bible;study;religion;literature;education;
+ DocPath=bibletime/handbook/index.html
diff --git a/debian/patches/mime_exec.patch b/debian/patches/mime_exec.patch
new file mode 100644
index 0000000..626c538
--- /dev/null
+++ b/debian/patches/mime_exec.patch
@@ -0,0 +1,13 @@
+Description: remove empty MimeType entry
+Author: Daniel Glassey <wdg@debian.org>
+
+--- a/cmake/platforms/linux/bibletime.desktop.cmake
++++ b/cmake/platforms/linux/bibletime.desktop.cmake
+@@ -10,7 +10,6 @@
+ Comment[it]=Un semplice strumento per studiare la Bibbia
+ Exec=bibletime
+ Icon=bibletime
+-MimeType=
+ Name=BibleTime @BT_VERSION@
+ Name[C]=BibleTime @BT_VERSION@
+ Name[cs]=BibleTime @BT_VERSION@
diff --git a/debian/patches/s390x-ftbfs.patch b/debian/patches/s390x-ftbfs.patch
new file mode 100644
index 0000000..86a23c5
--- /dev/null
+++ b/debian/patches/s390x-ftbfs.patch
@@ -0,0 +1,16 @@
+Description: build without pie, fixes FTBFS on s390x
+Author: Dimitri John Ledkov <dimitri.j.ledkov@linux.intel.com>
+
+Index: bibletime-2.10.1/CMakeLists.txt
+===================================================================
+--- bibletime-2.10.1.orig/CMakeLists.txt
++++ bibletime-2.10.1/CMakeLists.txt
+@@ -205,7 +205,7 @@ IF(MSVC)
+ SET(CMAKE_CXX_FLAGS_DEBUG "-DNO_DBUS -DSWUSINGDLL /MDd /Zc:wchar_t- /W1 /D_UNICODE /DUNICODE /Zc:wchar_t /Od")
+ SET(BibleTime_LDFLAGS "${BibleTime_LDFLAGS} /SUBSYSTEM:WINDOWS")
+ ELSE()
+- SET(BibleTime_CFLAGS "${BibleTime_CFLAGS} -Wextra -fpie -fexceptions")
++ SET(BibleTime_CFLAGS "${BibleTime_CFLAGS} -Wextra -fexceptions")
+ SET(CMAKE_CXX_FLAGS_RELEASE "-O2")
+ SET(CMAKE_CXX_FLAGS_DEBUG "-ggdb")
+ IF(APPLE)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fc4ff2a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,4 @@
+# s390x-ftbfs.patch
+# desktopkeywords.patch
+# mime_exec.patch
+# desktop_translation.patch