summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-08-17 12:52:57 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-08-17 12:52:57 +0000
commita2a13973d06f1274d6dadd2f5f7d3f47ab496a15 (patch)
treed3f5166d11c74aa2066b28b7611ac5762aa2922f /app-pda
parentfix Bug #101349, recreated the patch to apply to the correct file (diff)
downloadgentoo-2-a2a13973d06f1274d6dadd2f5f7d3f47ab496a15.tar.gz
gentoo-2-a2a13973d06f1274d6dadd2f5f7d3f47ab496a15.tar.bz2
gentoo-2-a2a13973d06f1274d6dadd2f5f7d3f47ab496a15.zip
New version, which fixes bug #62245.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-pda')
-rw-r--r--app-pda/plptools/ChangeLog8
-rw-r--r--app-pda/plptools/files/digest-plptools-0.131
-rw-r--r--app-pda/plptools/files/plptools-0.13-gcc.patch27
-rw-r--r--app-pda/plptools/plptools-0.13.ebuild49
4 files changed, 84 insertions, 1 deletions
diff --git a/app-pda/plptools/ChangeLog b/app-pda/plptools/ChangeLog
index b2f1e2c9a550..eb44c955338b 100644
--- a/app-pda/plptools/ChangeLog
+++ b/app-pda/plptools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-pda/plptools
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/plptools/ChangeLog,v 1.12 2005/05/06 09:32:06 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/plptools/ChangeLog,v 1.13 2005/08/17 12:52:57 greg_g Exp $
+
+*plptools-0.13 (17 Aug 2005)
+
+ 17 Aug 2005; Gregorio Guidi <greg_g@gentoo.org>
+ +files/plptools-0.13-gcc.patch, +plptools-0.13.ebuild:
+ New version, which fixes bug #62245.
06 May 2005; Sven Wegener <swegener@gentoo.org> plptools-0.12.ebuild:
Removed * postfix from <, <=, >= and > dependencies.
diff --git a/app-pda/plptools/files/digest-plptools-0.13 b/app-pda/plptools/files/digest-plptools-0.13
new file mode 100644
index 000000000000..2c4fac1787a7
--- /dev/null
+++ b/app-pda/plptools/files/digest-plptools-0.13
@@ -0,0 +1 @@
+MD5 562170e306702ae02e66cc696e28a2cc plptools-0.13.tar.gz 1232281
diff --git a/app-pda/plptools/files/plptools-0.13-gcc.patch b/app-pda/plptools/files/plptools-0.13-gcc.patch
new file mode 100644
index 000000000000..f3477eb455ce
--- /dev/null
+++ b/app-pda/plptools/files/plptools-0.13-gcc.patch
@@ -0,0 +1,27 @@
+diff -Nur plptools-0.13.orig/lib/Enum.h plptools-0.13/lib/Enum.h
+--- plptools-0.13.orig/lib/Enum.h 2005-04-16 17:21:47.000000000 +0200
++++ plptools-0.13/lib/Enum.h 2005-08-17 13:57:14.000000000 +0200
+@@ -264,6 +264,8 @@
+ }
+ };
+
++template<typename E> typename Enum<E>::sdata Enum<E>::staticData;
++
+ /**
+ * Helper macro to construct an enumeration wrapper Enum<E> for
+ * a specific enum type.
+@@ -303,12 +305,12 @@
+ * data for this Enumeration wrapper.
+ */
+ #define ENUM_DEFINITION(EnumName, initWith) \
+-template < EnumName > Enum< EnumName >::sdata Enum< EnumName >::staticData; \
++template Enum< EnumName >::sdata Enum< EnumName >::staticData; \
+ /** \
+ * actual definition of the constructor for the static data. \
+ * This is called implicitly by the definition above. \
+ */ \
+-Enum<EnumName>::sdata::sdata() : \
++template <> Enum<EnumName>::sdata::sdata() : \
+ name(#EnumName),defaultValue(initWith)
+
+ /**
diff --git a/app-pda/plptools/plptools-0.13.ebuild b/app-pda/plptools/plptools-0.13.ebuild
new file mode 100644
index 000000000000..59921e50ad3e
--- /dev/null
+++ b/app-pda/plptools/plptools-0.13.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/plptools/plptools-0.13.ebuild,v 1.1 2005/08/17 12:52:57 greg_g Exp $
+
+inherit kde-functions eutils
+
+DESCRIPTION="Libraries and utilities to communicate with a Psion palmtop via serial."
+HOMEPAGE="http://plptools.sourceforge.net"
+SRC_URI="mirror://sourceforge/plptools/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86"
+DEPEND="kde? ( >=kde-base/kdelibs-3.1 )
+ readline? ( sys-libs/readline )"
+
+IUSE="kde nls readline"
+
+src_unpack() {
+ unpack ${A}
+
+ # Applied in next versions.
+ epatch "${FILESDIR}/${P}-gcc.patch"
+}
+
+src_compile() {
+ set-kdedir 3
+
+ local myconf="$(use_enable kde)
+ $(use_enable nls)
+ $(use_enable readline)
+ $(use_enable readline history)
+ --disable-newt"
+
+ econf ${myconf} || die
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+
+ dodoc CHANGES ChangeLog README TODO
+
+ insinto /etc/conf.d
+ newins ${FILESDIR}/psion.conf psion
+
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/psion
+}