[Pkg-crosswire-devel] Bug#748685: NMU debdiff for bibletime_2.9.2-1.1

AnĂ­bal Monsalve Salazar anibal at debian.org
Fri Jun 27 13:03:13 BST 2014


debdiff bibletime_2.9.2-1.dsc bibletime_2.9.2-1.1.dsc
diff -Nru bibletime-2.9.2/debian/changelog bibletime-2.9.2/debian/changelog
--- bibletime-2.9.2/debian/changelog	2013-08-12 21:03:22.000000000 +0100
+++ bibletime-2.9.2/debian/changelog	2014-06-27 11:59:22.000000000 +0100
@@ -1,3 +1,14 @@
+bibletime (2.9.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Build with libsword 1.7.
+    Add libsword-1.7.patch.
+    Patch by Plamen Aleksandrov <plamen at aomeda.com>.
+    Work done as part of a Debian GSOC 2014 project.
+    Closes: #748685.
+
+ -- Anibal Monsalve Salazar <anibal at debian.org>  Fri, 27 Jun 2014 11:59:08 +0100
+
 bibletime (2.9.2-1) unstable; urgency=low
 
   * New upstream release
diff -Nru bibletime-2.9.2/debian/patches/libsword-1.7.patch bibletime-2.9.2/debian/patches/libsword-1.7.patch
--- bibletime-2.9.2/debian/patches/libsword-1.7.patch	1970-01-01 01:00:00.000000000 +0100
+++ bibletime-2.9.2/debian/patches/libsword-1.7.patch	2014-06-27 11:47:12.000000000 +0100
@@ -0,0 +1,74 @@
+From: Plamen Aleksandrov <plamen at aomeda.com>
+Subject: patch for bibletime 2.9
+Date: Wed, 18 Jun 2014 16:23:33 +0300
+
+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748685
+
+This patch fixes the compilation of bibletime 2.9 with libsword 1.7.
+
+diff -urN a/cmake/sword_linker_check.cpp b/cmake/sword_linker_check.cpp
+--- a/cmake/sword_linker_check.cpp	2013-06-03 18:08:52.000000000 +0000
++++ b/cmake/sword_linker_check.cpp	2014-06-16 12:49:05.979470653 +0000
+@@ -15,13 +15,13 @@
+ 
+ #include <swmgr.h>
+ #include <installmgr.h>
+-#include <ftptrans.h>
++#include <curlftpt.h>
+ 
+ int main(int argc, char* argv[])
+ {
+     sword::SWMgr mgr;
+     sword::InstallMgr imgr;
+-    sword::FTPTransport trans("example.com");
++    sword::CURLFTPTransport CURLFTPTransport("example.com");
+ 
+     return 0;
+ }
+diff -urN a/src/backend/rendering/centrydisplay.h b/src/backend/rendering/centrydisplay.h
+--- a/src/backend/rendering/centrydisplay.h	2013-06-03 18:08:52.000000000 +0000
++++ b/src/backend/rendering/centrydisplay.h	2014-06-16 14:28:00.972395181 +0000
+@@ -35,6 +35,7 @@
+                                    const DisplayOptions &displayOptions,
+                                    const FilterOptions &filterOptions);
+ 
++	virtual char display(sword::SWModule& mod) { (void)mod; return 'c';}
+ }; /* class CEntryDisplay */
+ 
+ } /* namespace Rendering */
+diff -urN a/src/bibletime.cpp b/src/bibletime.cpp
+--- a/src/bibletime.cpp	2013-06-03 18:08:52.000000000 +0000
++++ b/src/bibletime.cpp	2014-06-17 09:06:12.656074834 +0000
+@@ -285,7 +285,7 @@
+             const int maxIndex = 31100;
+             int newIndex = rand() % maxIndex;
+             vk.setPosition(sword::TOP);
+-            vk.Index(newIndex);
++            vk.setIndex(newIndex);
+             createReadDisplayWindow(bible, vk.key());
+         } else {
+             createReadDisplayWindow(bible, bibleKey);
+diff -urN a/src/frontend/bookshelfmanager/btinstallmgr.cpp b/src/frontend/bookshelfmanager/btinstallmgr.cpp
+--- a/src/frontend/bookshelfmanager/btinstallmgr.cpp	2013-06-03 18:08:52.000000000 +0000
++++ b/src/frontend/bookshelfmanager/btinstallmgr.cpp	2014-06-17 09:55:32.442530952 +0000
+@@ -18,7 +18,7 @@
+ 
+ // Sword includes:
+ #include <installmgr.h>
+-#include <ftptrans.h>
++#include <curlftpt.h>
+ 
+ 
+ using namespace sword;
+diff -urN a/src/frontend/bookshelfmanager/btinstallmgr.h b/src/frontend/bookshelfmanager/btinstallmgr.h
+--- a/src/frontend/bookshelfmanager/btinstallmgr.h	2013-06-03 18:08:52.000000000 +0000
++++ b/src/frontend/bookshelfmanager/btinstallmgr.h	2014-06-17 09:53:52.314448110 +0000
+@@ -18,7 +18,7 @@
+ 
+ // Sword includes:
+ #include <installmgr.h>
+-#include <ftptrans.h>
++#include <curlftpt.h>
+ 
+ 
+ /**
diff -Nru bibletime-2.9.2/debian/patches/series bibletime-2.9.2/debian/patches/series
--- bibletime-2.9.2/debian/patches/series	2013-08-12 20:09:34.000000000 +0100
+++ bibletime-2.9.2/debian/patches/series	2014-06-27 11:53:34.000000000 +0100
@@ -1,2 +1,3 @@
 gcc4.7-ftbfs.patch
 find-clucene-config.h.diff
+libsword-1.7.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-crosswire-devel/attachments/20140627/2e75b758/attachment.sig>


More information about the Pkg-crosswire-devel mailing list