[hamradio-commits] [xnec2c] 04/05: Icon updates to close bug

Dave Hibberd hibby-guest at moszumanska.debian.org
Sat Jan 21 17:57:15 UTC 2017


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

hibby-guest pushed a commit to branch master
in repository xnec2c.

commit 6ced2bdd54896389992a1243196abe46701de3f8
Author: Hibby <d at vehibberd.com>
Date:   Sat Jan 21 17:40:14 2017 +0000

    Icon updates to close bug
---
 debian/patches/icon   | 15 +++++++++++++++
 debian/patches/series |  1 +
 debian/xnec2c.desktop |  8 --------
 debian/xnec2c.install |  3 ++-
 4 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/debian/patches/icon b/debian/patches/icon
new file mode 100644
index 0000000..b9635f9
--- /dev/null
+++ b/debian/patches/icon
@@ -0,0 +1,15 @@
+Description: Add full location for icon to desktop file
+Author: Dave Hibberd <d at vehibberd.com>
+Last-Update: 2017-01-21
+
+--- a/xnec2c.desktop
++++ b/xnec2c.desktop
+@@ -4,7 +4,7 @@
+ Name=xnec2c
+ Comment=Antenna analysis
+ Exec=xnec2c -j4
+-Icon=xnec2c.png
++Icon=/usr/share/xnec2c/xnec2c.png
+ Terminal=false
+ Type=Application
+ Categories=HamRadio;Science;Utility
diff --git a/debian/patches/series b/debian/patches/series
index f7e5dde..b44d054 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+icon
 remove-hardcoded-fpie.patch
 add-to-POTFILES.patch
 fix-misc.c.patch
diff --git a/debian/xnec2c.desktop b/debian/xnec2c.desktop
deleted file mode 100644
index e02903e..0000000
--- a/debian/xnec2c.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=Xnec2c
-Comment=Xnec2c antenna simulation
-Exec=xnec2c
-Terminal=false
-Type=Application
-Categories=Education;Science;HamRadio;
-Keywords=antenna;simulation;
diff --git a/debian/xnec2c.install b/debian/xnec2c.install
index ffa533b..e9b9b08 100644
--- a/debian/xnec2c.install
+++ b/debian/xnec2c.install
@@ -1 +1,2 @@
-debian/xnec2c.desktop usr/share/applications/
+xnec2c.desktop usr/share/applications/
+xnec2c.png usr/share/xnec2c/

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



More information about the pkg-hamradio-commits mailing list