diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2010-05-19 05:35:58 +0000 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2010-05-19 05:35:58 +0000 |
commit | a52d56a7c5be3faf93de2eeb4a390b5352a0e90a (patch) | |
tree | 515dead1b4978d5304f8a1b2ed0b1f020acfcac6 /media-radio/xastir | |
parent | Depend on dev-perl/IO-Socket-SSL for ssl support (#320473) (diff) | |
download | gentoo-2-a52d56a7c5be3faf93de2eeb4a390b5352a0e90a.tar.gz gentoo-2-a52d56a7c5be3faf93de2eeb4a390b5352a0e90a.tar.bz2 gentoo-2-a52d56a7c5be3faf93de2eeb4a390b5352a0e90a.zip |
Moved back from sunrise. See Bug #109695
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'media-radio/xastir')
-rw-r--r-- | media-radio/xastir/ChangeLog | 11 | ||||
-rw-r--r-- | media-radio/xastir/files/xastir-1.9.8-Destdir.diff | 20 | ||||
-rw-r--r-- | media-radio/xastir/files/xastir-1.9.8-scripts.diff | 86 | ||||
-rw-r--r-- | media-radio/xastir/metadata.xml | 15 | ||||
-rw-r--r-- | media-radio/xastir/xastir-1.9.8.ebuild | 76 |
5 files changed, 208 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/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." +} |