[arch-commits] Commit in libstroke/repos (6 files)

Felix Yan felixonmars at archlinux.org
Sat May 16 11:09:41 UTC 2020


    Date: Saturday, May 16, 2020 @ 11:09:41
  Author: felixonmars
Revision: 384252

archrelease: copy trunk to staging-x86_64

Added:
  libstroke/repos/staging-x86_64/
  libstroke/repos/staging-x86_64/PKGBUILD
    (from rev 384251, libstroke/trunk/PKGBUILD)
  libstroke/repos/staging-x86_64/libgstroke-Makefile.am.patch
    (from rev 384251, libstroke/trunk/libgstroke-Makefile.am.patch)
  libstroke/repos/staging-x86_64/libstroke-0.5.1-m4_syntax.patch
    (from rev 384251, libstroke/trunk/libstroke-0.5.1-m4_syntax.patch)
  libstroke/repos/staging-x86_64/libstroke-0.5.1-no_gtk1.patch
    (from rev 384251, libstroke/trunk/libstroke-0.5.1-no_gtk1.patch)
  libstroke/repos/staging-x86_64/libstroke-Makefile.am.patch
    (from rev 384251, libstroke/trunk/libstroke-Makefile.am.patch)

---------------------------------+
 PKGBUILD                        |   40 ++++++++++++++++++++++++++
 libgstroke-Makefile.am.patch    |   11 +++++++
 libstroke-0.5.1-m4_syntax.patch |   58 ++++++++++++++++++++++++++++++++++++++
 libstroke-0.5.1-no_gtk1.patch   |   33 +++++++++++++++++++++
 libstroke-Makefile.am.patch     |   15 +++++++++
 5 files changed, 157 insertions(+)

Copied: libstroke/repos/staging-x86_64/PKGBUILD (from rev 384251, libstroke/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 11:09:41 UTC (rev 384252)
@@ -0,0 +1,40 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=libstroke
+pkgver=0.5.1
+pkgrel=8
+pkgdesc="A stroke (mouse gesture) translation library"
+arch=('x86_64')
+url="http://etla.net/libstroke/"
+license=('GPL2')
+depends=('glibc')
+makedepends=('libx11')
+source=( # http://etla.net/libstroke/${pkgname}-${pkgver}.tar.gz
+        https://sources.archlinux.org/other/packages/$pkgname/$pkgname-$pkgver.tar.gz
+        libgstroke-Makefile.am.patch libstroke-Makefile.am.patch
+        libstroke-0.5.1-m4_syntax.patch libstroke-0.5.1-no_gtk1.patch)
+sha1sums=('48bd2b98faa8681ccd97eda7a09442845dbf1b7b'
+          'a0c3bd9e894650475ba3049b0ef3d7f9580c203d'
+          'ee5a3635c31dba00b070a942c512cc0d53056188'
+          'c9240937776b0572e3927e1c56d78309413c5209'
+          'c79acd9712fa5c6b9a9ac21621c6858ec10d84dd')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}/libgstroke-Makefile.am.patch"
+  patch -p1 -i "${srcdir}/libstroke-Makefile.am.patch"
+  patch -p1 -i "${srcdir}/libstroke-0.5.1-m4_syntax.patch"
+  patch -p1 -i "${srcdir}/libstroke-0.5.1-no_gtk1.patch"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  autoreconf --force --install
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: libstroke/repos/staging-x86_64/libgstroke-Makefile.am.patch (from rev 384251, libstroke/trunk/libgstroke-Makefile.am.patch)
===================================================================
--- staging-x86_64/libgstroke-Makefile.am.patch	                        (rev 0)
+++ staging-x86_64/libgstroke-Makefile.am.patch	2020-05-16 11:09:41 UTC (rev 384252)
@@ -0,0 +1,11 @@
+--- libstroke-0.5.1/libgstroke/Makefile.am.orig	2008-06-11 13:01:29.000000000 +0400
++++ libstroke-0.5.1/libgstroke/Makefile.am	2008-06-11 13:01:44.000000000 +0400
+@@ -21,7 +21,7 @@
+ INCLUDES = @GTK_CFLAGS@
+ LDADD    = @GTK_LIBS@
+ 
+-EXTRA_DIST = 
++#EXTRA_DIST = 
+ 
+ MOSTLYCLEANFILES = core *~ 
+ CLEANFILES = core *~ 

