[Frugalware-darcs] frugalware-current: gammu-1.11.91-2-x86_64

Christian Hamar alias krix krics at linuxforum.hu
Sat Jun 2 19:33:29 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=darcs_commitdiff;h=20070602173106-d209c-817699f5860f0fa61f307386d045ea50669e1b18.gz;

[gammu-1.11.91-2-x86_64
Christian Hamar alias krix <krics at linuxforum.hu>**20070602173106
   * Release bump
   * Fixed make install thingy (now .pc files got correct values)
   * Added /etc/gammu/gammurc (and a patch that gammu search the config at there)
 
] {
hunk ./source/apps-extra/gammu/FrugalBuild 6
-pkgrel=1
+pkgrel=2
hunk ./source/apps-extra/gammu/FrugalBuild 15
-source=(http://dl.cihar.com/gammu/releases/$pkgname-$pkgver.tar.bz2)
+source=(http://dl.cihar.com/gammu/releases/$pkgname-$pkgver.tar.bz2 \
+	gammurc-path-fix.patch)
+
+# NOTE: check new releases about cmake bug in gammu. 
+# dont use make install DESTDIR=** things. Use the right cmake way if they fixed
+# it. -krix-
hunk ./source/apps-extra/gammu/FrugalBuild 29
+	# Fix for config file. Put that config file into /etc/gammu/
+	Fpatch gammurc-path-fix.patch
hunk ./source/apps-extra/gammu/FrugalBuild 34
-		-DCMAKE_INSTALL_PREFIX="$Fdestdir/usr" \
+		-DCMAKE_INSTALL_PREFIX="/usr" \
hunk ./source/apps-extra/gammu/FrugalBuild 36
+		-DENABLE_STATIC=ON \
hunk ./source/apps-extra/gammu/FrugalBuild 47
-	make install || Fdie
+	make install DESTDIR=$Fdestdir || Fdie
hunk ./source/apps-extra/gammu/FrugalBuild 50
+	# Install sample config file under /etc/gammu/gammurc
+	Fmkdir etc/gammu
+	cp -a $Fdestdir/usr/share/doc/$pkgname-$pkgver/examples/config/gammurc \
+	    $Fdestdir/etc/gammu/
hunk ./source/apps-extra/gammu/FrugalBuild 56
-sha1sums=('554436b09369d72f82b9a6f69210850da0fdeb4f')
+sha1sums=('554436b09369d72f82b9a6f69210850da0fdeb4f'\
+          '68632cf0b015118b7a9c97d9b905fe47bcd927d4')
addfile ./source/apps-extra/gammu/gammurc-path-fix.patch
hunk ./source/apps-extra/gammu/gammurc-path-fix.patch 1
+diff -Naur gammu-1.11.91.orig/common/gsmstate.c gammu-1.11.91/common/gsmstate.c
+--- gammu-1.11.91.orig/common/gsmstate.c	2007-06-02 19:18:14.000000000 +0200
++++ gammu-1.11.91/common/gsmstate.c	2007-06-02 19:22:17.000000000 +0200
+@@ -18,7 +18,7 @@
+ 
+ #define FALLBACK_GAMMURC "gammurc"
+ #else
+-#define FALLBACK_GAMMURC "/etc/gammurc"
++#define FALLBACK_GAMMURC "/etc/gammu/gammurc"
+ #endif
+ 
+ static void GSM_RegisterConnection(GSM_StateMachine *s, unsigned int connection,
}


More information about the Frugalware-darcs mailing list