summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-12-01 07:01:04 +0000
committerAlin Năstac <mrness@gentoo.org>2006-12-01 07:01:04 +0000
commitecd26f7a817bdac4736950c58719cd6d183acb57 (patch)
treee14e7077aa333251ce73d3687d6ab2fef0b5af1d /app-mobilephone
parentRemoved old version. (diff)
downloadgentoo-2-ecd26f7a817bdac4736950c58719cd6d183acb57.tar.gz
gentoo-2-ecd26f7a817bdac4736950c58719cd6d183acb57.tar.bz2
gentoo-2-ecd26f7a817bdac4736950c58719cd6d183acb57.zip
Version bump (#156692).
(Portage version: 2.1.1-r1)
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/gammu/ChangeLog9
-rw-r--r--app-mobilephone/gammu/files/digest-gammu-1.09.003
-rw-r--r--app-mobilephone/gammu/files/gammu-1.09.00-as-needed.patch21
-rw-r--r--app-mobilephone/gammu/files/gammu-1.09.00-backup-limits.patch15
-rw-r--r--app-mobilephone/gammu/gammu-1.09.00.ebuild49
5 files changed, 96 insertions, 1 deletions
diff --git a/app-mobilephone/gammu/ChangeLog b/app-mobilephone/gammu/ChangeLog
index a1f6a9da79f8..491b77e34035 100644
--- a/app-mobilephone/gammu/ChangeLog
+++ b/app-mobilephone/gammu/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-mobilephone/gammu
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.26 2006/11/23 17:10:28 vivo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.27 2006/12/01 07:01:04 mrness Exp $
+
+*gammu-1.09.00 (01 Dec 2006)
+
+ 01 Dec 2006; Alin Năstac <mrness@gentoo.org>
+ +files/gammu-1.09.00-as-needed.patch,
+ +files/gammu-1.09.00-backup-limits.patch, +gammu-1.09.00.ebuild:
+ Version bump (#156692).
23 Nov 2006; Francesco Riosa <vivo@gentoo.org> gammu-1.05.00.ebuild,
gammu-1.06.00.ebuild, gammu-1.07.00.ebuild, gammu-1.08.00.ebuild:
diff --git a/app-mobilephone/gammu/files/digest-gammu-1.09.00 b/app-mobilephone/gammu/files/digest-gammu-1.09.00
new file mode 100644
index 000000000000..37e8a35a5c97
--- /dev/null
+++ b/app-mobilephone/gammu/files/digest-gammu-1.09.00
@@ -0,0 +1,3 @@
+MD5 0d555102bd4d0bc7b4e609abc462fb01 gammu-1.09.00.tar.gz 1137894
+RMD160 e4eeaf685028f0624217ade365b4e4e21c3d3d7b gammu-1.09.00.tar.gz 1137894
+SHA256 7746961a708f3b48bd31165b0fc99b051a35be60b49a6c51774fdf13a1c0bc65 gammu-1.09.00.tar.gz 1137894
diff --git a/app-mobilephone/gammu/files/gammu-1.09.00-as-needed.patch b/app-mobilephone/gammu/files/gammu-1.09.00-as-needed.patch
new file mode 100644
index 000000000000..b6edbb88b3e0
--- /dev/null
+++ b/app-mobilephone/gammu/files/gammu-1.09.00-as-needed.patch
@@ -0,0 +1,21 @@
+diff -Nru gammu-1.09.00.orig/cfg/Makefile.glo gammu-1.09.00/cfg/Makefile.glo
+--- gammu-1.09.00.orig/cfg/Makefile.glo 2006-11-17 00:43:26.000000000 +0200
++++ gammu-1.09.00/cfg/Makefile.glo 2006-12-01 08:54:58.550751904 +0200
+@@ -127,7 +127,7 @@
+
+ $(TOPDIR)/gammu/gammu: $(COMMON) $(GAMMU)
+ @echo Linking gammu
+- @$(CC) $(COMMON) $(GAMMU) $(LDLIBS) $(GAMMU_CFLAGS) $(GAMMU_LIBS) $(SMSD_LIBS) -o $(TOPDIR)/gammu/gammu $(LDFLAGS)
++ @$(CC) $(LDFLAGS) $(COMMON) $(GAMMU) $(LDLIBS) $(GAMMU_CFLAGS) $(GAMMU_LIBS) $(SMSD_LIBS) -o $(TOPDIR)/gammu/gammu
+
+ gammu: $(TOPDIR)/gammu/gammu
+
+@@ -137,7 +137,7 @@
+
+ $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR): $(COMMON)
+ @echo Linking libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR)
+- @$(CC) $(LDLIBS) -shared -Wl,-soname -Wl,libGammu.so.$(SONAME_MAJOR) -o $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(COMMON) $(LDFLAGS)
++ @$(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,libGammu.so.$(SONAME_MAJOR) $(COMMON) $(LDLIBS) -o $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR)
+ @$(LN) -s libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR)
+ @$(LN) -s libGammu.so.$(SONAME_MAJOR) $(TOPDIR)/common/libGammu.so
+
diff --git a/app-mobilephone/gammu/files/gammu-1.09.00-backup-limits.patch b/app-mobilephone/gammu/files/gammu-1.09.00-backup-limits.patch
new file mode 100644
index 000000000000..b0150a761a55
--- /dev/null
+++ b/app-mobilephone/gammu/files/gammu-1.09.00-backup-limits.patch
@@ -0,0 +1,15 @@
+diff -Nru gammu-1.09.00.orig/common/service/backup/backgen.h gammu-1.09.00/common/service/backup/backgen.h
+--- gammu-1.09.00.orig/common/service/backup/backgen.h 2005-11-22 03:39:40.000000000 +0200
++++ gammu-1.09.00/common/service/backup/backgen.h 2006-12-01 08:56:19.271796651 +0200
+@@ -14,9 +14,9 @@
+ #include "../gsmmisc.h"
+ #include "../sms/gsmsms.h"
+
+-#define GSM_BACKUP_MAX_PHONEPHONEBOOK 501
++#define GSM_BACKUP_MAX_PHONEPHONEBOOK 1001
+ #define GSM_BACKUP_MAX_SIMPHONEBOOK 251
+-#define GSM_BACKUP_MAX_CALLER 6
++#define GSM_BACKUP_MAX_CALLER 20
+ #define GSM_BACKUP_MAX_SMSC 10
+ #define GSM_BACKUP_MAX_WAPBOOKMARK 40
+ #define GSM_BACKUP_MAX_WAPSETTINGS 30
diff --git a/app-mobilephone/gammu/gammu-1.09.00.ebuild b/app-mobilephone/gammu/gammu-1.09.00.ebuild
new file mode 100644
index 000000000000..68ab5acedd80
--- /dev/null
+++ b/app-mobilephone/gammu/gammu-1.09.00.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/gammu-1.09.00.ebuild,v 1.1 2006/12/01 07:01:04 mrness Exp $
+
+inherit eutils
+
+MY_MAJOR_VER=${PV:0:3}
+
+DESCRIPTION="a fork of the gnokii project, a tool to handle your cellular phone"
+HOMEPAGE="http://www.gammu.org"
+SRC_URI="http://www.mwiacek.com/zips/gsm/${PN}/stable/${MY_MAJOR_VER/./_}x/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+IUSE="debug bluetooth irda mysql"
+
+RDEPEND="bluetooth? ( net-wireless/bluez-libs )
+ mysql? ( virtual/mysql )"
+DEPEND="${RDEPEND}
+ irda? ( virtual/os-headers )"
+
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}/${P}-backup-limits.patch"
+ epatch "${FILESDIR}/${P}-as-needed.patch"
+}
+
+src_compile() {
+ local myconf=""
+ use debug && myconf="${myconf} --enable-debug"
+ use bluetooth && myconf="${myconf} --with-bluedir=/usr/lib" \
+ || myconf="${myconf} --disable-bluetooth"
+ use mysql || myconf="${myconf} --disable-mysql"
+ use irda || myconf="${myconf} --disable-irda"
+ econf \
+ --prefix=/usr \
+ --enable-cb \
+ --enable-7110incoming \
+ ${myconf} || die "configure failed"
+
+ emake shared || die "make failed"
+}
+
+src_install () {
+ make DESTDIR="${D}" installshared || die "install failed"
+ mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${P}"
+}