summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2013-05-24 07:12:30 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2013-05-24 07:12:30 +0000
commit634ab2960307b15155f2fea5bca91f81189e557e (patch)
tree44c856ed3b146e6a43cc4b281a39085837267743 /media-radio/xlog
parentAdd systemd support (thanks Łukasz Stelmach, bug 444692) (diff)
downloadgentoo-2-634ab2960307b15155f2fea5bca91f81189e557e.tar.gz
gentoo-2-634ab2960307b15155f2fea5bca91f81189e557e.tar.bz2
gentoo-2-634ab2960307b15155f2fea5bca91f81189e557e.zip
Fix QA warnings in .desktop file. Fix cabrillo import function.
(Portage version: 2.1.12.1/cvs/Linux x86_64, signed Manifest commit with key 0x762053D5)
Diffstat (limited to 'media-radio/xlog')
-rw-r--r--media-radio/xlog/ChangeLog6
-rw-r--r--media-radio/xlog/files/xlog-2.0.7-cabrillo.patch11
-rw-r--r--media-radio/xlog/files/xlog-2.0.7-desktop.patch14
-rw-r--r--media-radio/xlog/xlog-2.0.7.ebuild5
4 files changed, 34 insertions, 2 deletions
diff --git a/media-radio/xlog/ChangeLog b/media-radio/xlog/ChangeLog
index bc04003e9bca..f5b866200630 100644
--- a/media-radio/xlog/ChangeLog
+++ b/media-radio/xlog/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-radio/xlog
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-radio/xlog/ChangeLog,v 1.28 2013/05/23 17:23:47 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-radio/xlog/ChangeLog,v 1.29 2013/05/24 07:12:30 tomjbe Exp $
+
+ 24 May 2013; Thomas Beierlein <tomjbe@gentoo.org> xlog-2.0.7.ebuild,
+ +files/xlog-2.0.7-cabrillo.patch, +files/xlog-2.0.7-desktop.patch:
+ Fix QA warnings in .desktop file. Fix cabrillo import function.
23 May 2013; Agostino Sarubbo <ago@gentoo.org> xlog-2.0.7.ebuild:
Stable for amd64, wrt bug #470518
diff --git a/media-radio/xlog/files/xlog-2.0.7-cabrillo.patch b/media-radio/xlog/files/xlog-2.0.7-cabrillo.patch
new file mode 100644
index 000000000000..4ee6fdda9ba4
--- /dev/null
+++ b/media-radio/xlog/files/xlog-2.0.7-cabrillo.patch
@@ -0,0 +1,11 @@
+--- src/logfile/cabrillo3.c.old 2013-05-23 15:27:32.000000000 +0200
++++ src/logfile/cabrillo3.c 2013-05-23 15:27:40.000000000 +0200
+@@ -341,7 +341,7 @@
+ g_strdup_printf ("%d", khz/1000);
+ else
+ q[cabrillo_fields[i]] =
+- g_strdup_printf ("%d.%d", khz/1000, khz%1000);
++ g_strdup_printf ("%d.%03d", khz/1000, khz%1000);
+ }
+ else
+ {
diff --git a/media-radio/xlog/files/xlog-2.0.7-desktop.patch b/media-radio/xlog/files/xlog-2.0.7-desktop.patch
new file mode 100644
index 000000000000..e124e062351c
--- /dev/null
+++ b/media-radio/xlog/files/xlog-2.0.7-desktop.patch
@@ -0,0 +1,14 @@
+--- data/desktop/xlog.desktop.orig 2013-05-24 08:23:25.000000000 +0200
++++ data/desktop/xlog.desktop 2013-05-24 08:24:47.000000000 +0200
+@@ -5,8 +5,8 @@
+ Comment[pl]=Dziennik łączności dla radioamatorów
+ TryExec=xlog
+ Exec=xlog %F
+-Icon=xlog-icon.png
++Icon=xlog-icon
+ Terminal=false
+ Type=Application
+-Categories=Utility;Database;HamRadio;GTK
+-MimeType=text/x-xlog
++Categories=Utility;Database;HamRadio;GTK;
++MimeType=text/x-xlog;
diff --git a/media-radio/xlog/xlog-2.0.7.ebuild b/media-radio/xlog/xlog-2.0.7.ebuild
index 2cf90538053f..d56bf7dd28c1 100644
--- a/media-radio/xlog/xlog-2.0.7.ebuild
+++ b/media-radio/xlog/xlog-2.0.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-radio/xlog/xlog-2.0.7.ebuild,v 1.2 2013/05/23 17:23:47 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-radio/xlog/xlog-2.0.7.ebuild,v 1.3 2013/05/24 07:12:30 tomjbe Exp $
EAPI=4
@@ -26,6 +26,9 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
src_prepare() {
+ epatch "${FILESDIR}/${P}-cabrillo.patch" \
+ "${FILESDIR}/${P}-desktop.patch"
+
# Let portage handle updating mime/desktop databases,
epatch "${FILESDIR}/${PN}-1.9-desktop-update.patch"
eautoreconf