From 5ad2e28571d9f7c16290b47ad25e6b089d283450 Mon Sep 17 00:00:00 2001 From: Steve Arnold Date: Sat, 13 Jan 2007 05:38:16 +0000 Subject: [PATCH] Cleaned up old versions and updated to latest stable with bug fixes Package-Manager: portage-2.1.2_rc4-r2 --- app-misc/gpsdrive/ChangeLog | 14 ++++- .../gpsdrive/files/digest-gpsdrive-2.09-r1 | 3 + .../files/gpsdrive-2.09-configure.patch | 27 ++++++++ app-misc/gpsdrive/gpsdrive-2.09-r1.ebuild | 61 +++++++++++++++++++ 4 files changed, 103 insertions(+), 2 deletions(-) create mode 100644 app-misc/gpsdrive/files/digest-gpsdrive-2.09-r1 create mode 100644 app-misc/gpsdrive/files/gpsdrive-2.09-configure.patch create mode 100644 app-misc/gpsdrive/gpsdrive-2.09-r1.ebuild diff --git a/app-misc/gpsdrive/ChangeLog b/app-misc/gpsdrive/ChangeLog index 80bd4e96b83d..b6528f903ef0 100644 --- a/app-misc/gpsdrive/ChangeLog +++ b/app-misc/gpsdrive/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-misc/gpsdrive -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/gpsdrive/ChangeLog,v 1.23 2006/12/21 04:27:22 compnerd Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/gpsdrive/ChangeLog,v 1.24 2007/01/13 05:38:16 nerdboy Exp $ + +*gpsdrive-2.09-r1 (13 Jan 2007) + + 13 Jan 2007; Steve Arnold + +files/gpsdrive-2.09-configure.patch, + -files/gpsd.higher_serial_speeds.patch, -gpsdrive-2.03.ebuild, + -gpsdrive-2.04.ebuild, -gpsdrive-2.04-r1.ebuild, -gpsdrive-2.05.ebuild, + -gpsdrive-2.08.ebuild, -gpsdrive-2.09.ebuild, +gpsdrive-2.09-r1.ebuild: + Cleaned up old versions and updated to latest stable with bug fixes in + preparation for unmasking. 21 Dec 2006; Saleem Abdulrasool -gpsdrive-1.33.ebuild: diff --git a/app-misc/gpsdrive/files/digest-gpsdrive-2.09-r1 b/app-misc/gpsdrive/files/digest-gpsdrive-2.09-r1 new file mode 100644 index 000000000000..1ec064cf0769 --- /dev/null +++ b/app-misc/gpsdrive/files/digest-gpsdrive-2.09-r1 @@ -0,0 +1,3 @@ +MD5 eaa52cb220f3d10312a1046dd47126bb gpsdrive-2.09.tar.gz 1745509 +RMD160 772dd76e7656a69e59a23f06a0d2fcb08607153a gpsdrive-2.09.tar.gz 1745509 +SHA256 fe8ef35c86df9ab7c8dfb1a8b8155fbeeacd8693ae867f0f10f79f14b7dc6f98 gpsdrive-2.09.tar.gz 1745509 diff --git a/app-misc/gpsdrive/files/gpsdrive-2.09-configure.patch b/app-misc/gpsdrive/files/gpsdrive-2.09-configure.patch new file mode 100644 index 000000000000..d39455873f28 --- /dev/null +++ b/app-misc/gpsdrive/files/gpsdrive-2.09-configure.patch @@ -0,0 +1,27 @@ +diff -Naur gpsdrive-2.09-orig/configure.ac gpsdrive-2.09/configure.ac +--- gpsdrive-2.09-orig/configure.ac 2006-10-16 16:00:44.000000000 -0600 ++++ gpsdrive-2.09/configure.ac 2006-10-16 16:01:35.000000000 -0600 +@@ -128,7 +128,7 @@ + + AC_PROG_INSTALL + +-CFLAGS="$CFLAGS -g -Wall -Wno-format-y2k -pipe $OPT_CFLAGS" ++CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Wno-format-y2k -pipe $OPT_CFLAGS" + + dnl ************************ + dnl Check for standard headers +@@ -153,6 +153,14 @@ + CFLAGS="$CFLAGS `$PCRE_CONFIG --cflags`" + fi + ++dnl -------------------------- ++dnl Check for package libglib2.0-0 ++dnl 26/03/2006 DP Added ++dnl 06/06/2006 DP Reduced from version 2.8.6 to 2.8.5 ++dnl -------------------------- ++dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) ++dnl MODULES gmodule, gobject or gthread ++AM_PATH_GLIB_2_0(2.8.5, , AC_ERROR(need libglib2.0 at least version 2.8.5)) + + localedir='${prefix}/share/locale' + AC_SUBST(localedir) diff --git a/app-misc/gpsdrive/gpsdrive-2.09-r1.ebuild b/app-misc/gpsdrive/gpsdrive-2.09-r1.ebuild new file mode 100644 index 000000000000..2db8ff3314ad --- /dev/null +++ b/app-misc/gpsdrive/gpsdrive-2.09-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/gpsdrive/gpsdrive-2.09-r1.ebuild,v 1.1 2007/01/13 05:38:16 nerdboy Exp $ + +inherit autotools + +DESCRIPTION="GPS navigation system with NMEA and Garmin support, zoomable map display, waypoints, etc." +HOMEPAGE="http://gpsdrive.kraftvoll.at/index.shtml" +SRC_URI="http://gpsdrive.kraftvoll.at/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~ppc ~x86" +# submit bug for ppc64 + +IUSE="garmin mysql static" + +DEPEND="sys-devel/gettext + dev-util/pkgconfig + >=x11-libs/gtk+-2.8.12 + >=dev-libs/libpcre-4.2" + +RDEPEND="${DEPEND} + mysql? ( dev-db/mysql )" + +WANT_AUTOMAKE=1.7 +WANT_AUTOCONF=2.5 + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-configure.patch + sed -i -e "s:^EXTRA_DIST.*$::" Makefile.am \ + -e "s:^pkgdata_DATA.*$::" Makefile.am + + eautoreconf +} + +src_compile() { + econf \ + --enable-shared $(use_enable garmin) $(use_enable static) \ + || die "econf failed" + + emake || die "compile failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS create.sql CREDITS Changelog FAQ* GPS-receivers NMEA.txt \ + README* TODO wp2sql +} + +pkg_postinst() { + if use mysql; then + echo -e "\n" + elog "Be sure to read ${ROOT}usr/share/doc/${PF}/README.SQL.gz for information" + elog "on using MySQL with gpsdrive.\n" + fi +} -- 2.26.2