summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-07-01 10:34:13 +0000
committerAlin Năstac <mrness@gentoo.org>2007-07-01 10:34:13 +0000
commit25985dc00ce8f5cdc626ab5a3264691eda7adc37 (patch)
treea42f7f974efec276ae5ba2b58f48915fd90dd479 /app-mobilephone/gammu
parentFix up dbus deps wrt bug 183696. Fix quoting and remove old versions. (diff)
downloadhistorical-25985dc00ce8f5cdc626ab5a3264691eda7adc37.tar.gz
historical-25985dc00ce8f5cdc626ab5a3264691eda7adc37.tar.bz2
historical-25985dc00ce8f5cdc626ab5a3264691eda7adc37.zip
Version bump using cmake instead unsupported autoconf script (#183323).
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'app-mobilephone/gammu')
-rw-r--r--app-mobilephone/gammu/ChangeLog11
-rw-r--r--app-mobilephone/gammu/Manifest44
-rw-r--r--app-mobilephone/gammu/files/digest-gammu-1.08.003
-rw-r--r--app-mobilephone/gammu/files/digest-gammu-1.12.03
-rw-r--r--app-mobilephone/gammu/files/gammu-1.08.00-as-needed.patch30
-rw-r--r--app-mobilephone/gammu/files/gammu-1.08.00-backup-limits.patch15
-rw-r--r--app-mobilephone/gammu/files/gammu-1.12.0-fixups.patch81
-rw-r--r--app-mobilephone/gammu/gammu-1.08.00.ebuild49
-rw-r--r--app-mobilephone/gammu/gammu-1.12.0.ebuild81
9 files changed, 195 insertions, 122 deletions
diff --git a/app-mobilephone/gammu/ChangeLog b/app-mobilephone/gammu/ChangeLog
index 61feba62d45e..8e8ff37c7e80 100644
--- a/app-mobilephone/gammu/ChangeLog
+++ b/app-mobilephone/gammu/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for app-mobilephone/gammu
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.39 2007/06/19 06:46:20 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.40 2007/07/01 10:34:13 mrness Exp $
+
+*gammu-1.12.0 (01 Jul 2007)
+
+ 01 Jul 2007; Alin Năstac <mrness@gentoo.org>
+ -files/gammu-1.08.00-as-needed.patch,
+ -files/gammu-1.08.00-backup-limits.patch,
+ +files/gammu-1.12.0-fixups.patch, -gammu-1.08.00.ebuild,
+ +gammu-1.12.0.ebuild:
+ Version bump using cmake instead unsupported autoconf script (#183323).
19 Jun 2007; Christian Faulhammer <opfer@gentoo.org> gammu-1.11.0.ebuild:
stable x86, bug 178635
diff --git a/app-mobilephone/gammu/Manifest b/app-mobilephone/gammu/Manifest
index f4b61089eaef..4a9f8d4f67c8 100644
--- a/app-mobilephone/gammu/Manifest
+++ b/app-mobilephone/gammu/Manifest
@@ -1,14 +1,6 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX gammu-1.08.00-as-needed.patch 1675 RMD160 2b5183e29e18d490082c40ae57ba76fb37c5a0e6 SHA1 86e9987511ef143847c0d14bfbad20036f01ec83 SHA256 de1ce05534ffcdd938705d3c5de780ed612c7a45e77998c20e01cb37bac6b139
-MD5 a517387ed649aee24cb5b5e21a0d48bd files/gammu-1.08.00-as-needed.patch 1675
-RMD160 2b5183e29e18d490082c40ae57ba76fb37c5a0e6 files/gammu-1.08.00-as-needed.patch 1675
-SHA256 de1ce05534ffcdd938705d3c5de780ed612c7a45e77998c20e01cb37bac6b139 files/gammu-1.08.00-as-needed.patch 1675
-AUX gammu-1.08.00-backup-limits.patch 670 RMD160 6ee8d512cddca2c3ac8feb3b4446d48c962fbbc9 SHA1 1754f54f74f833e3b6669f493bbc99b625f71493 SHA256 30306f1d770d67320a53995912c4f9c3a370f11953df2eb6d0a44a86ab8ec393
-MD5 babe69afb62603fa0dd49b6308cefed3 files/gammu-1.08.00-backup-limits.patch 670
-RMD160 6ee8d512cddca2c3ac8feb3b4446d48c962fbbc9 files/gammu-1.08.00-backup-limits.patch 670
-SHA256 30306f1d770d67320a53995912c4f9c3a370f11953df2eb6d0a44a86ab8ec393 files/gammu-1.08.00-backup-limits.patch 670
AUX gammu-1.09.00-as-needed.patch 1218 RMD160 38fba218398a670db9a1d95add6c1caffb43757a SHA1 1e80099ac9decba67d64fb869e3cef6055ccdeac SHA256 e0c7e5e5eee8a2596048ec3d0cbf9d7fa082631d679f3915606197cf7078ddbf
MD5 3f320b070905bd507b007d84969c5730 files/gammu-1.09.00-as-needed.patch 1218
RMD160 38fba218398a670db9a1d95add6c1caffb43757a files/gammu-1.09.00-as-needed.patch 1218
@@ -33,14 +25,14 @@ AUX gammu-1.11.0-fixups.patch 1595 RMD160 d3171b3c55ae9ec456b8e79307ced7d49a3f20
MD5 f0be4858f93557e0223c791106dafddd files/gammu-1.11.0-fixups.patch 1595
RMD160 d3171b3c55ae9ec456b8e79307ced7d49a3f2006 files/gammu-1.11.0-fixups.patch 1595
SHA256 ce6cc3323b49e7172a3065b12a863f030ab53927c0e55f34435f281444e887e0 files/gammu-1.11.0-fixups.patch 1595
-DIST gammu-1.08.00.tar.gz 1104688 RMD160 1297b9f5cc38c3cc8a90ac124e925181847f8c76 SHA1 798cf7c58443db7f73c1c70cb5a2c5332ebadf36 SHA256 1336fcf24b36dfba411e5147ba301d6f5c1b501ddbb2ae714de3196e65cc7b55
+AUX gammu-1.12.0-fixups.patch 3077 RMD160 034b194cccc3f82c41c15aefa30dbc85439d1281 SHA1 039ee2cf1560b5f105f1f80b42434e20e5f66ff4 SHA256 5213f663574309ba90af8d9f127b794717cfed668791b1a2fedb5de44b181c47
+MD5 f1faf7f99d987e203f3ad1ceeb312cd8 files/gammu-1.12.0-fixups.patch 3077
+RMD160 034b194cccc3f82c41c15aefa30dbc85439d1281 files/gammu-1.12.0-fixups.patch 3077
+SHA256 5213f663574309ba90af8d9f127b794717cfed668791b1a2fedb5de44b181c47 files/gammu-1.12.0-fixups.patch 3077
DIST gammu-1.09.00.tar.gz 1137894 RMD160 e4eeaf685028f0624217ade365b4e4e21c3d3d7b SHA1 6d740b383b38ec1176aac6e569b68fd67d149374 SHA256 7746961a708f3b48bd31165b0fc99b051a35be60b49a6c51774fdf13a1c0bc65
DIST gammu-1.10.0.tar.bz2 889856 RMD160 d17c5595782fde59c9b5f91bd4820fa01924979e SHA1 d33e62c12d3c34a26d5932649731442123b2bb49 SHA256 91062db1fd62095bdda21782e076157a343e0181e684738c2edbfff5fc860f64
DIST gammu-1.11.0.tar.bz2 920489 RMD160 903624c472b9d5225783e064d3a393060a4dcc37 SHA1 8bc28d3dbea86c9076ed5712ced316017c47ccaa SHA256 5d18cbf162edb8f54c47621b8dbf0683359e74ad67a985360cfcc4c810f2a086
-EBUILD gammu-1.08.00.ebuild 1367 RMD160 77b801dd35c598853f90b162733e62dfd9749b8d SHA1 7345d7705e5532fd054ea2ca0622cdad91e5b09e SHA256 9b3d2d2d1ee2397ad66362df6013fb17109bf64d81f96ad5bde1a7d1eb4f7ac7
-MD5 c4159b6340ebaaa9e091d782e0b38078 gammu-1.08.00.ebuild 1367
-RMD160 77b801dd35c598853f90b162733e62dfd9749b8d gammu-1.08.00.ebuild 1367
-SHA256 9b3d2d2d1ee2397ad66362df6013fb17109bf64d81f96ad5bde1a7d1eb4f7ac7 gammu-1.08.00.ebuild 1367
+DIST gammu-1.12.0.tar.bz2 940565 RMD160 a44b351777ab6c5d635401e968eb853d2508102b SHA1 0a4fb2745a90cc503e86ad0bb90a27e5e283d2ca SHA256 4ab84e05440f82bcc440030752fcf482a15d284f40de08f2240d43bc528c4fa1
EBUILD gammu-1.09.00.ebuild 1414 RMD160 94ce2091fc8c348dc89045b71e8f4c0e8174b6a0 SHA1 b4d5e3e54fe994d3a9a1a478e9c1ddefe95880b5 SHA256 eb2e3d21ab7f83b9ce73b517dbbe857e6e6b73c679442178b09ea807d63730a4
MD5 3c1418e1a91cf8ecbdef4d7bc6b685f9 gammu-1.09.00.ebuild 1414
RMD160 94ce2091fc8c348dc89045b71e8f4c0e8174b6a0 gammu-1.09.00.ebuild 1414
@@ -53,17 +45,18 @@ EBUILD gammu-1.11.0.ebuild 1352 RMD160 91b93b801dacc9878c3a72207f063d2d9b0e055a
MD5 f14f5ca04468caacc1ab77d0bb7ee069 gammu-1.11.0.ebuild 1352
RMD160 91b93b801dacc9878c3a72207f063d2d9b0e055a gammu-1.11.0.ebuild 1352
SHA256 fb48b3634d3e2e55751c030a9da2042f0e441bf767042c76f540a9c41d98cf8b gammu-1.11.0.ebuild 1352
-MISC ChangeLog 9194 RMD160 ac149f864767212df75774d7c84bd0d114387d66 SHA1 dd1a16bbedc186fcc1ae9549e8748e91bc16b30a SHA256 85cc75d4caefceb830ec697f19811b4d1e22a41ecfafbdb468080fef553ccc32
-MD5 b5b21954652343cd52ec1d0e85254ab5 ChangeLog 9194
-RMD160 ac149f864767212df75774d7c84bd0d114387d66 ChangeLog 9194
-SHA256 85cc75d4caefceb830ec697f19811b4d1e22a41ecfafbdb468080fef553ccc32 ChangeLog 9194
+EBUILD gammu-1.12.0.ebuild 2042 RMD160 33d65fa97233e7b16f7bd71f6503688a3035161d SHA1 4ab76c0d7673e75635f16a072971f05be6b1f532 SHA256 f786fd1bf511ca20f525a66fe15f566a6ff5dbea83cb6acd3676073764f4b58c
+MD5 55d57a6fb107d007c884fde615bea7de gammu-1.12.0.ebuild 2042
+RMD160 33d65fa97233e7b16f7bd71f6503688a3035161d gammu-1.12.0.ebuild 2042
+SHA256 f786fd1bf511ca20f525a66fe15f566a6ff5dbea83cb6acd3676073764f4b58c gammu-1.12.0.ebuild 2042
+MISC ChangeLog 9514 RMD160 5d8526006d53fb763d5f0b9b643e1e8a16404320 SHA1 4deffd336b86eab08796a7f44562e4d2a039cbc9 SHA256 61842cce5fb34bd5633819ff8ff8f81aea75a5e17edf3b6ca77f27d704ed87f5
+MD5 0418e5c383c6b4b618688cbefd4b542e ChangeLog 9514
+RMD160 5d8526006d53fb763d5f0b9b643e1e8a16404320 ChangeLog 9514
+SHA256 61842cce5fb34bd5633819ff8ff8f81aea75a5e17edf3b6ca77f27d704ed87f5 ChangeLog 9514
MISC metadata.xml 165 RMD160 1bf9089beacb19ba770d553d02356566ecd76892 SHA1 866903a1177187bfcc803fb62e0e3be2a2674481 SHA256 576ea680ccc744a6279987ce542f52f215515a2b4e95bd08c61a66bba9af1c57
MD5 8e1fd49c29f85eea8da87d6e7de450c6 metadata.xml 165
RMD160 1bf9089beacb19ba770d553d02356566ecd76892 metadata.xml 165
SHA256 576ea680ccc744a6279987ce542f52f215515a2b4e95bd08c61a66bba9af1c57 metadata.xml 165
-MD5 6d10ce4c4ef429c8faabf172066b7ec8 files/digest-gammu-1.08.00 244
-RMD160 8f164de439d7f2204e4ea55a4594c3f32968e60b files/digest-gammu-1.08.00 244
-SHA256 5c9982fda1025fa621513066344919818a752774d253e0dc5966f3bf78fff99a files/digest-gammu-1.08.00 244
MD5 a879f7345cfa653ec653882d219b4234 files/digest-gammu-1.09.00 244
RMD160 0929368f120241725727dd0511f1860e4b3cf2ef files/digest-gammu-1.09.00 244
SHA256 804c2d37b8718f6e7ebe90ee008ca9e7b219011787ef9da288a4d38cd9fa2a05 files/digest-gammu-1.09.00 244
@@ -73,10 +66,13 @@ SHA256 960b834c451bea6bee63dd00e1993ff8a516ca714848ea8b37db9d74d7a7c59b files/di
MD5 4624d7a31873bbc0b8d163fcab08e2cc files/digest-gammu-1.11.0 241
RMD160 65e59202cc9fde20346716b65b1ee57fe2758e24 files/digest-gammu-1.11.0 241
SHA256 a6d97b3634b05fbfa6d0ae1fd9aecec5dc0eb3f52264579765f9b848c628f50d files/digest-gammu-1.11.0 241
+MD5 7318f9f3624fff2a584efafaa8e94338 files/digest-gammu-1.12.0 241
+RMD160 7e56e9857a035cf147ebcdff71a324d7f00c9143 files/digest-gammu-1.12.0 241
+SHA256 a32ed8faf55d46766d9aaab4314552e297b9f99f21ab846edba1faa81530cd65 files/digest-gammu-1.12.0 241
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7 (GNU/Linux)
+Version: GnuPG v2.0.4 (GNU/Linux)
-iD8DBQFGd3vCNQqtfCuFneMRAgHQAJ9UdozBi0Dgs/VkovD79FuBV/fTgwCffPwq
-CHleVqeOqBNwju/QXrUe/Bw=
-=X8if
+iD8DBQFGh4MwVSA5X31g7/gRAkE7AJ0YSSSlxU/nQU7zBf9+lrWx1Z4xMgCfdLTE
+PCC7VUAK1W2AHTbzKUGb/BY=
+=mRBQ
-----END PGP SIGNATURE-----
diff --git a/app-mobilephone/gammu/files/digest-gammu-1.08.00 b/app-mobilephone/gammu/files/digest-gammu-1.08.00
deleted file mode 100644
index e3759d62e23f..000000000000
--- a/app-mobilephone/gammu/files/digest-gammu-1.08.00
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e934c756419b045e9c128103cb02644b gammu-1.08.00.tar.gz 1104688
-RMD160 1297b9f5cc38c3cc8a90ac124e925181847f8c76 gammu-1.08.00.tar.gz 1104688
-SHA256 1336fcf24b36dfba411e5147ba301d6f5c1b501ddbb2ae714de3196e65cc7b55 gammu-1.08.00.tar.gz 1104688
diff --git a/app-mobilephone/gammu/files/digest-gammu-1.12.0 b/app-mobilephone/gammu/files/digest-gammu-1.12.0
new file mode 100644
index 000000000000..2778219b6cd5
--- /dev/null
+++ b/app-mobilephone/gammu/files/digest-gammu-1.12.0
@@ -0,0 +1,3 @@
+MD5 260035c1647bab396dfd9b35d78a3ad8 gammu-1.12.0.tar.bz2 940565
+RMD160 a44b351777ab6c5d635401e968eb853d2508102b gammu-1.12.0.tar.bz2 940565
+SHA256 4ab84e05440f82bcc440030752fcf482a15d284f40de08f2240d43bc528c4fa1 gammu-1.12.0.tar.bz2 940565
diff --git a/app-mobilephone/gammu/files/gammu-1.08.00-as-needed.patch b/app-mobilephone/gammu/files/gammu-1.08.00-as-needed.patch
deleted file mode 100644
index ec00483b8023..000000000000
--- a/app-mobilephone/gammu/files/gammu-1.08.00-as-needed.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -Nru gammu-1.08.00.orig/cfg/Makefile.glo gammu-1.08.00/cfg/Makefile.glo
---- gammu-1.08.00.orig/cfg/Makefile.glo 2006-05-19 20:44:18.000000000 +0300
-+++ gammu-1.08.00/cfg/Makefile.glo 2006-07-12 22:52:40.069027750 +0300
-@@ -126,7 +126,7 @@
-
- $(TOPDIR)/gammu/gammu: $(COMMON) $(GAMMU)
- @echo Linking gammu
-- @$(CC) $(COMMON) $(GAMMU) $(LDLIBS) $(SMSD_LIBS) -o $(TOPDIR)/gammu/gammu $(LDFLAGS)
-+ @$(CC) $(LDFLAGS) $(COMMON) $(GAMMU) $(LDLIBS) $(SMSD_LIBS) -o $(TOPDIR)/gammu/gammu
-
- gammu: $(TOPDIR)/gammu/gammu
-
-@@ -136,7 +136,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
-
-@@ -148,7 +148,7 @@
-
- $(TOPDIR)/gammu/gammu-shared: $(COMMON) $(GAMMU) $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR)
- @echo Linking gammu-shared
-- @$(CC) -L$(TOPDIR)/common -lGammu $(LDFLAGS) $(SMSD_LIBS) $(LDLIBS) $(GAMMU) -o $(TOPDIR)/gammu/gammu-shared
-+ @$(CC) $(LDFLAGS) -L$(TOPDIR)/common $(GAMMU) -lGammu $(SMSD_LIBS) $(LDLIBS) -o $(TOPDIR)/gammu/gammu-shared
-
- shared: $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(TOPDIR)/common/libGammu.a $(TOPDIR)/gammu/gammu-shared
-
diff --git a/app-mobilephone/gammu/files/gammu-1.08.00-backup-limits.patch b/app-mobilephone/gammu/files/gammu-1.08.00-backup-limits.patch
deleted file mode 100644
index 3d38242e61d6..000000000000
--- a/app-mobilephone/gammu/files/gammu-1.08.00-backup-limits.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -Nru gammu-1.08.00.orig/common/service/backup/backgen.h gammu-1.08.00/common/service/backup/backgen.h
---- gammu-1.08.00.orig/common/service/backup/backgen.h 2006-06-02 21:03:12.000000000 +0300
-+++ gammu-1.08.00/common/service/backup/backgen.h 2006-06-02 21:03:26.084773750 +0300
-@@ -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/files/gammu-1.12.0-fixups.patch b/app-mobilephone/gammu/files/gammu-1.12.0-fixups.patch
new file mode 100644
index 000000000000..8d50feb92eac
--- /dev/null
+++ b/app-mobilephone/gammu/files/gammu-1.12.0-fixups.patch
@@ -0,0 +1,81 @@
+diff -Nru gammu-1.12.0.orig/CMakeLists.txt gammu-1.12.0/CMakeLists.txt
+--- gammu-1.12.0.orig/CMakeLists.txt 2007-06-12 13:30:30.000000000 +0300
++++ gammu-1.12.0/CMakeLists.txt 2007-07-01 12:12:07.000000000 +0300
+@@ -688,7 +688,7 @@
+
+ install (
+ FILES "${Gammu_BINARY_DIR}/cfg/gammu.pc"
+- DESTINATION "lib/pkgconfig"
++ DESTINATION "${INSTALL_LIB_DIR}/pkgconfig"
+ COMPONENT "development"
+ )
+
+diff -Nru gammu-1.12.0.orig/common/phone/nokia/dct4s40/6510/6510file.c gammu-1.12.0/common/phone/nokia/dct4s40/6510/6510file.c
+--- gammu-1.12.0.orig/common/phone/nokia/dct4s40/6510/6510file.c 2007-07-01 12:12:34.000000000 +0300
++++ gammu-1.12.0/common/phone/nokia/dct4s40/6510/6510file.c 2007-07-01 12:01:19.000000000 +0300
+@@ -934,7 +934,7 @@
+ msg.Buffer[11]*256*256+
+ msg.Buffer[12]*256+
+ msg.Buffer[13];
+- smprintf(s,"Size %i bytes\n",File->Used);
++ smprintf(s,"Size %zi bytes\n",File->Used);
+ }
+ File->ReadOnly = false;
+ if ((msg.Buffer[29] & 1) == 1) {
+diff -Nru gammu-1.12.0.orig/gammu/gammu.c gammu-1.12.0/gammu/gammu.c
+--- gammu-1.12.0.orig/gammu/gammu.c 2007-07-01 12:12:34.000000000 +0300
++++ gammu-1.12.0/gammu/gammu.c 2007-07-01 12:01:19.000000000 +0300
+@@ -2697,7 +2697,7 @@
+ error = GSM_GetFilePart(s,&File,&Handle,&Size);
+ if (error == ERR_EMPTY) break;
+ Print_Error(error);
+- fprintf(stderr, _("%c Reading: %i percent"),13,File.Used*100/Size);
++ fprintf(stderr, _("%c Reading: %i percent"),13, (int)(File.Used*100/Size));
+ }
+ fprintf(stderr, "%c",13);
+
+@@ -8289,7 +8289,7 @@
+ if (!Files.ModifiedEmpty) {
+ printf(" %30s",OSDateTime(Files.Modified,false));
+ } else printf(" %30c",0x20);
+- printf(" %9i",Files.Used);
++ printf(" %9zi",Files.Used);
+ printf(" ");
+ } else printf("|-- ");
+ } else {
+@@ -8325,7 +8325,7 @@
+ if (!Files.ModifiedEmpty) {
+ printf("\"%s\";",OSDateTime(Files.Modified,false));
+ } else printf("\"%c\";",0x20);
+- printf("%i;",Files.Used);
++ printf("%zi;",Files.Used);
+ } else {
+ if (error == ERR_FOLDERPART) {
+ printf(_("Part of folder;"));
+@@ -8440,7 +8440,7 @@
+ if (!Files.ModifiedEmpty) {
+ printf("\"%s\";",OSDateTime(Files.Modified,false));
+ } else printf("\"%c\";",0x20);
+- printf("%i;",Files.Used);
++ printf("%zi;",Files.Used);
+ } else {
+ printf(_("Folder"));
+ printf(";\"%s\";",DecodeUnicodeConsole(Files.Name));
+@@ -8495,7 +8495,7 @@
+ if (Size==0) {
+ printf("*");
+ } else {
+- fprintf(stderr, _("%c %i percent"), 13, File->Used*100/Size);
++ fprintf(stderr, _("%c %i percent"), 13, (int)(File->Used*100/Size));
+ if (File->Used*100/Size >= 2) {
+ t_time2 = time(NULL);
+ diff = t_time2-t_time1;
+@@ -8676,7 +8676,7 @@
+ if (File->Used != 0) {
+ fprintf(stderr, "\r");
+ fprintf(stderr, "%s", text);
+- fprintf(stderr, _("%3i percent"), Pos * 100 / File->Used);
++ fprintf(stderr, _("%3i percent"), (int)(Pos * 100 / File->Used));
+ if (Pos*100/File->Used >= 2) {
+ GSM_GetCurrentDateTime(&dt);
+ t_time2 = Fill_Time_T(dt);
diff --git a/app-mobilephone/gammu/gammu-1.08.00.ebuild b/app-mobilephone/gammu/gammu-1.08.00.ebuild
deleted file mode 100644
index c059639ddba2..000000000000
--- a/app-mobilephone/gammu/gammu-1.08.00.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/gammu-1.08.00.ebuild,v 1.6 2007/06/17 10:56:46 armin76 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 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}"
-}
diff --git a/app-mobilephone/gammu/gammu-1.12.0.ebuild b/app-mobilephone/gammu/gammu-1.12.0.ebuild
new file mode 100644
index 000000000000..d8ba0dc4a517
--- /dev/null
+++ b/app-mobilephone/gammu/gammu-1.12.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/gammu-1.12.0.ebuild,v 1.1 2007/07/01 10:34:13 mrness Exp $
+
+inherit eutils multilib
+
+DESCRIPTION="a fork of the gnokii project, a tool to handle your cellular phone"
+HOMEPAGE="http://www.gammu.org"
+SRC_URI="ftp://dl.cihar.com/gammu/releases/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug bluetooth irda mysql postgres nls"
+
+RDEPEND="bluetooth? ( net-wireless/bluez-libs )
+ mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql )
+ dev-util/dialog"
+DEPEND="${RDEPEND}
+ irda? ( virtual/os-headers )
+ nls? ( sys-devel/gettext )
+ dev-util/cmake"
+
+# Supported languages and translated documentation
+# Be sure all languages are prefixed with a single space!
+MY_AVAILABLE_LINGUAS=" cs de es it pl ru"
+IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
+
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}/${P}-fixups.patch"
+
+ # sys-devel/gettext is needed for creating .mo files
+ cd "${S}"
+ local lang
+ for lang in ${MY_AVAILABLE_LINGUAS} ; do
+ if ! use linguas_${lang} ; then
+ sed -i -e "/^[ \t]*${lang}[ \t]*$/d" CMakeLists.txt
+ fi
+ done
+}
+
+my_use_with() {
+ local WITH_PREFIX
+ if [ -n "${2}" ]; then
+ WITH_PREFIX="-DWITH_${2}"
+ else
+ WITH_PREFIX="-DWITH_${1}"
+ fi
+ if use $1 ; then
+ echo ${WITH_PREFIX}=ON
+ else
+ echo ${WITH_PREFIX}=OFF
+ fi
+}
+
+src_compile() {
+ local myconf="$(my_use_with bluetooth Bluez) \
+ $(my_use_with irda IrDA) \
+ $(my_use_with mysql MySQL) \
+ $(my_use_with postgres Postgres)"
+ use debug && myconf="${myconf} -DCMAKE_BUILD_TYPE=Debug"
+
+ mkdir "${S}/build" && \
+ cd "${S}/build" && \
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DINSTALL_LIB_DIR=/usr/$(get_libdir) \
+ -DINSTALL_DOC_DIR="/usr/share/doc/${P}" \
+ -DENABLE_SHARED=ON \
+ -DHAVE_SIN=NO \
+ ${myconf} || die "cmake failed"
+ emake || die "make failed"
+}
+
+src_install () {
+ cd "${S}/build"
+ make DESTDIR="${D}" install || die "install failed"
+}