diff options
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/gammu/ChangeLog | 6 | ||||
-rw-r--r-- | net-dialup/gammu/Manifest | 7 | ||||
-rw-r--r-- | net-dialup/gammu/files/digest-gammu-0.95.0 | 1 | ||||
-rw-r--r-- | net-dialup/gammu/files/gammu-0.94.4-LastCalendar.patch | 4 | ||||
-rw-r--r-- | net-dialup/gammu/files/gammu-0.95.0-LastCalendar.patch | 12 | ||||
-rw-r--r-- | net-dialup/gammu/gammu-0.95.0.ebuild | 51 |
6 files changed, 76 insertions, 5 deletions
diff --git a/net-dialup/gammu/ChangeLog b/net-dialup/gammu/ChangeLog index 275e277f1c66..2ecfa40b51b9 100644 --- a/net-dialup/gammu/ChangeLog +++ b/net-dialup/gammu/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/gammu # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/gammu/ChangeLog,v 1.5 2004/04/13 08:57:27 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/gammu/ChangeLog,v 1.6 2004/05/05 13:52:09 st_lim Exp $ + + 05 May 2004; Lim Swee Tat <st_lim@gentoo.org> + files/gammu-0.94.4-LastCalendar.patch: + Version bump ^^ This version allows mysql storage of SMS 13 Apr 2004; David Holm <dholm@gentoo.org> gammu-0.94.4.ebuild: Added to ~ppc. diff --git a/net-dialup/gammu/Manifest b/net-dialup/gammu/Manifest index 6a87d4643925..ff180b2da874 100644 --- a/net-dialup/gammu/Manifest +++ b/net-dialup/gammu/Manifest @@ -1,5 +1,8 @@ -MD5 ebf87ff52197cb680830cd79b1bf0654 ChangeLog 903 +MD5 24dc9305a59a71a8062dbc8fdef2bfcc ChangeLog 1053 +MD5 cb106d68bbffdbcdb686493353a51363 gammu-0.95.0.ebuild 1397 MD5 87844c6e9a700c2b04cceac0b33a1a79 metadata.xml 225 MD5 9b77067801ba2cfbf51363bed59dd11e gammu-0.94.4.ebuild 1396 +MD5 5e7b1e71a6d9ce5a97ff8fae6e9b2704 files/digest-gammu-0.95.0 64 MD5 a4d07a2216ae4484fa916a009aeb1e05 files/digest-gammu-0.94.4 64 -MD5 c7b847cd88eee822b3647a3db3c00932 files/gammu-0.94.4-LastCalendar.patch 585 +MD5 58b1c83d7bc4fde7a68ff5d837e9153e files/gammu-0.95.0-LastCalendar.patch 576 +MD5 1e26cc450b853c7c166bc4feebe4d62b files/gammu-0.94.4-LastCalendar.patch 581 diff --git a/net-dialup/gammu/files/digest-gammu-0.95.0 b/net-dialup/gammu/files/digest-gammu-0.95.0 new file mode 100644 index 000000000000..8b506a077f29 --- /dev/null +++ b/net-dialup/gammu/files/digest-gammu-0.95.0 @@ -0,0 +1 @@ +MD5 a9420fae73da082d9db4b0ba47367d3c gammu-0.95.0.tar.gz 752609 diff --git a/net-dialup/gammu/files/gammu-0.94.4-LastCalendar.patch b/net-dialup/gammu/files/gammu-0.94.4-LastCalendar.patch index 0ea9750a67fe..ad4f826bc7cd 100644 --- a/net-dialup/gammu/files/gammu-0.94.4-LastCalendar.patch +++ b/net-dialup/gammu/files/gammu-0.94.4-LastCalendar.patch @@ -1,6 +1,6 @@ diff -Naur gammu-0.94.4.orig/common/phone/nokia/dct4/n6510.c gammu-0.94.4/common/phone/nokia/dct4/n6510.c ---- gammu-0.94.4.orig/common/phone/nokia/dct4/n6510.c 2004-03-04 17:32:20.000000000 +0100 -+++ gammu-0.94.4/common/phone/nokia/dct4/n6510.c 2004-04-11 10:51:22.000000000 +0200 +--- gammu-0.94.4/common/phone/nokia/dct4/n6510.c 2004-03-04 17:32:20.000000000 +0100 ++++ gammu-patched/common/phone/nokia/dct4/n6510.c 2004-04-11 10:51:22.000000000 +0200 @@ -3400,7 +3400,7 @@ /* Method 1 */ error=N71_65_GetCalendarInfo1(s, &s->Phone.Data.Priv.N6510.LastCalendar); diff --git a/net-dialup/gammu/files/gammu-0.95.0-LastCalendar.patch b/net-dialup/gammu/files/gammu-0.95.0-LastCalendar.patch new file mode 100644 index 000000000000..003a08fea09a --- /dev/null +++ b/net-dialup/gammu/files/gammu-0.95.0-LastCalendar.patch @@ -0,0 +1,12 @@ +diff -uNr gammu-0.95.0/common/phone/nokia/dct4/n6510.c gammu-patched/common/phone/nokia/dct4/n6510.c +--- gammu-0.95.0/common/phone/nokia/dct4/n6510.c 2004-05-02 20:46:16.000000000 +0800 ++++ gammu-patched/common/phone/nokia/dct4/n6510.c 2004-05-05 21:42:59.380409000 +0800 +@@ -3425,7 +3425,7 @@ + /* Method 1 */ + error=N71_65_GetCalendarInfo1(s, &s->Phone.Data.Priv.N6510.LastCalendar); + if (error!=ERR_NONE) return error; +- Status->Used = LastCalendar->Number; ++ Status->Used = s->Phone.Data.Priv.N6510.LastCalendar.Number; + return ERR_NONE; + #endif + diff --git a/net-dialup/gammu/gammu-0.95.0.ebuild b/net-dialup/gammu/gammu-0.95.0.ebuild new file mode 100644 index 000000000000..f0b42b50ff02 --- /dev/null +++ b/net-dialup/gammu/gammu-0.95.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/gammu/gammu-0.95.0.ebuild,v 1.1 2004/05/05 13:52:09 st_lim Exp $ + +inherit eutils + +DESCRIPTION="a fork of the gnokii project, a tool to handle your cellular phone" +SRC_URI="http://www.mwiacek.com/zips/gsm/gammu/older/${P}.tar.gz" +HOMEPAGE="http://www.mwiacek.com/gsm/gammu/gammu.html" + +IUSE="nls bluetooth irda mysql" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc" +S=$WORKDIR/${P} + +RDEPEND="irda? ( sys-kernel/linux-headers ) + mysql? ( dev-db/mysql ) + ssl? ( >=dev-libs/openssl-0.9.7d ) + bluetooth? ( net-wireless/bluez-libs )" + +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-LastCalendar.patch +} + +src_compile() { + local myconf + use bluetooth && myconf="${myconf} --with-bluedir=/usr/lib" + use irda || myconf="${myconf} --disable-irdaat --disable-irdaphonet" + econf \ + `use_enable nls` \ + --prefix=/usr \ + --enable-cb \ + --enable-7110incoming \ + --enable-6210calendar \ + ${myconf} || die "configure failed" + + sed -e 's:-lz -pthread:-lz -lpthread -lssl:g' \ + -i ${S}/cfg/Makefile.cfg + emake || die "make failed" +} + +src_install () { + make DESTDIR=${D} installlib || die "install failed" + doman docs/docs/english/gammu.1 + mv ${D}/usr/share/doc/${PN} ${D}/usr/share/doc/${P} +} |