summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGérald Fenoy <djay@gentoo.org>2006-09-30 15:38:15 +0000
committerGérald Fenoy <djay@gentoo.org>2006-09-30 15:38:15 +0000
commit4c7ecc2e4b21d31e823546a4543429e03617c479 (patch)
tree62f90db920a36cb24f9f093a872039c6ef27a6f1 /sci-geosciences
parentMarking amd64, sparc stable; cleaning out old ebuilds (diff)
downloadhistorical-4c7ecc2e4b21d31e823546a4543429e03617c479.tar.gz
historical-4c7ecc2e4b21d31e823546a4543429e03617c479.tar.bz2
historical-4c7ecc2e4b21d31e823546a4543429e03617c479.zip
Version bump fixing bug #144169
Package-Manager: portage-2.1.1
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/gpsbabel/ChangeLog10
-rw-r--r--sci-geosciences/gpsbabel/Manifest36
-rw-r--r--sci-geosciences/gpsbabel/files/digest-gpsbabel-1.2.72
-rw-r--r--sci-geosciences/gpsbabel/files/digest-gpsbabel-1.3.13
-rw-r--r--sci-geosciences/gpsbabel/files/gpsbabel.patch126
-rw-r--r--sci-geosciences/gpsbabel/gpsbabel-1.3.1.ebuild71
6 files changed, 240 insertions, 8 deletions
diff --git a/sci-geosciences/gpsbabel/ChangeLog b/sci-geosciences/gpsbabel/ChangeLog
index 5ae1043e59cc..c3dccf19c743 100644
--- a/sci-geosciences/gpsbabel/ChangeLog
+++ b/sci-geosciences/gpsbabel/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-geosciences/gpsbabel
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/ChangeLog,v 1.1 2005/09/08 02:49:42 ribosome Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/ChangeLog,v 1.2 2006/09/30 15:38:15 djay Exp $
+
+*gpsbabel-1.3.1 (30 Sep 2006)
+
+ 30 Sep 2006; <djay@gentoo.org> +files/gpsbabel.patch,
+ +gpsbabel-1.3.1.ebuild:
+ Version Bump, thanks jakub and ranaldo@unina.it for their help.
*gpsbabel-1.2.7 (08 Sep 2005)
diff --git a/sci-geosciences/gpsbabel/Manifest b/sci-geosciences/gpsbabel/Manifest
index 0fdfe92fd511..6c75584058f4 100644
--- a/sci-geosciences/gpsbabel/Manifest
+++ b/sci-geosciences/gpsbabel/Manifest
@@ -1,14 +1,38 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 8eff5a7740d4c847ed33742db00881ce ChangeLog 426
-MD5 05edf04caf450a9db74d6d98fedc0269 files/digest-gpsbabel-1.2.7 67
+AUX gpsbabel.patch 4152 RMD160 80ce09ad3870152b34d1ef022a80dd07340d9ed4 SHA1 a702de2099c79073911a38d88b12be6285eaef0a SHA256 f4bb8891edabfa8b0add8599437020bdf76db45a1e441fd8033e40ecc07f58dc
+MD5 06314d17c48ab41aca4c829a5da86b37 files/gpsbabel.patch 4152
+RMD160 80ce09ad3870152b34d1ef022a80dd07340d9ed4 files/gpsbabel.patch 4152
+SHA256 f4bb8891edabfa8b0add8599437020bdf76db45a1e441fd8033e40ecc07f58dc files/gpsbabel.patch 4152
+DIST gpsbabel-1.2.7.tar.gz 1643528 RMD160 bb4c1323bca8fcf0b6facbb11df37bfb611eada2 SHA1 3dec539a185c7ef5b071936a7fc07cbcd67f655d SHA256 08a28e8fb6e04eab170c8983da1601a2636a2a27f4d9aca90e3048c3e15f9d02
+DIST gpsbabel-1.3.1.tar.gz 2817202 RMD160 d428a9937d004258319e8e27e92407feb8dfe97b SHA1 2b406180a51346de9aefb6be161cea17129911b8 SHA256 07ac75975166616af4134b72efeda23d47be992cee875faa46b1bdee0b8afd57
+EBUILD gpsbabel-1.2.7.ebuild 1918 RMD160 edd0be171efa98b26193ec3edfb9545fe965bed8 SHA1 8664b9fe40b0ca41bd6eaa909d90f1e6da63ed5b SHA256 d9fbeff0e60e18a3eea7bc345218534a335149acedc261161710c36ccafdc803
MD5 cb3147a9c94715deb40450889756e61d gpsbabel-1.2.7.ebuild 1918
+RMD160 edd0be171efa98b26193ec3edfb9545fe965bed8 gpsbabel-1.2.7.ebuild 1918
+SHA256 d9fbeff0e60e18a3eea7bc345218534a335149acedc261161710c36ccafdc803 gpsbabel-1.2.7.ebuild 1918
+EBUILD gpsbabel-1.3.1.ebuild 1726 RMD160 4224c7037b588ce09dd36eaefe27d7b73825b9ab SHA1 12c69332c835d8deb94ce68e4de8fe82e603774b SHA256 27c0be87ff2d07f5130814da1e63722231c59cbaeb4bcdd687b5d63d6c7a35a6
+MD5 528aa9cfae5f761476ccf9864e35442e gpsbabel-1.3.1.ebuild 1726
+RMD160 4224c7037b588ce09dd36eaefe27d7b73825b9ab gpsbabel-1.3.1.ebuild 1726
+SHA256 27c0be87ff2d07f5130814da1e63722231c59cbaeb4bcdd687b5d63d6c7a35a6 gpsbabel-1.3.1.ebuild 1726
+MISC ChangeLog 602 RMD160 06999a09bcc104e860ba58c2b70c163025d32c02 SHA1 299487a3ccbca96c14deb85383f554cbb4ffc080 SHA256 6c47b7064871cd9cc7a4edaaf5ac4f290688ef8a7c7f53e096e40ae78cc8e78c
+MD5 40b54ebc1528fe95ad9a86a5f57b8987 ChangeLog 602
+RMD160 06999a09bcc104e860ba58c2b70c163025d32c02 ChangeLog 602
+SHA256 6c47b7064871cd9cc7a4edaaf5ac4f290688ef8a7c7f53e096e40ae78cc8e78c ChangeLog 602
+MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156
+SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156
+MD5 0deb385ef5e5ffd7be7be7ad4e614698 files/digest-gpsbabel-1.2.7 247
+RMD160 9a01685b48b20428a481ea29aebcd5e20fdc6797 files/digest-gpsbabel-1.2.7 247
+SHA256 b382a9afedaeccd0603aa78b2bba18ccbbdcdfe7fda5a8e5cc3592ee609e896c files/digest-gpsbabel-1.2.7 247
+MD5 28f55e2406846e409201f6aee53c4404 files/digest-gpsbabel-1.3.1 247
+RMD160 01380dd5b70a0427470c46ce85a434ce5e604f88 files/digest-gpsbabel-1.3.1 247
+SHA256 a3e7555396d980a13aee66b725c762df9266695580f61de63e6dcf27236a5841 files/digest-gpsbabel-1.3.1 247
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
+Version: GnuPG v1.4.4 (GNU/Linux)
-iD8DBQFDJDPPI1lqEGTUzyQRAkJ1AKDcB4P9+63BmyUTIXLK1p3WIzFJJwCgyBwG
-5BfjMQF8yg89ulmTD4s+Rpw=
-=TkeM
+iD8DBQFFHo+JGG5LT2KRH24RAvVuAKC0CgdmSmGk58LCyh+Tb9Kzty5XmgCgooxm
+bkdpdgW2RcIb4083k7KC7eY=
+=siTh
-----END PGP SIGNATURE-----
diff --git a/sci-geosciences/gpsbabel/files/digest-gpsbabel-1.2.7 b/sci-geosciences/gpsbabel/files/digest-gpsbabel-1.2.7
index 6c212107dc44..9f1ba34fca60 100644
--- a/sci-geosciences/gpsbabel/files/digest-gpsbabel-1.2.7
+++ b/sci-geosciences/gpsbabel/files/digest-gpsbabel-1.2.7
@@ -1 +1,3 @@
MD5 535da9798714e53a9584e22ac7d651d3 gpsbabel-1.2.7.tar.gz 1643528
+RMD160 bb4c1323bca8fcf0b6facbb11df37bfb611eada2 gpsbabel-1.2.7.tar.gz 1643528
+SHA256 08a28e8fb6e04eab170c8983da1601a2636a2a27f4d9aca90e3048c3e15f9d02 gpsbabel-1.2.7.tar.gz 1643528
diff --git a/sci-geosciences/gpsbabel/files/digest-gpsbabel-1.3.1 b/sci-geosciences/gpsbabel/files/digest-gpsbabel-1.3.1
new file mode 100644
index 000000000000..2ef9962ef7b0
--- /dev/null
+++ b/sci-geosciences/gpsbabel/files/digest-gpsbabel-1.3.1
@@ -0,0 +1,3 @@
+MD5 0f108ae0eb32ba440124cebe8cb6e95a gpsbabel-1.3.1.tar.gz 2817202
+RMD160 d428a9937d004258319e8e27e92407feb8dfe97b gpsbabel-1.3.1.tar.gz 2817202
+SHA256 07ac75975166616af4134b72efeda23d47be992cee875faa46b1bdee0b8afd57 gpsbabel-1.3.1.tar.gz 2817202
diff --git a/sci-geosciences/gpsbabel/files/gpsbabel.patch b/sci-geosciences/gpsbabel/files/gpsbabel.patch
new file mode 100644
index 000000000000..00ce1f2c0bd8
--- /dev/null
+++ b/sci-geosciences/gpsbabel/files/gpsbabel.patch
@@ -0,0 +1,126 @@
+--- ./gpsbabel-1.3.1/configure.in 2006-09-03 01:41:01.000000000 +0200
++++ ./gpsbabel-1.3.1-r4/configure.in 2006-09-30 12:29:50.000000000 +0200
+@@ -227,9 +227,26 @@
+ AC_CHECK_LIB([expat], [XML_ParserCreate],
+ AC_DEFINE(HAVE_LIBEXPAT, 1, [Defined if you have libexpat])
+ AC_SUBST(EXPAT_LIB)
+-# [EXPAT_LIB="$LDFLAGS -lexpat"]
+ )
+
++AC_MSG_CHECKING(for efence)
++AC_ARG_ENABLE(efence,
++ [ --enable-efence=[yes|(no)]],
++ [ if test "$enable_efence" != "no" ; then
++ EFENCE_LIB=-lefence
++ GPSBABEL_DEBUG=gpsbabel-debug
++ INSTALL_DEBUG=install-debug
++ fi])
++AC_SUBST(EFENCE_LIB)
++AC_SUBST(GPSBABEL_DEBUG)
++AC_SUBST(INSTALL_DEBUG)
++AC_MSG_RESULT($EFENCE_LIB)
++
++AC_MSG_CHECKING(for docdir)
++AC_ARG_WITH(doc,[ --with-doc=DIR Path where the documentation will be stored.],
++ DOCDIR="$withval", DOCDIR="../babelweb/")
++AC_SUBST(DOCDIR)
++
+ # Checks for header files.
+ # AC_HEADER_STDC
+
+@@ -256,5 +273,5 @@
+ # AC_CHECK_FUNCS([atexit floor localtime_r memmove memset pow select sqrt strchr strcspn strdup strerror strncasecmp strrchr strspn strstr strtol strtoul])
+ AC_CHECK_FUNCS([nanosleep sleep])
+
+-AC_CONFIG_FILES([Makefile win32/gpsbabel.rc coldsync/Makefile jeeps/Makefile shapelib/Makefile zlib/empty])
++AC_CONFIG_FILES([Makefile xmldoc/makedoc tools/mkcapabilities win32/gpsbabel.rc coldsync/Makefile jeeps/Makefile shapelib/Makefile zlib/empty])
+ AC_OUTPUT
+--- ./gpsbabel-1.3.1/Makefile.in 2006-09-03 01:41:01.000000000 +0200
++++ ./gpsbabel-1.3.1-r4/Makefile.in 2006-09-30 12:52:13.000000000 +0200
+@@ -36,7 +36,8 @@
+ GBCFLAGS=$(EXTRA_CFLAGS) $(DEBUGGING) -I. -I@srcdir@/coldsync \
+ $(OPTIMIZATION) @CFLAGS@
+ LDFLAGS=$(EXTRA_LDFLAGS) @LDFLAGS@
+-INSTALL_TARGETDIR=/usr/local/
++PREFIX=@prefix@
++INSTALL_DIR=$(DESTDIR)/$(PREFIX)
+
+ # OTHER_ROOT=/opt/local # For DarwinPorts on OSX
+ # OTHER_ROOT=/sw # Uncomment For Fink on OS X.
+@@ -93,14 +94,17 @@
+
+
+ # Directory of local web doc. Traditionally a sibling to the GPSBabel tree.
+-WEB=../babelweb/
++WEB=@DOCDIR@
+
+
+ all: gpsbabel$(EXEEXT)
+
+-gpsbabel$(EXEEXT): $(OBJS)
++gpsbabel$(EXEEXT): $(OBJS) @GPSBABEL_DEBUG@
+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ @EXPAT_LIB@ @USB_LIBS@ $(OUTPUT_SWITCH)$@
+
++gpsbabel-debug: $(OBJS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ @EFENCE_LIB@ @EXPAT_LIB@ @USB_LIBS@ $(OUTPUT_SWITCH)$@
++
+ Makefile: Makefile.in config.status
+ CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+@@ -132,8 +136,13 @@
+ #
+ # This will only work on UNIX-like substances.
+ #
+-install:
+- install gpsbabel $(INSTALL_TARGETDIR)/bin
++install: @INSTALL_DEBUG@
++ @mkdir -p $(INSTALL_DIR)/bin
++ install gpsbabel $(INSTALL_DIR)/bin
++
++install-debug:
++ @mkdir -p $(INSTALL_DIR)/bin
++ install gpsbabel-debug $(INSTALL_DIR)/bin
+
+ # Nerdy release stuff that needs to work only on Linux.
+
+@@ -157,6 +166,7 @@
+ --stringparam root.filename "readme" \
+ xmldoc/babelmain.xsl \
+ xmldoc/readme.xml
++ chmod 755 tools/mkcapabilities
+ tools/mkcapabilities
+
+ gpsbabel.html: FORCE
+--- ./gpsbabel-1.3.1/xmldoc/chapters/build.xml 2006-09-03 00:51:54.000000000 +0200
++++ ./gpsbabel-1.3.1-r4/xmldoc/chapters/build.xml 2006-09-30 12:29:50.000000000 +0200
+@@ -44,6 +44,12 @@
+ <option>--disable-filters</option> Excludes all filter support.
+ </para>
+ <para>
++ <option>--enable-efence</option> Activate debugging mode for gpsbabel-debug.
++</para>
++<para>
++ <option>--with-doc=dir</option> Specify that the doc should be created and installed in <option>dir</option>.
++</para>
++<para>
+ <option>--without-libusb</option> Disables use of libusb, even it's it's available.
+ </para>
+ <para>
+--- ./gpsbabel-1.3.1/tools/mkcapabilities.in 2006-09-17 19:49:34.000000000 +0200
++++ ./gpsbabel-1.3.1-r4/tools/mkcapabilities.in 2006-09-30 12:29:50.000000000 +0200
+@@ -28,4 +28,4 @@
+ }
+
+ getcap($1, $2, $3, $5)
+-' > ../babelweb/capabilities.inc > ../babelweb/capabilities.inc
++' > @DOCDIR@capabilities.inc > @DOCDIR@capabilities.inc
+--- ./gpsbabel-1.3.1/xmldoc/makedoc.in 2006-09-17 19:48:31.000000000 +0200
++++ ./gpsbabel-1.3.1-r4/xmldoc/makedoc.in 2006-09-30 12:29:50.000000000 +0200
+@@ -64,6 +64,7 @@
+
+
+
++@dir=`mkdir -p @DOCDIR@`;
+ $dir = $0;
+ $dir =~ s:/.*$::;
+
diff --git a/sci-geosciences/gpsbabel/gpsbabel-1.3.1.ebuild b/sci-geosciences/gpsbabel/gpsbabel-1.3.1.ebuild
new file mode 100644
index 000000000000..b005a6098017
--- /dev/null
+++ b/sci-geosciences/gpsbabel/gpsbabel-1.3.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsbabel/gpsbabel-1.3.1.ebuild,v 1.1 2006/09/30 15:38:15 djay Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="GPSBabel is a waypoints, tracks and routes converter in variety of form"
+
+HOMEPAGE="http://www.gpsbabel.org/"
+
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+
+KEYWORDS="~x86"
+
+IUSE="doc usb debug"
+
+RDEPEND="dev-libs/expat
+ usb? ( dev-libs/libusb )
+ debug? ( dev-util/efence )"
+
+DEPEND="doc? ( virtual/tetex dev-libs/libxslt dev-libs/libxml2 dev-lang/perl )
+ ${RDEPEND}"
+
+src_unpack(){
+ unpack ${A}
+ cd "${S}"
+ cp -p tools/mkcapabilities tools/mkcapabilities.in
+ mv xmldoc/makedoc xmldoc/makedoc.in
+ epatch "${FILESDIR}"/gpsbabel.patch || die "Unable to apply gpsbabel.patch"
+}
+
+src_compile() {
+ local myconf="";
+ if ! use usb;then
+ myconf="${myconf} --with-libusb=no"
+ fi
+ if use doc; then
+ myconf="${myconf} --with-doc=${S}/doc/manual"
+ fi
+ eautoconf
+ econf ${myconf} $(use_enable debug efence)
+ emake || die "emake failed"
+ if use doc; then
+ emake doc || die "Documentation generation failed"
+ cd "${S}/doc"
+ make || die "Documentation generation failed"
+ fi
+}
+
+src_install() {
+ cd "${S}"
+ make DESTDIR="${D}" install || die "Install failed"
+ dodoc README* || die "Unable to install gpsbabel doc"
+ if use doc; then
+ cd "${S}"/doc/
+ dohtml ./manual/htmldoc-${PV}/* || die "Unable to install htmldoc"
+ docinto manual
+ dodoc doc.dvi babelfront2.eps || \
+ die "Unable to install gpsbabel documentation"
+ fi
+}
+
+pkg_postinst(){
+ if use debug; then
+ einfo "If you need gpsbabel in debuging mode, use : gpsbabel-debug"
+ fi
+}