diff options
author | Hannes Krueger (srebrodolskite) <Hannes.Krueger@gmail.com> | 2007-10-31 02:12:26 +0000 |
---|---|---|
committer | Hannes Krueger (srebrodolskite) <Hannes.Krueger@gmail.com> | 2007-10-31 02:12:26 +0000 |
commit | 2a569b167f05f1477958bc4ff894e411b3d0b509 (patch) | |
tree | 277f1c61712a8d294b81090ded7e458d7b25e35c /app-misc/gpspoint | |
parent | games-fps/uhexen2: Fixed DESCRIPTION (diff) | |
download | sunrise-2a569b167f05f1477958bc4ff894e411b3d0b509.tar.gz sunrise-2a569b167f05f1477958bc4ff894e411b3d0b509.tar.bz2 sunrise-2a569b167f05f1477958bc4ff894e411b3d0b509.zip |
app-misc/gpspoint: New Ebuild for bug 62464 thanks to Mike Smith, Charles Mauch
svn path=/sunrise/; revision=4924
Diffstat (limited to 'app-misc/gpspoint')
-rw-r--r-- | app-misc/gpspoint/ChangeLog | 9 | ||||
-rw-r--r-- | app-misc/gpspoint/Manifest | 5 | ||||
-rw-r--r-- | app-misc/gpspoint/files/gpspoint-2.030521-gcc41.patch | 68 | ||||
-rw-r--r-- | app-misc/gpspoint/gpspoint-2.030521.ebuild | 43 | ||||
-rw-r--r-- | app-misc/gpspoint/metadata.xml | 5 |
5 files changed, 130 insertions, 0 deletions
diff --git a/app-misc/gpspoint/ChangeLog b/app-misc/gpspoint/ChangeLog new file mode 100644 index 000000000..1b09e6a41 --- /dev/null +++ b/app-misc/gpspoint/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for app-misc/gpspoint +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 31 Oct 2007; Srebrodolskite <Hannes.Krueger@uibk.ac.at> + +files/gpspoint-2.030521-gcc41.patch, +metadata.xml, + +gpspoint-2.030521.ebuild: + New Ebuild for bug 62464 thanks to Mike Smith, Charles Mauch + diff --git a/app-misc/gpspoint/Manifest b/app-misc/gpspoint/Manifest new file mode 100644 index 000000000..6f33394a1 --- /dev/null +++ b/app-misc/gpspoint/Manifest @@ -0,0 +1,5 @@ +AUX gpspoint-2.030521-gcc41.patch 2281 RMD160 3ff29981384fda0c064c71208f221c0b82f046ac SHA1 0dfdc89f7a5760ec66ba38154e056968b140f606 SHA256 203f110fa20c8a9dc1288a7a01431a077937289b29e6551edec0ca53b7a47008 +DIST gpspoint-2.030521.tar.bz2 181147 RMD160 b2ad6d3ce1b9456a3aab6c70af5a224aa9affe05 SHA1 8f10e881a46c639b18b8c2b6c5cef8bc1c8aa31a SHA256 ca6a9120823bd8645093137a778e2c2eb37630446c5581e9d06e49658c24b77a +EBUILD gpspoint-2.030521.ebuild 1090 RMD160 5300ff1e837ceb8e969e5d1ba6d47981671f698b SHA1 01b2b7192055346d515757767bde323d23b60679 SHA256 181d2f51893c0532e16863fed394b3c56654623a6fa74f67d873c73d9c21f613 +MISC ChangeLog 324 RMD160 43504fe83181e6ac7594cf296ce8e5ec6f3ae1f6 SHA1 51259b4aa8ccbd1dbf83248bedac0c9aeaafa83f SHA256 8b4f5a4d94627e62082905896534c912544fc42a0ff28228297a1eb7d83ebbf1 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/app-misc/gpspoint/files/gpspoint-2.030521-gcc41.patch b/app-misc/gpspoint/files/gpspoint-2.030521-gcc41.patch new file mode 100644 index 000000000..cc13c1f77 --- /dev/null +++ b/app-misc/gpspoint/files/gpspoint-2.030521-gcc41.patch @@ -0,0 +1,68 @@ +diff -Naur gpspoint-2.030521/src/constants.h gpspoint-2.030521-hk/src/constants.h +--- gpspoint-2.030521/src/constants.h 2003-04-14 18:23:32.000000000 +0200 ++++ gpspoint-2.030521-hk/src/constants.h 2006-11-20 10:38:22.000000000 +0100 +@@ -30,7 +30,7 @@ + class Constants + { + public: +- Constants::Constants(void); ++ Constants(void); + + protected: + static const g_byte +diff -Naur gpspoint-2.030521/src/newsymbols.h gpspoint-2.030521-hk/src/newsymbols.h +--- gpspoint-2.030521/src/newsymbols.h 2003-05-20 11:54:34.000000000 +0200 ++++ gpspoint-2.030521-hk/src/newsymbols.h 2006-11-20 10:40:44.000000000 +0100 +@@ -28,7 +28,7 @@ + struct NewSymbols + { + public: +- NewSymbols::NewSymbols(void); ++ NewSymbols(void); + + protected: + string number2symbol(g_int) const; +diff -Naur gpspoint-2.030521/src/oldsymbols.h gpspoint-2.030521-hk/src/oldsymbols.h +--- gpspoint-2.030521/src/oldsymbols.h 2003-05-20 11:54:34.000000000 +0200 ++++ gpspoint-2.030521-hk/src/oldsymbols.h 2006-11-20 10:40:27.000000000 +0100 +@@ -29,7 +29,7 @@ + struct OldSymbols + { + public: +- OldSymbols::OldSymbols(void); ++ OldSymbols(void); + + protected: + /// returns symbol as a string given a symbol ID +diff -Naur gpspoint-2.030521/src/records_type.h gpspoint-2.030521-hk/src/records_type.h +--- gpspoint-2.030521/src/records_type.h 2003-04-14 18:23:33.000000000 +0200 ++++ gpspoint-2.030521-hk/src/records_type.h 2006-11-20 10:41:16.000000000 +0100 +@@ -41,10 +41,10 @@ + public: + + /// constructor +- Records_Type::Records_Type(void); ++ Records_Type(void); + + /// calls set with the given Packet +- Records_Type::Records_Type(Packet); ++ Records_Type(Packet); + + /// resets internal data + void clear(void); +diff -Naur gpspoint-2.030521/src/wpt_type.h gpspoint-2.030521-hk/src/wpt_type.h +--- gpspoint-2.030521/src/wpt_type.h 2003-05-20 11:54:34.000000000 +0200 ++++ gpspoint-2.030521-hk/src/wpt_type.h 2006-11-20 10:39:51.000000000 +0100 +@@ -99,10 +99,10 @@ + protected: + + /// semicircle to double +- double Wpt_Type::s2d(g_long sc); ++ double s2d(g_long sc); + + /// double to semicicle +- g_long Wpt_Type::d2s(double deg); ++ g_long d2s(double deg); + + string name; + string comment; diff --git a/app-misc/gpspoint/gpspoint-2.030521.ebuild b/app-misc/gpspoint/gpspoint-2.030521.ebuild new file mode 100644 index 000000000..65cbd5262 --- /dev/null +++ b/app-misc/gpspoint/gpspoint-2.030521.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="A utility to transfer tracks, routes and waypoints to and from garmin GPS devices." +HOMEPAGE="http://pc12-c714.uibk.ac.at/gpspoint/" +SRC_URI="http://pc12-c714.uibk.ac.at/gpspoint/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-util/dialog" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-gcc41.patch" +} + +src_compile() { + econf || die "econf failed" + emake || die "compile failed" +} + +src_install() { + make DESTDIR="${D}" install || die "installation failed" + dodoc AUTHORS COPYRIGHT INSTALL NEWS README TODO +} + +pkg_postinst() { + elog + elog "Be sure and set the GPSPORT environment variable in your shell" + elog "or in /etc/profile.env if your gps is connected to a serial port" + elog "other than /dev/ttyS0 (COM1)." + elog "Alternatively you can make a link from /dev/gps to e.g. /dev/ttyS0." + elog "gpspoints needs rw access on that device to work properly." + elog +} diff --git a/app-misc/gpspoint/metadata.xml b/app-misc/gpspoint/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/app-misc/gpspoint/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> |