summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLim Swee Tat <st_lim@gentoo.org>2004-04-11 01:11:35 +0000
committerLim Swee Tat <st_lim@gentoo.org>2004-04-11 01:11:35 +0000
commite35dcfe526ad769f233361b4eb6f91bc642c19f6 (patch)
treef72d41e32b9502985e1d58dc54124ea9f2b7b5b0 /net-dialup
parentinitial commit (bug #47198) (Manifest recommit) (diff)
downloadgentoo-2-e35dcfe526ad769f233361b4eb6f91bc642c19f6.tar.gz
gentoo-2-e35dcfe526ad769f233361b4eb6f91bc642c19f6.tar.bz2
gentoo-2-e35dcfe526ad769f233361b4eb6f91bc642c19f6.zip
Added gammu-0.94.2 after the release by Marcin
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/gammu/ChangeLog7
-rw-r--r--net-dialup/gammu/Manifest6
-rw-r--r--net-dialup/gammu/files/digest-gammu-0.94.21
-rw-r--r--net-dialup/gammu/files/gammu-0.94.2-LastCalendar.patch12
-rw-r--r--net-dialup/gammu/gammu-0.94.2.ebuild51
5 files changed, 74 insertions, 3 deletions
diff --git a/net-dialup/gammu/ChangeLog b/net-dialup/gammu/ChangeLog
index f8e98726b6db..0d8a4c9ff992 100644
--- a/net-dialup/gammu/ChangeLog
+++ b/net-dialup/gammu/ChangeLog
@@ -1,6 +1,11 @@
# 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.2 2004/03/19 09:07:23 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/gammu/ChangeLog,v 1.3 2004/04/11 01:11:35 st_lim Exp $
+
+*gammu-0.94.2 (11 Apr 2004)
+
+ 11 Apr 2004; Lim Swee Tat <st_lim@gentoo.org> gammu-0.94.2.ebuild:
+ Updated from Marcin
*gammu-0.94.0 (13 Mar 2004)
diff --git a/net-dialup/gammu/Manifest b/net-dialup/gammu/Manifest
index de96566feccc..48a2f326f05d 100644
--- a/net-dialup/gammu/Manifest
+++ b/net-dialup/gammu/Manifest
@@ -1,5 +1,7 @@
-MD5 95ad20a603a51fc351cba6209dce66e4 gammu-0.94.0.ebuild 1248
MD5 b552781412cc7d2afd7a2e4cd143869f ChangeLog 308
+MD5 95ad20a603a51fc351cba6209dce66e4 gammu-0.94.0.ebuild 1248
MD5 87844c6e9a700c2b04cceac0b33a1a79 metadata.xml 225
-MD5 c76bf05f7542b93d1ffee8dbe6891432 files/gammu-0.94.0-LastCalendar.patch 576
+MD5 95ad20a603a51fc351cba6209dce66e4 gammu-0.94.2.ebuild 1248
MD5 a51e26cc2b8474ef250748df885cf5cb files/digest-gammu-0.94.0 64
+MD5 c76bf05f7542b93d1ffee8dbe6891432 files/gammu-0.94.0-LastCalendar.patch 576
+MD5 fb40c3ddaa37c5d56e2219bca5d5f5f8 files/digest-gammu-0.94.2 64
diff --git a/net-dialup/gammu/files/digest-gammu-0.94.2 b/net-dialup/gammu/files/digest-gammu-0.94.2
new file mode 100644
index 000000000000..9b0f1d6ba7e8
--- /dev/null
+++ b/net-dialup/gammu/files/digest-gammu-0.94.2
@@ -0,0 +1 @@
+MD5 5299988e6644c972bb37eb04d477d249 gammu-0.94.2.tar.gz 748836
diff --git a/net-dialup/gammu/files/gammu-0.94.2-LastCalendar.patch b/net-dialup/gammu/files/gammu-0.94.2-LastCalendar.patch
new file mode 100644
index 000000000000..216ead8e56de
--- /dev/null
+++ b/net-dialup/gammu/files/gammu-0.94.2-LastCalendar.patch
@@ -0,0 +1,12 @@
+diff -uNr gammu-0.94.2/common/phone/nokia/dct4/n6510.c gammu-fixed/common/phone/nokia/dct4/n6510.c
+--- gammu-0.94.2/common/phone/nokia/dct4/n6510.c 2004-03-05 00:32:20.000000000 +0800
++++ gammu-fixed/common/phone/nokia/dct4/n6510.c 2004-04-08 23:30:16.256300448 +0800
+@@ -3400,7 +3400,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.94.2.ebuild b/net-dialup/gammu/gammu-0.94.2.ebuild
new file mode 100644
index 000000000000..39df5a2be5d9
--- /dev/null
+++ b/net-dialup/gammu/gammu-0.94.2.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.94.2.ebuild,v 1.1 2004/04/11 01:11:35 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"
+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}
+}