summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2010-05-25 16:52:06 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2010-05-25 16:52:06 +0000
commit1bc6d9dbac08c124946ddc3138e03211e46adcee (patch)
tree82c6f2ea1df34763ba2c07a5622709b15b56eb07 /media-radio/xlog
parentAdd REE18 support (diff)
downloadhistorical-1bc6d9dbac08c124946ddc3138e03211e46adcee.tar.gz
historical-1bc6d9dbac08c124946ddc3138e03211e46adcee.tar.bz2
historical-1bc6d9dbac08c124946ddc3138e03211e46adcee.zip
Moved back from sunrise. See bug #174930
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'media-radio/xlog')
-rw-r--r--media-radio/xlog/ChangeLog11
-rw-r--r--media-radio/xlog/Manifest7
-rw-r--r--media-radio/xlog/files/xlog-1.9-desktop-update.patch51
-rw-r--r--media-radio/xlog/files/xlog-2.0.1-adif.patch11
-rw-r--r--media-radio/xlog/files/xlog-2.0.2-qsl.patch28
-rw-r--r--media-radio/xlog/metadata.xml9
-rw-r--r--media-radio/xlog/xlog-2.0.3.ebuild53
7 files changed, 170 insertions, 0 deletions
diff --git a/media-radio/xlog/ChangeLog b/media-radio/xlog/ChangeLog
new file mode 100644
index 000000000000..af921f131346
--- /dev/null
+++ b/media-radio/xlog/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-radio/xlog
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-radio/xlog/ChangeLog,v 1.11 2010/05/25 16:52:06 tomjbe Exp $
+
+*xlog-2.0.3 (25 May 2010)
+
+ 25 May 2010; Thomas Beierlein <tomjbe@gentoo.org>
+ +files/xlog-1.9-desktop-update.patch, +files/xlog-2.0.1-adif.patch,
+ +files/xlog-2.0.2-qsl.patch, +xlog-2.0.3.ebuild, +metadata.xml:
+ Moved back from sunrise. See bug #174930
+
diff --git a/media-radio/xlog/Manifest b/media-radio/xlog/Manifest
new file mode 100644
index 000000000000..6e624a402434
--- /dev/null
+++ b/media-radio/xlog/Manifest
@@ -0,0 +1,7 @@
+AUX xlog-1.9-desktop-update.patch 1393 RMD160 045463b085cb4587b571c9ecbf70aafadaf5b716 SHA1 d4143c9f581ab1859f7ea38584248f61358e0b05 SHA256 c9f9afee6309420b875363a3a52a996e48e98c6d6d236c91c2c81c78ce21c13a
+AUX xlog-2.0.1-adif.patch 364 RMD160 5747c9bfd9a5e6e68d03b3e850736081af27805e SHA1 9077661c53401c44191c653d99250e0e4c9d63ea SHA256 b2ae523994271baa65f5847b5ee3528cc4d0e3924bdeacb9bb46098b21452986
+AUX xlog-2.0.2-qsl.patch 809 RMD160 e1e124b746c0f08febf4f7e1bc33c66735181d18 SHA1 eab5c1cd9a3ba051abcce4ab3c843390410731c9 SHA256 e6cf4baa72b46f4e705fc9d6084f0ff538874fe6774c796dab8c4126799d8997
+DIST xlog-2.0.3.tar.gz 11141993 RMD160 b4882d0916ebb80306e497367dacf065b687009b SHA1 cc073fb3844b240ecaeed3119fc9b430e4116faf SHA256 ca12a468d2b10b11adbff365d0731853bfc54d915a342b2e3b712629d092f245
+EBUILD xlog-2.0.3.ebuild 1324 RMD160 063794be89f25d6df869f1ed3a7904807e53c4db SHA1 b5af1836a928fa870c94eaaace448bf185921e6b SHA256 971264d1ad3a995e01aec6a9b98fce3033f36fd8ef886107f0b6919f15c006d1
+MISC ChangeLog 465 RMD160 fe8fb3c078f9e0eb7a6c3065eb478d4792730d62 SHA1 bb136b1d1e9d7a92c49851b60df1beb0806c5e0a SHA256 8dcee893e615a3260ad0dff19cf26e7104dea4c70bfee1b3d0e9ebb3fb2e603b
+MISC metadata.xml 252 RMD160 97b7e7d78993c6123ed2d99298be3bade7e52197 SHA1 d747c2ba9a0158afb075712518f6442af74a6fbb SHA256 e9ecb799a64ff215ac2412db6e6c133d8d325c330d07b087b23d21ad0b56c7a6
diff --git a/media-radio/xlog/files/xlog-1.9-desktop-update.patch b/media-radio/xlog/files/xlog-1.9-desktop-update.patch
new file mode 100644
index 000000000000..ccdb2ddac205
--- /dev/null
+++ b/media-radio/xlog/files/xlog-1.9-desktop-update.patch
@@ -0,0 +1,51 @@
+--- configure.in.orig 2007-11-06 15:49:25.000000000 -0800
++++ configure.in 2007-11-06 15:51:22.000000000 -0800
+@@ -48,6 +48,7 @@
+ AH_TEMPLATE([HAVE_LC_MESSAGES], [])
+ AH_TEMPLATE([HAVE_STPCPY], [])
+
++dnl MIME update
+ AC_ARG_ENABLE(mime-update,
+ [ --enable-mime-update update the mime database],
+ [case "${enableval}" in
+@@ -63,6 +64,21 @@
+ echo "disabled updating of the mime database"
+ fi
+
++dnl Desktop update
++AC_ARG_ENABLE(desktop-update,
++[ --enable-desktop-update update the desktop database],
++[case "${enableval}" in
++ yes) desk_update=true ;;
++ no) desk_update=false ;;
++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-desk-update) ;;
++esac],[desk_update=false])
++AM_CONDITIONAL(DESKUPDATE, test x$desk_update = xtrue)
++
++if test "x${desk_update}" != "xfalse"; then
++ echo "enabled updating of the desktop database"
++else
++ echo "disabled updating of the desktop database"
++fi
+
+ AC_OUTPUT([po/Makefile.in
+ Makefile
+--- data/desktop/Makefile.am.orig 2007-11-06 15:47:51.000000000 -0800
++++ data/desktop/Makefile.am 2007-11-06 15:48:16.000000000 -0800
+@@ -5,12 +5,16 @@
+
+ EXTRA_DIST = $(DESKTOP_FILES)
+
++if DESKUPDATE
+ install-data-hook:
+ if HAVE_DESKTOP
+ $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(datadir)/applications"
+ endif
++endif
+
++if DESKUPDATE
+ uninstall-hook:
+ if HAVE_DESKTOP
+ $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(datadir)/applications"
+ endif
++endif
diff --git a/media-radio/xlog/files/xlog-2.0.1-adif.patch b/media-radio/xlog/files/xlog-2.0.1-adif.patch
new file mode 100644
index 000000000000..fe1769c0ada9
--- /dev/null
+++ b/media-radio/xlog/files/xlog-2.0.1-adif.patch
@@ -0,0 +1,11 @@
+--- src/logfile/adif.c.orig 2009-04-12 16:09:51.000000000 +0200
++++ src/logfile/adif.c 2009-04-12 16:10:05.000000000 +0200
+@@ -383,7 +383,7 @@
+ return "BAND";
+ }
+ case MODE: return "MODE";
+- case POWER: return "TX_POWER";
++ case POWER: return "TX_PWR";
+ case RST: return "RST_SENT";
+ case MYRST: return "RST_RCVD";
+ case QSLOUT: return "QSL_SENT";
diff --git a/media-radio/xlog/files/xlog-2.0.2-qsl.patch b/media-radio/xlog/files/xlog-2.0.2-qsl.patch
new file mode 100644
index 000000000000..f0410184f9fe
--- /dev/null
+++ b/media-radio/xlog/files/xlog-2.0.2-qsl.patch
@@ -0,0 +1,28 @@
+--- src/logfile/adif.c.orig 2009-05-17 13:09:29.000000000 +0200
++++ src/logfile/adif.c 2009-05-17 15:28:32.000000000 +0200
+@@ -449,6 +449,25 @@
+ }
+ }
+
++ /* export all QSL-info's as 'Y' for 'y', 'Y' or 'x',
++ * drop entry for 'n' or 'N' and
++ * as 'V' (invalid) for all other values of nonzero length
++ */
++ else if (fld == QSLOUT || fld == QSLIN)
++ {
++ qfield = q[fld];
++ if (qfield_len == 1 && (qfield[0] == 'Y' || qfield[0] == 'y' || qfield[0] == 'X' || qfield[0] == 'x'))
++ qfield[0] = 'Y';
++ else if (qfield_len == 1 && (qfield[0] == 'N' || qfield[0] == 'n'))
++ continue;
++ else
++ {
++ qfield[0] = 'I';
++ qfield[1] = '\0';
++ qfield_len = 1;
++ }
++ }
++
+ else if (fld == RST || fld == MYRST)
+ {
+ if (mode == MODE_SSB || mode == MODE_AM || mode == MODE_FM)
diff --git a/media-radio/xlog/metadata.xml b/media-radio/xlog/metadata.xml
new file mode 100644
index 000000000000..9ec9a43db5da
--- /dev/null
+++ b/media-radio/xlog/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+</maintainer>
+</pkgmetadata>
diff --git a/media-radio/xlog/xlog-2.0.3.ebuild b/media-radio/xlog/xlog-2.0.3.ebuild
new file mode 100644
index 000000000000..032787716be1
--- /dev/null
+++ b/media-radio/xlog/xlog-2.0.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-radio/xlog/xlog-2.0.3.ebuild,v 1.1 2010/05/25 16:52:06 tomjbe Exp $
+
+EAPI=2
+
+inherit autotools eutils fdo-mime
+
+DESCRIPTION="An amateur radio logging program"
+HOMEPAGE="http://www.nongnu.org/xlog"
+SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/hamlib
+ =dev-libs/glib-2*
+ >=x11-libs/gtk+-2.12"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ dev-util/pkgconfig"
+
+src_prepare() {
+ # Let portage handle updating mime/desktop databases,
+ epatch "${FILESDIR}/${PN}-1.9-desktop-update.patch"
+ # and patch wrong ADIF export
+ epatch "${FILESDIR}/${PN}-2.0.1-adif.patch" \
+ "${FILESDIR}/${PN}-2.0.2-qsl.patch"
+ eautoreconf
+}
+
+src_configure() {
+ # mime-update causes file collisions if enabled
+ econf --disable-mime-update --disable-desktop-update \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS data/doc/THANKS NEWS README || die "dodoc failed"
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}