[arch-commits] Commit in libstroke/trunk (PKGBUILD libstroke-0.5.1-m4_syntax.patch)

Eric Bélanger eric at archlinux.org
Sat Sep 10 07:12:26 UTC 2011


    Date: Saturday, September 10, 2011 @ 03:12:26
  Author: eric
Revision: 137617

upgpkg: libstroke 0.5.1-5

Add fix for autoconf files

Added:
  libstroke/trunk/libstroke-0.5.1-m4_syntax.patch
Modified:
  libstroke/trunk/PKGBUILD

---------------------------------+
 PKGBUILD                        |   13 +++++---
 libstroke-0.5.1-m4_syntax.patch |   58 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-09-10 05:34:08 UTC (rev 137616)
+++ PKGBUILD	2011-09-10 07:12:26 UTC (rev 137617)
@@ -3,7 +3,7 @@
 
 pkgname=libstroke
 pkgver=0.5.1
-pkgrel=4
+pkgrel=5
 pkgdesc="A stroke (mouse gesture) translation library"
 arch=('i686' 'x86_64')
 url="http://etla.net/libstroke/"
@@ -11,18 +11,23 @@
 depends=('glibc')
 makedepends=('libx11' 'gtk')
 options=('!libtool')
-source=(http://etla.net/libstroke/${pkgname}-${pkgver}.tar.gz libgstroke-Makefile.am.patch libstroke-Makefile.am.patch)
+source=(http://etla.net/libstroke/${pkgname}-${pkgver}.tar.gz \
+        libgstroke-Makefile.am.patch libstroke-Makefile.am.patch \
+        libstroke-0.5.1-m4_syntax.patch)
 md5sums=('51b9a4e309ac15cfcab96191eed03cb2'
          '60bbaf355355c3c66c8015b0f7feca85'
-         '96413a77e1d39d1a3223e8eb6be8ef01')
+         '96413a77e1d39d1a3223e8eb6be8ef01'
+         '93c47eef46a0cc4011a246485c5a6620')
 sha1sums=('48bd2b98faa8681ccd97eda7a09442845dbf1b7b'
           'a0c3bd9e894650475ba3049b0ef3d7f9580c203d'
-          'ee5a3635c31dba00b070a942c512cc0d53056188')
+          'ee5a3635c31dba00b070a942c512cc0d53056188'
+          'c9240937776b0572e3927e1c56d78309413c5209')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   patch -p1 < ../libgstroke-Makefile.am.patch
   patch -p1 < ../libstroke-Makefile.am.patch
+  patch -p1 < ../libstroke-0.5.1-m4_syntax.patch
 
   libtoolize --force --copy
   aclocal

Added: libstroke-0.5.1-m4_syntax.patch
===================================================================
--- libstroke-0.5.1-m4_syntax.patch	                        (rev 0)
+++ libstroke-0.5.1-m4_syntax.patch	2011-09-10 07:12:26 UTC (rev 137617)
@@ -0,0 +1,58 @@
+--- libstroke-0.5.1/libstroke.m4	{cset 02bc4a5e-e9e6-4055-a406-5007a0ac3e55}
++++ libstroke-0.5.1/libstroke.m4	{local clone}
+@@ -26,7 +26,7 @@
+ dnl                     if different from name
+ dnl description         (optional) used to construct help string
+ dnl
+-AC_DEFUN(smr_ARG_WITHLIB, [
++AC_DEFUN([smr_ARG_WITHLIB], [
+ 
+ ifelse($2, , smr_lib=[$1], smr_lib=[$2])
+ 
+@@ -74,7 +74,7 @@
+ dnl extra-flags         (optional) flags required when compiling the
+ dnl                     header, typically more includes; for ex. X_CFLAGS
+ dnl
+-AC_DEFUN(smr_ARG_WITHINCLUDES, [
++AC_DEFUN([smr_ARG_WITHINCLUDES], [
+ 
+ AC_ARG_WITH([$1]-includes,
+ [  --with-$1-includes=DIR  set directory for $1 headers],
+@@ -116,7 +116,7 @@
+ dnl x-libs      (optional) extra libraries, if needed to link with lib
+ dnl x-flags     (optional) extra flags, if needed to include header files
+ dnl
+-AC_DEFUN(smr_CHECK_LIB,
++AC_DEFUN([smr_CHECK_LIB],
+ [
+ ifelse($2, , smr_lib=[$1], smr_lib=[$2])
+ ifelse($5, , , smr_header=[$5])
+--- libstroke-0.5.1/libgstroke.m4	2011-09-10 02:59:55.000000000 -0400
++++ libstroke-0.5.1/libgstroke.m4	2011-09-10 03:01:14.000000000 -0400
+@@ -26,7 +26,7 @@
+ dnl                     if different from name
+ dnl description         (optional) used to construct help string
+ dnl
+-AC_DEFUN(smr_ARG_WITHLIB, [
++AC_DEFUN([smr_ARG_WITHLIB], [
+ 
+ ifelse($2, , smr_lib=[$1], smr_lib=[$2])
+ 
+@@ -74,7 +74,7 @@
+ dnl extra-flags         (optional) flags required when compiling the
+ dnl                     header, typically more includes; for ex. X_CFLAGS
+ dnl
+-AC_DEFUN(smr_ARG_WITHINCLUDES, [
++AC_DEFUN([smr_ARG_WITHINCLUDES], [
+ 
+ AC_ARG_WITH([$1]-includes,
+ [  --with-$1-includes=DIR  set directory for $1 headers],
+@@ -116,7 +116,7 @@
+ dnl x-libs      (optional) extra libraries, if needed to link with lib
+ dnl x-flags     (optional) extra flags, if needed to include header files
+ dnl
+-AC_DEFUN(smr_CHECK_LIB,
++AC_DEFUN([smr_CHECK_LIB],
+ [
+ ifelse($2, , smr_lib=[$1], smr_lib=[$2])
+ ifelse($5, , , smr_header=[$5])




More information about the arch-commits mailing list