From 3df5e2ab3fc65d013149563b178803f3258f2136 Mon Sep 17 00:00:00 2001 From: Thomas Beierlein Date: Sat, 8 Dec 2018 15:11:23 +0100 Subject: media-radio/xastir: Version bump Closes: https://bugs.gentoo.org/670166 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Thomas Beierlein --- media-radio/xastir/Manifest | 1 + media-radio/xastir/files/xastir-2.1.0-scripts.diff | 92 ++++++++++++++++++++++ media-radio/xastir/xastir-2.1.0.ebuild | 91 +++++++++++++++++++++ 3 files changed, 184 insertions(+) create mode 100644 media-radio/xastir/files/xastir-2.1.0-scripts.diff create mode 100644 media-radio/xastir/xastir-2.1.0.ebuild diff --git a/media-radio/xastir/Manifest b/media-radio/xastir/Manifest index d82bd3b320f6..9b0fbe3e7836 100644 --- a/media-radio/xastir/Manifest +++ b/media-radio/xastir/Manifest @@ -1 +1,2 @@ DIST xastir-2.0.8.tar.gz 2697256 BLAKE2B 12a12219885d7923e3262494ac39b7b7f200118953b1e47ae25917f3f1732a1cff931de06462de7d5f1216c9b61561f8090fc49e18b40380eaa58b3559c5f123 SHA512 fd98a880392e9fcb049c6049ebc6a6a5e600571b7b59fd7061a72404abd68530ae6f152c9eabdc39be0458b33b363ce7fa3fdd5330003298bca8eaac62a6982f +DIST xastir-2.1.0.tar.gz 2996246 BLAKE2B c4b607f09a5cc52daa18ac5ac8c761cf99adc7ae7d61c481d56383ac8a62302b8ec96593a24a8f5870ec7b6aa12ca619f1b93954d120cceaa1126343e080517f SHA512 32c1297d6399c34078158853beba32a4d018d060088b014be004b0837a887c6360e417e1d59ed7865ea1caa3c07f59d7bb4ee3cf9c035e2aabf6ba4783e3d288 diff --git a/media-radio/xastir/files/xastir-2.1.0-scripts.diff b/media-radio/xastir/files/xastir-2.1.0-scripts.diff new file mode 100644 index 000000000000..de8a461bceab --- /dev/null +++ b/media-radio/xastir/files/xastir-2.1.0-scripts.diff @@ -0,0 +1,92 @@ +# patch scripts location (bug #407185). partially backported from upstream. +diff -u Xastir-Release-2.1.0/scripts.orig/Makefile.am Xastir-Release-2.1.0/scripts/Makefile.am +--- Xastir-Release-2.1.0/scripts.orig/Makefile.am 2018-12-08 12:14:51.881373754 +0100 ++++ Xastir-Release-2.1.0/scripts/Makefile.am 2018-12-08 12:15:53.206401168 +0100 +@@ -45,10 +45,8 @@ + waypoint-get.pl \ + wms.pl \ + wxnowsrv.pl \ +- xastir-fixcfg.sh \ +- xastir-migrate.sh \ + Xastir_tigerpoly.py + + install-data-hook: + cd $(DESTDIR)$(scriptsdir) && \ +- chmod a+x *.sh *.pl *.py get-* gpx2* *.bash ++ chmod a+x *.pl *.py get-* gpx2* *.bash +diff -Nur -u xastir-2.0.0.orig/scripts/coord-convert.pl xastir-2.0.0/scripts/coord-convert.pl +--- xastir-2.0.0.orig/scripts/coord-convert.pl 2010-07-03 22:09:48.000000000 +0000 ++++ xastir-2.0.0/scripts/coord-convert.pl 2012-03-07 15:46:01.000000000 +0000 +@@ -26,7 +26,7 @@ + # + + +-use lib "${prefix}/lib"; ++use lib /usr/share/xastir/scripts; + use Coordinate; # WE7U's Coordinate.pm module + + +diff -Nur -u xastir-2.0.0.orig/scripts/permutations.pl xastir-2.0.0/scripts/permutations.pl +--- xastir-2.0.0.orig/scripts/permutations.pl 2010-07-03 22:09:48.000000000 +0000 ++++ xastir-2.0.0/scripts/permutations.pl 2012-03-07 15:42:34.000000000 +0000 +@@ -34,7 +34,7 @@ + # + + +-use lib "/usr/local/lib"; ++use lib "/usr/share/xastir/scripts"; + use Coordinate; # WE7U's Coordinate.pm module + + +diff -Nur -u xastir-2.0.0.orig/scripts/test_coord.pl xastir-2.0.0/scripts/test_coord.pl +--- xastir-2.0.0.orig/scripts/test_coord.pl 2010-01-31 02:12:23.000000000 +0000 ++++ xastir-2.0.0/scripts/test_coord.pl 2012-03-07 15:42:34.000000000 +0000 +@@ -33,7 +33,7 @@ + + #------------------------------------------------------------------------------------------------ + +-use lib "/usr/local/lib"; ++use lib "/usr/share/xastir/scripts"; + use Coordinate; # Snag WE7U's Coordinate module + + +diff -Nur -u xastir-2.0.0.orig/scripts/toporama250k.pl xastir-2.0.0/scripts/toporama250k.pl +--- xastir-2.0.0.orig/scripts/toporama250k.pl 2010-01-31 02:12:23.000000000 +0000 ++++ xastir-2.0.0/scripts/toporama250k.pl 2012-03-07 15:46:49.000000000 +0000 +@@ -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/share/xastir/scripts/toporama250k.pl" + # + # - The script will create/populate this directory heirarchy: + # .../maps/toporama/images/ +diff -Nur -u xastir-2.0.0.orig/scripts/toporama50k.pl xastir-2.0.0/scripts/toporama50k.pl +--- xastir-2.0.0.orig/scripts/toporama50k.pl 2010-01-31 02:12:23.000000000 +0000 ++++ xastir-2.0.0/scripts/toporama50k.pl 2012-03-07 15:47:01.000000000 +0000 +@@ -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/share/xastir/scripts/toporama50k.pl" + # + # - The script will create/populate this directory heirarchy: + # .../maps/toporama/images/ diff --git a/media-radio/xastir/xastir-2.1.0.ebuild b/media-radio/xastir/xastir-2.1.0.ebuild new file mode 100644 index 000000000000..e11209b5a303 --- /dev/null +++ b/media-radio/xastir/xastir-2.1.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils flag-o-matic toolchain-funcs + +MY_P=${PN/x/X}-Release-${PV} + +DESCRIPTION="X Amateur Station Tracking and Information Reporting" +HOMEPAGE="http://xastir.org/" +SRC_URI="https://github.com/Xastir/Xastir/archive/Release-2.1.0.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="festival gdal geotiff +graphicsmagick" + +DEPEND=">=x11-libs/motif-2.3:0 + x11-libs/libXt + x11-libs/libX11 + x11-libs/libXpm + x11-apps/xfontsel + dev-libs/libpcre + net-misc/curl + sys-libs/db:4.8 + sci-libs/shapelib + !graphicsmagick? (