← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~raoul-snyman/openlp/debian-package-with-patch into lp:openlp/debian-package

 

Raoul Snyman has proposed merging lp:~raoul-snyman/openlp/debian-package-with-patch into lp:openlp/debian-package.

Requested reviews:
  Tim Bentley (trb143)

For more details, see:
https://code.launchpad.net/~raoul-snyman/openlp/debian-package-with-patch/+merge/150147

Update the package source to 2.0.1 and patch OpenLP to remove the version update check from happening.
-- 
https://code.launchpad.net/~raoul-snyman/openlp/debian-package-with-patch/+merge/150147
Your team OpenLP Core is subscribed to branch lp:openlp/debian-package.
=== modified file 'debian/changelog'
--- debian/changelog	2012-11-09 17:23:54 +0000
+++ debian/changelog	2013-02-22 20:46:21 +0000
@@ -1,3 +1,10 @@
+openlp (2.0.1-1) experimental; urgency=low
+
+  * New upstream release
+  * Patched source to remove version check
+
+ -- Raoul Snyman <raoulsnyman@xxxxxxxxxx>  Fri, 22 Feb 2013 21:39:51 +0200
+
 openlp (1.9.12-1) experimental; urgency=low
 
   * New upstream release

=== added directory 'debian/patches'
=== added file 'debian/patches/disable-version-check.patch'
--- debian/patches/disable-version-check.patch	1970-01-01 00:00:00 +0000
+++ debian/patches/disable-version-check.patch	2013-02-22 20:46:21 +0000
@@ -0,0 +1,21 @@
+Description: Remove the check for update feature from OpenLP.
+Author: Raoul Snyman <raoulsnyman@xxxxxxxxxx>
+Forwarded: not-needed
+--- old/openlp/core/__init__.py        2012-12-30 19:41:24 +0000
++++ new/openlp/core/__init__.py        2013-02-21 11:38:27 +0000
+@@ -159,10 +159,10 @@
+         self.processEvents()
+         if not has_run_wizard:
+             self.mainWindow.firstTime()
+-        update_check = Settings().value(
+-            u'general/update check', QtCore.QVariant(True)).toBool()
+-        if update_check:
+-            VersionThread(self.mainWindow).start()
++        #update_check = Settings().value(
++        #    u'general/update check', QtCore.QVariant(True)).toBool()
++        #if update_check:
++        #    VersionThread(self.mainWindow).start()
+         Receiver.send_message(u'live_display_blank_check')
+         self.mainWindow.appStartup()
+         # Skip exec_() for gui tests
+

=== added file 'debian/patches/hide-check-setting.patch'
--- debian/patches/hide-check-setting.patch	1970-01-01 00:00:00 +0000
+++ debian/patches/hide-check-setting.patch	2013-02-22 20:46:21 +0000
@@ -0,0 +1,13 @@
+Description: Remove the "check for updates" setting from OpenLP.
+Author: Raoul Snyman <raoulsnyman@xxxxxxxxxx>
+--- old/openlp/core/ui/generaltab.py	2012-12-30 19:41:24 +0000
++++ new/openlp/core/ui/generaltab.py	2013-02-22 20:32:35 +0000
+@@ -164,6 +164,7 @@
+         self.startupLayout.addWidget(self.showSplashCheckBox)
+         self.checkForUpdatesCheckBox = QtGui.QCheckBox(self.startupGroupBox)
+         self.checkForUpdatesCheckBox.setObjectName(u'checkForUpdatesCheckBox')
++        self.checkForUpdatesCheckBox.setVisible(False)
+         self.startupLayout.addWidget(self.checkForUpdatesCheckBox)
+         self.rightLayout.addWidget(self.startupGroupBox)
+         # Application Settings
+

=== added file 'debian/patches/series'
--- debian/patches/series	1970-01-01 00:00:00 +0000
+++ debian/patches/series	2013-02-22 20:46:21 +0000
@@ -0,0 +1,2 @@
+disable-version-check.patch
+hide-check-setting.patch


Follow ups