summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2010-05-19 05:35:58 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2010-05-19 05:35:58 +0000
commitf884e6fccde8af07ab88856e2d7a2dd0143f19a1 (patch)
treeeeda0b555cfc86e52d0d290f3f2aca540532cf48 /media-radio
parentDepend on dev-perl/IO-Socket-SSL for ssl support (#320473) (diff)
downloadhistorical-f884e6fccde8af07ab88856e2d7a2dd0143f19a1.tar.gz
historical-f884e6fccde8af07ab88856e2d7a2dd0143f19a1.tar.bz2
historical-f884e6fccde8af07ab88856e2d7a2dd0143f19a1.zip
Moved back from sunrise. See Bug #109695
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/xastir/ChangeLog11
-rw-r--r--media-radio/xastir/Manifest6
-rw-r--r--media-radio/xastir/files/xastir-1.9.8-Destdir.diff20
-rw-r--r--media-radio/xastir/files/xastir-1.9.8-scripts.diff86
-rw-r--r--media-radio/xastir/metadata.xml15
-rw-r--r--media-radio/xastir/xastir-1.9.8.ebuild76
6 files changed, 214 insertions, 0 deletions
diff --git a/media-radio/xastir/ChangeLog b/media-radio/xastir/ChangeLog
new file mode 100644
index 000000000000..e56acfbc705c
--- /dev/null
+++ b/media-radio/xastir/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-radio/xastir
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-radio/xastir/ChangeLog,v 1.11 2010/05/19 05:35:57 tomjbe Exp $
+
+*xastir-1.9.8 (19 May 2010)
+
+ 19 May 2010; Thomas Beierlein <tomjbe@gentoo.org> +xastir-1.9.8.ebuild,
+ +files/xastir-1.9.8-Destdir.diff, +files/xastir-1.9.8-scripts.diff,
+ +metadata.xml:
+ Moved back from sunrise. See Bug #109695
+
diff --git a/media-radio/xastir/Manifest b/media-radio/xastir/Manifest
new file mode 100644
index 000000000000..1d591621ae4d
--- /dev/null
+++ b/media-radio/xastir/Manifest
@@ -0,0 +1,6 @@
+AUX xastir-1.9.8-Destdir.diff 630 RMD160 510c390e0c68eaf275ccb6a0d06800efddfd60f0 SHA1 566bd560cb78d1a46af7a48954d8c44730a62800 SHA256 a468240fc6c9397272057bf0cdb313dde6420a14b13697b87554e7e6e07f07c8
+AUX xastir-1.9.8-scripts.diff 2741 RMD160 68f6b2c5a663b23f83002f3f2b381f7e2470d622 SHA1 e47b3db778066d0fbf5511d2f3b14246b442480a SHA256 44276ac01a0a8da7908444c3d46502fb9a38cea9a73cabbb248b7b68829de517
+DIST xastir-1.9.8.tar.gz 2471489 RMD160 c5c7d0ab1fe9abfcbda4ddd1db3e97c0548babd5 SHA1 0832e73fd3b2863561e1eabd4ea97abd2ca3e669 SHA256 11006763874bf8a9bcf034f4fd1ff4de4d0038fb26f3df94798f2e89a4a22cdf
+EBUILD xastir-1.9.8.ebuild 2003 RMD160 26ee848f99a80313ab9446319e205d00a9661455 SHA1 9e196c4782756baca1bededc597b273166e5ad0c SHA256 fc30dfc67df36bbaf6397424531ee1d6eac5c4f9676147a44ad59296f88bfd33
+MISC ChangeLog 444 RMD160 4ceddf26b6e05728f41c714e284c116ff6ad9ff9 SHA1 d2a439d89669d9637b4e2a6c311a6f5f4ac8684e SHA256 088a0a676b9f63da7c840cce007cf14715633544d3891ce5157d400356c32b75
+MISC metadata.xml 530 RMD160 54ce1ef09ca00341b1bca45f43fb2c1eeb6e8b12 SHA1 e6868af9c19b455d40b3cc484db25fcc90bbf563 SHA256 879907969e00f8138fb25e7a5034d06d00e2c1327fe3355aebe6902f0a0f4b63
diff --git a/media-radio/xastir/files/xastir-1.9.8-Destdir.diff b/media-radio/xastir/files/xastir-1.9.8-Destdir.diff
new file mode 100644
index 000000000000..64a08e1ba56c
--- /dev/null
+++ b/media-radio/xastir/files/xastir-1.9.8-Destdir.diff
@@ -0,0 +1,20 @@
+--- config/Makefile.am.orig 2008-06-12 21:30:44.000000000 +0200
++++ config/Makefile.am 2009-06-06 18:03:32.000000000 +0200
+@@ -57,5 +57,5 @@
+ config_DATA = ${EXTRA_DIST}
+
+ install-exec-hook:
+- rm -f \$(configdir)/nwsfz_ddmmyy.dbfawk
++ rm -f $(DESTDIR)$(configdir)/nwsfz_ddmmyy.dbfawk
+
+--- Makefile.am.old 2010-05-17 21:49:11.000000000 +0200
++++ Makefile.am 2010-05-17 21:49:45.000000000 +0200
+@@ -63,7 +63,7 @@
+ # documentation is FHS compliant.
+
+ install-exec-hook:
+- -rm -rf ${pkgdatadir}/doc
++ -rm -rf ${DESTDIR}${pkgdatadir}/doc
+
+ mandir=${prefix}/share/man
+ man_MANS=xastir.1 callpass.1 xastir_udp_client.1 testdbfawk.1
diff --git a/media-radio/xastir/files/xastir-1.9.8-scripts.diff b/media-radio/xastir/files/xastir-1.9.8-scripts.diff
new file mode 100644
index 000000000000..292c0cb14fd9
--- /dev/null
+++ b/media-radio/xastir/files/xastir-1.9.8-scripts.diff
@@ -0,0 +1,86 @@
+diff -ur scripts.orig/Makefile.am scripts/Makefile.am
+--- scripts.orig/Makefile.am 2009-10-15 21:47:20.000000000 +0200
++++ scripts/Makefile.am 2009-10-15 21:47:57.000000000 +0200
+@@ -9,9 +9,7 @@
+ get-fcc-rac.pl \
+ get-gnis \
+ get-pop \
+- get-maptools.sh \
+ get-NWSdata \
+- get_shapelib.sh \
+ gpx2shape \
+ icontable.pl \
+ inf2geo.pl \
+@@ -39,8 +37,6 @@
+ values \
+ values.pl \
+ waypoint-get.pl \
+- xastir-fixcfg.sh \
+- xastir-migrate.sh \
+ Xastir_tigerpoly.py
+
+ EXTRA_DIST = $(pkglib_SCRIPTS)
+diff -u scripts.orig/permutations.pl scripts/permutations.pl
+--- scripts.orig/permutations.pl 2005-03-25 21:53:04.000000000 +0100
++++ scripts/permutations.pl 2008-08-16 07:47:00.000000000 +0200
+@@ -34,7 +34,7 @@
+ #
+
+
+-use lib "/usr/local/lib";
++use lib "/usr/lib";
+ use Coordinate; # WE7U's Coordinate.pm module
+
+
+diff -u scripts.orig/test_coord.pl scripts/test_coord.pl
+--- scripts.orig/test_coord.pl 2003-01-06 23:42:17.000000000 +0100
++++ scripts/test_coord.pl 2008-08-16 07:47:00.000000000 +0200
+@@ -33,7 +33,7 @@
+
+ #------------------------------------------------------------------------------------------------
+
+-use lib "/usr/local/lib";
++use lib "/usr/lib";
+ use Coordinate; # Snag WE7U's Coordinate module
+
+
+diff -u scripts.orig/toporama250k.pl scripts/toporama250k.pl
+--- scripts.orig/toporama250k.pl 2008-08-16 07:42:13.000000000 +0200
++++ scripts/toporama250k.pl 2008-08-16 08:03:08.000000000 +0200
+@@ -28,14 +28,14 @@
+ # map files for the whole of Canada!
+ #
+ #
+-# - "cd /usr/local/share/xastir/maps"
++# - "cd /usr/share/xastir/maps"
+ #
+ # - Assure you have write privileges in the directory above either
+ # by becoming root using the "su" command, using "sudo", or
+ # temporarily changing ownership and/or privileges on the
+ # "maps" directory.
+ #
+-# - "/usr/local/lib/xastir/toporama250k.pl"
++# - "/usr/lib/xastir/toporama250k.pl"
+ #
+ # - The script will create/populate this directory heirarchy:
+ # .../maps/toporama/images/
+diff -u scripts.orig/toporama50k.pl scripts/toporama50k.pl
+--- scripts.orig/toporama50k.pl 2008-08-16 07:42:13.000000000 +0200
++++ scripts/toporama50k.pl 2008-08-16 08:02:48.000000000 +0200
+@@ -27,14 +27,14 @@
+ # map files for the whole of Canada!
+ #
+ #
+-# - "cd /usr/local/share/xastir/maps"
++# - "cd /usr/share/xastir/maps"
+ #
+ # - Assure you have write privileges in the directory above either
+ # by becoming root using the "su" command, using "sudo", or
+ # temporarily changing ownership and/or privileges on the
+ # "maps" directory.
+ #
+-# - "/usr/local/lib/xastir/toporama50k.pl"
++# - "/usr/lib/xastir/toporama50k.pl"
+ #
+ # - The script will create/populate this directory heirarchy:
+ # .../maps/toporama/images/
diff --git a/media-radio/xastir/metadata.xml b/media-radio/xastir/metadata.xml
new file mode 100644
index 000000000000..36b7b07da984
--- /dev/null
+++ b/media-radio/xastir/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+ <use>
+ <flag name='festival'>Enable text to speech synthesizer</flag>
+ <flag name='gdal'>Support for some further map formats</flag>
+ <flag name='geotiff'>Install geotiff support. Allows using USGS DRG topo
+ maps or other types of geotiff mapes/images</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-radio/xastir/xastir-1.9.8.ebuild b/media-radio/xastir/xastir-1.9.8.ebuild
new file mode 100644
index 000000000000..da8d4a45d60e
--- /dev/null
+++ b/media-radio/xastir/xastir-1.9.8.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-radio/xastir/xastir-1.9.8.ebuild,v 1.1 2010/05/19 05:35:57 tomjbe Exp $
+
+EAPI=2
+inherit autotools eutils multilib
+
+DESCRIPTION="X Amateur Station Tracking and Information Reporting"
+HOMEPAGE="http://xastir.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="festival gdal geotiff imagemagick"
+
+DEPEND="x11-libs/openmotif
+ x11-libs/libXpm
+ x11-apps/xfontsel
+ dev-libs/libpcre
+ net-misc/curl
+ sys-libs/db
+ sci-libs/shapelib
+ geotiff? ( sci-libs/proj
+ sci-libs/libgeotiff
+ media-libs/tiff )
+ gdal? ( sci-libs/gdal )
+ imagemagick? ( media-gfx/imagemagick )
+ festival? ( app-accessibility/festival )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # fix hardcoded /usr/local paths in scripts
+ epatch "${FILESDIR}"/${P}-scripts.diff
+ # and patch libdir
+ for f in scripts/permutations.pl scripts/test_coord.pl \
+ scripts/toporama250k.pl scripts/toporama50k.pl; do
+ sed -i -e "s:/usr/lib:/usr/$(get_libdir):g" "${f}" \
+ || die "sed failed on ${f}"
+ done
+
+ # fix for DESTDIR
+ epatch "${FILESDIR}"/${P}-Destdir.diff
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --without-graphicsmagick \
+ --with-pcre \
+ --with-shapelib \
+ --with-dbfawk \
+ --without-ax25 \
+ --without-gpsman \
+ $(use_with geotiff libproj) \
+ $(use_with geotiff) \
+ $(use_with gdal) \
+ $(use_with imagemagick) \
+ $(use_with festival)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ rm -rf "${D}"/usr/share/doc/${P}
+ dodoc AUTHORS ChangeLog FAQ README README.Contributing \
+ README.Getting-Started README.MAPS || die "dodoc failed"
+}
+
+pkg_postinst() {
+ elog "Kernel mode AX.25 and GPSman library not supported."
+ elog
+ elog "Remember you have to be root to add addditional scripts,"
+ elog "maps and other configuration data under /usr/share/xastir"
+ elog "and /usr/$(get_libdir)/xastir."
+}