Imported Debian patch 2.8.1-2
authorJonathan Marsden <jmarsden@fastmail.fm>
Mon, 11 Jul 2011 01:06:23 +0000 (18:06 -0700)
committerRoberto C. Sanchez <roberto@connexer.com>
Wed, 22 Oct 2014 02:48:38 +0000 (22:48 -0400)
debian/changelog
debian/control
debian/patches/02-prevent-unused-but-set-variable-ftbfs.patch [new file with mode: 0644]
debian/patches/series

index 64ea1522b105eb38e72a1d2cf1cd4f2d90be3a16..c024ea9021c8bc6796ec81eb1f77f3a897c0730e 100644 (file)
@@ -1,3 +1,12 @@
+bibletime (2.8.1-2) unstable; urgency=low
+
+  * debian/patches/02-prevent-unused-but-set-variable-ftbfs.patch:
+    - Prevent FTBFS using recent gcc 4.6 by using an existing upstream fix.
+  * debian/control:
+    - Add Depends: libqt4-svg so toolbar icons display. (Closes: #612661).
+
+ -- Jonathan Marsden <jmarsden@fastmail.fm>  Sun, 10 Jul 2011 18:06:23 -0700
+
 bibletime (2.8.1-1) unstable; urgency=low
 
   [ Jonathan Marsden ]
index cf4294d89b80baf451639519c697d7f0ed6e6438..bf1dc815fea6df3a3da8792fdc57b8778590e6a5 100644 (file)
@@ -13,7 +13,10 @@ Homepage: http://www.bibletime.info/
 
 Package: bibletime
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libqtgui4 (>= 4.4.0), bibletime-data
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libqtgui4 (>= 4.4.0),
+ libqt4-svg (>=4.4.0),
+ bibletime-data
 Provides: sword-frontend
 Description: bible study tool for Qt
  BibleTime is a free and easy to use bible study tool.
diff --git a/debian/patches/02-prevent-unused-but-set-variable-ftbfs.patch b/debian/patches/02-prevent-unused-but-set-variable-ftbfs.patch
new file mode 100644 (file)
index 0000000..d7354d0
--- /dev/null
@@ -0,0 +1,22 @@
+Description: Prevents gcc 4.6 FTBFS (do not create a variable that is never used).
+  The relevant Bibletime upstream git log entry is:
+  commit 984d9f41bdb7efb9477a706fb1f524b2fbc9c54b
+  Author: Gary Holmlund <gary.holmlund@gmail.com>
+  Date:   Mon May 16 22:05:02 2011 -0700
+      Fix compile error on Fedora 15
+Origin: upstream, https://gitorious.org/bibletime/bibletime/commit/984d9f41bdb7efb9477a706fb1f524b2fbc9c54b
+Author: Gary Holmlund <gary.holmlund@gmail.com>
+
+Index: debian/src/frontend/keychooser/ckeychooserwidget.cpp
+===================================================================
+--- debian.orig/src/frontend/keychooser/ckeychooserwidget.cpp  2011-07-10 14:10:48.000000000 -0700
++++ debian/src/frontend/keychooser/ckeychooserwidget.cpp       2011-07-10 14:11:20.000000000 -0700
+@@ -180,7 +180,7 @@
+         emit changed(m_comboBox->currentIndex());
+     }
+-    const QSize dummySize = m_comboBox->sizeHint(); //without this function call the combo box won't be properly sized!
++    m_comboBox->sizeHint(); //without this function call the combo box won't be properly sized!
+     //DON'T REMOVE OR MOVE THE show()! Otherwise QComboBox's sizeHint() function won't work properly!
+     m_comboBox->show();
index 011c4161028331557c2bb7175b355feffddae535..0957dca03c9cd6dedccb3277cdb803270fa11bfc 100644 (file)
@@ -1 +1,2 @@
 01-fix-search-works-print-crash.patch
+02-prevent-unused-but-set-variable-ftbfs.patch