[Pkg-running-devel] [pytrainer] 06/12: Create patch to fix some minor bugs in pytrainer.dektop file and refresh the remove_gpsbabel_version patch

Marcelo Santana darkstar-guest at moszumanska.debian.org
Tue Jan 12 16:00:44 UTC 2016


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

darkstar-guest pushed a commit to branch master
in repository pytrainer.

commit bb7c15bda792c588c16908e486bba32534175f0b
Author: Marcelo Santana <marcelo at msantana.eng.br>
Date:   Thu Jan 7 17:15:07 2016 -0300

    Create patch to fix some minor bugs in pytrainer.dektop file and refresh
    the remove_gpsbabel_version patch
---
 debian/changelog                                    |  2 ++
 debian/patches/02_remove_gpsbabel_version_req.patch | 10 +++++-----
 debian/patches/03_desktop_file.patch                | 19 +++++++++++++++++++
 debian/patches/series                               |  1 +
 4 files changed, 27 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e314ef4..88bb252 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ pytrainer (1.10.2~git20160107-1) UNRELEASED; urgency=medium
   * Change upstream homepage from user account to repository and improve
     extended description in debian/control
   * Add debian/watch file
+  * Create patch to fix some minor bugs in pytrainer.dektop file and refresh
+    the remove_gpsbabel_version patch
 
  -- Marcelo Santana <marcelo at msantana.eng.br>  Thu, 07 Jan 2016 17:04:27 -0300
 
diff --git a/debian/patches/02_remove_gpsbabel_version_req.patch b/debian/patches/02_remove_gpsbabel_version_req.patch
index 510b953..a358806 100644
--- a/debian/patches/02_remove_gpsbabel_version_req.patch
+++ b/debian/patches/02_remove_gpsbabel_version_req.patch
@@ -13,8 +13,8 @@ Description: Upstream changes introduced in version 1.8.0-3ubuntu1
 Author: Brian Murray <brian at ubuntu.com>
 Bug-Ubuntu: https://bugs.launchpad.net/bugs/694603
 
---- pytrainer-1.8.0.orig/plugins/garmin-hr/conf.xml
-+++ pytrainer-1.8.0/plugins/garmin-hr/conf.xml
+--- a/plugins/garmin-hr/conf.xml
++++ b/plugins/garmin-hr/conf.xml
 @@ -1,7 +1,7 @@
  <?xml version="1.0" ?>
  <pytrainer-plugin 
@@ -25,9 +25,9 @@ Bug-Ubuntu: https://bugs.launchpad.net/bugs/694603
  	plugincode="garminhr"
  	pluginbutton="Import from Garmin GPS device (via GPSBabel)" 
  	executable="garminhr" 
---- pytrainer-1.8.0.orig/plugins/garmin-hr/garminhr.py
-+++ pytrainer-1.8.0/plugins/garmin-hr/garminhr.py
-@@ -54,10 +54,7 @@ class garminhr():
+--- a/plugins/garmin-hr/garminhr.py
++++ b/plugins/garmin-hr/garminhr.py
+@@ -54,10 +54,7 @@
  	def run(self):
  		logging.debug(">>")
  		importfiles = []
diff --git a/debian/patches/03_desktop_file.patch b/debian/patches/03_desktop_file.patch
new file mode 100644
index 0000000..0dfd03c
--- /dev/null
+++ b/debian/patches/03_desktop_file.patch
@@ -0,0 +1,19 @@
+Description: Some minor bug fixes in pytrainer.desktop file
+ This patch was created to fix some minor bugs in pytrainer.desktop file
+ relative to 'Version' that was wrong and 'Keywords' that were missing.
+ .
+Author: Marcelo Santana <marcelo at msantana.eng.br>
+
+--- pytrainer-1.10.1.orig/pytrainer.desktop
++++ pytrainer-1.10.1/pytrainer.desktop
+@@ -1,8 +1,9 @@
+ [Desktop Entry]
+-Version=1.10.0
++Version=1.0
+ Type=Application
+ Name=pytrainer
+ Comment=The Free Sport Training Center
+ Exec=pytrainer
+ Icon=pytrainer
+ Categories=Office;
++Keywords=Sport;Jogging;Running;Race;Workout;
diff --git a/debian/patches/series b/debian/patches/series
index 898945c..1f6a2c9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 02_remove_gpsbabel_version_req.patch
+03_desktop_file.patch

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



More information about the Pkg-running-devel mailing list