Copied: libstroke/repos/staging-x86_64/libstroke-0.5.1-m4_syntax.patch (from rev 384251, libstroke/trunk/libstroke-0.5.1-m4_syntax.patch)
===================================================================
--- staging-x86_64/libstroke-0.5.1-m4_syntax.patch	                        (rev 0)
+++ staging-x86_64/libstroke-0.5.1-m4_syntax.patch	2020-05-16 11:09:41 UTC (rev 384252)
@@ -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])

Copied: libstroke/repos/staging-x86_64/libstroke-0.5.1-no_gtk1.patch (from rev 384251, libstroke/trunk/libstroke-0.5.1-no_gtk1.patch)
===================================================================
--- staging-x86_64/libstroke-0.5.1-no_gtk1.patch	                        (rev 0)
+++ staging-x86_64/libstroke-0.5.1-no_gtk1.patch	2020-05-16 11:09:41 UTC (rev 384252)
@@ -0,0 +1,33 @@
+--- libstroke-0.5.1/configure.in	2001-08-07 07:08:05.000000000 +0100
++++ libstroke-0.5.1b/configure.in	2006-11-28 01:49:26.000000000 +0000
+@@ -81,16 +81,9 @@
+ [  --with-mouse-footprints  Draw mouse footprints in X],
+ [AC_DEFINE(STROKE_MOUSE_FOOTPRINTS)])
+ 
+-dnl check for GTK
+-dnl we won't build libgstroke if it's not found
+-AC_MSG_CHECKING(gtk+ library)
+-AM_PATH_GTK(1.2.7, HAVE_LIBGTK=yes
+-  AC_DEFINE(HAVE_LIBGTK, 1, [Define if libgtk is available]),
+-  AC_MSG_WARN(
+-***** NOTE: The GNOME stroke support won't be built
+-)
+-  HAVE_LIBGTK=no,
+-)
++GTK_CFLAGS=""
++AC_SUBST(GTK_CFLAGS)
++HAVE_LIBGTK=no
+ AM_CONDITIONAL(HAVE_LIBGTK,        test "x$HAVE_LIBGTK" = "xyes")
+ 
+ 
+--- libstroke-0.5.1/Makefile.am	2001-08-07 07:03:12.000000000 +0100
++++ libstroke-0.5.1b/Makefile.am	2006-11-28 02:00:55.000000000 +0000
+@@ -10,7 +10,7 @@
+ EXTRA_DIST = COPYRIGHT CREDITS README.javastroke README.libgstroke
+ 
+ m4datadir=$(datadir)/aclocal
+-m4data_DATA=libstroke.m4 libgstroke.m4
++m4data_DATA=libstroke.m4
+ 
+ MOSTLYCLEANFILES = core *~
+ CLEANFILES = core *~

Copied: libstroke/repos/staging-x86_64/libstroke-Makefile.am.patch (from rev 384251, libstroke/trunk/libstroke-Makefile.am.patch)
===================================================================
--- staging-x86_64/libstroke-Makefile.am.patch	                        (rev 0)
+++ staging-x86_64/libstroke-Makefile.am.patch	2020-05-16 11:09:41 UTC (rev 384252)
@@ -0,0 +1,15 @@
+--- libstroke-0.5.1/libstroke/Makefile.am.orig	2008-06-11 13:01:54.000000000 +0400
++++ libstroke-0.5.1/libstroke/Makefile.am	2008-06-11 13:02:02.000000000 +0400
+@@ -5,10 +5,10 @@
+ # level Makefile.
+ AUTOMAKE_OPTIONS = foreign
+ 
+-EXTRA_DIST = 
++#EXTRA_DIST = 
+ 
+ #tclpath::
+-	#echo ${ENABLE_TCL}
++#	echo ${ENABLE_TCL}
+ 
+ #if ENABLE_TCL
+ #SEL_BIB = libstroke.la libstroke_tcl.la



More information about the arch-commits mailing list