[hamradio-commits] [pyqso] 03/04: Updated Debian packaging

Iain R. Learmonth irl at moszumanska.debian.org
Fri Jul 8 01:57:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

irl pushed a commit to branch master
in repository pyqso.

commit 72afbd6cf399076841b8b4e7f755aa51bb486b05
Author: Iain R. Learmonth <irl at debian.org>
Date:   Fri Jul 8 02:54:55 2016 +0100

    Updated Debian packaging
---
 debian/changelog                   |  7 +++++++
 debian/patches/fix_icon_path.patch | 36 ++++++++++++++++++------------------
 2 files changed, 25 insertions(+), 18 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 813d52f..b891d3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pyqso (0.3-1) UNRELEASED; urgency=medium
+
+  * Imported Upstream version 0.3.
+  * De-fuzzed debian/patches/fix_icon_path.patch.
+
+ -- Iain R. Learmonth <irl at debian.org>  Fri, 08 Jul 2016 02:51:18 +0100
+
 pyqso (0.2-1) unstable; urgency=low
 
   * Initial release. (Closes: #777385)
diff --git a/debian/patches/fix_icon_path.patch b/debian/patches/fix_icon_path.patch
index ac4e1f2..6898bf4 100644
--- a/debian/patches/fix_icon_path.patch
+++ b/debian/patches/fix_icon_path.patch
@@ -2,23 +2,23 @@ Description: Correct path for icon to the correct path
 Author: Iain R. Learmonth <irl at fsfe.org>
 Last-Update: 2015-02-07
 
---- pyqso.orig/bin/pyqso
-+++ pyqso/bin/pyqso
-@@ -59,7 +59,7 @@
-
-       self.set_size_request(800, 600) # Default to an 800 x 600 resolution.
-       self.set_position(Gtk.WindowPosition.CENTER)
--      possible_icon_paths = [os.path.join(pyqso_path, "icons", "log_64x64.png")]
-+      possible_icon_paths = ["/usr/share/icons/log_64x64.png"]
-       for icon_path in possible_icon_paths:
-          try:
-             self.set_icon_from_file(icon_path)
-@@ -130,7 +130,7 @@
+--- a/bin/pyqso
++++ b/bin/pyqso
+@@ -71,7 +71,7 @@
+ 
+         self.set_size_request(800, 600)  # Default to an 800 x 600 resolution.
+         self.set_position(Gtk.WindowPosition.CENTER)
+-        possible_icon_paths = [os.path.join(pyqso_path, "icons", "log_64x64.png")]
++        possible_icon_paths = ["/usr/share/icons/log_64x64.png"]
+         for icon_path in possible_icon_paths:
+             try:
+                 self.set_icon_from_file(icon_path)
+@@ -142,7 +142,7 @@
  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.""")
-       about.set_comments("PyQSO: A contact logging tool for amateur radio operators.")
--      possible_icon_paths = [os.path.join(pyqso_path, "icons", "log_64x64.png")]
-+      possible_icon_paths = ["/usr/share/icons/log_64x64.png"]
-       for icon_path in possible_icon_paths:
-          try:
-             about.set_logo(GdkPixbuf.Pixbuf.new_from_file_at_scale(icon_path, 64, 64, False))
+         about.set_comments("PyQSO: A contact logging tool for amateur radio operators.")
+-        possible_icon_paths = [os.path.join(pyqso_path, "icons", "log_64x64.png")]
++        possible_icon_paths = ["/usr/share/icons/log_64x64.png"]
+         for icon_path in possible_icon_paths:
+             try:
+                 about.set_logo(GdkPixbuf.Pixbuf.new_from_file_at_scale(icon_path, 64, 64, False))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/pyqso.git



More information about the pkg-hamradio-commits mailing list