Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6785

Added Files:
        libstroke.info libstroke.patch 
Log Message:
from 10.[78], with disabling of libgstroke (gtk+) component


--- NEW FILE: libstroke.patch ---
diff -Nurd -x'*~' libstroke-0.5.1.orig/configure.in libstroke-0.5.1/configure.in
--- libstroke-0.5.1.orig/configure.in   2001-08-07 02:08:05.000000000 -0400
+++ libstroke-0.5.1/configure.in        2013-08-13 13:24:08.000000000 -0400
@@ -81,16 +81,7 @@
 [  --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,
-)
+HAVE_LIBGTK=no
 AM_CONDITIONAL(HAVE_LIBGTK,        test "x$HAVE_LIBGTK" = "xyes")
 
 
diff -Nurd -x'*~' libstroke-0.5.1.orig/libstroke/Makefile.am 
libstroke-0.5.1/libstroke/Makefile.am
--- libstroke-0.5.1.orig/libstroke/Makefile.am  2001-05-07 20:05:43.000000000 
-0400
+++ libstroke-0.5.1/libstroke/Makefile.am       2013-08-13 12:38:22.000000000 
-0400
@@ -8,7 +8,7 @@
 EXTRA_DIST = 
 
 #tclpath::
-       #echo ${ENABLE_TCL}
+#      echo ${ENABLE_TCL}
 
 #if ENABLE_TCL
 #SEL_BIB = libstroke.la libstroke_tcl.la
diff -Nurd -x'*~' libstroke-0.5.1.orig/libstroke/stroke.c 
libstroke-0.5.1/libstroke/stroke.c
--- libstroke-0.5.1.orig/libstroke/stroke.c     2001-07-06 00:32:42.000000000 
-0400
+++ libstroke-0.5.1/libstroke/stroke.c  2013-08-13 13:08:33.000000000 -0400
@@ -12,6 +12,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <math.h>
+#include <string.h>
 
 #ifdef STROKE_MOUSE_FOOTPRINTS
 #include <X11/Xutil.h>
diff -Nurd -x'*~' libstroke-0.5.1.orig/tests/Makefile.am 
libstroke-0.5.1/tests/Makefile.am
--- libstroke-0.5.1.orig/tests/Makefile.am      2001-08-07 02:03:39.000000000 
-0400
+++ libstroke-0.5.1/tests/Makefile.am   2013-08-13 13:13:40.000000000 -0400
@@ -14,7 +14,7 @@
 gnome_stroke_test_SOURCES = gnome_stroke_test.c
 
 INCLUDES = -I$(top_srcdir)/libstroke -I$(top_srcdir)/libgstroke \
-               @X_CFLAGS@ @GTK_CFLAGS@
+               @X_CFLAGS@ 
 
 stroke_test_LDADD = ../libstroke/libstroke.la @X_LDFLAGS@
 gnome_stroke_test_LDADD = ../libgstroke/libgstroke.la @GTK_LIBS@

--- NEW FILE: libstroke.info ---
Package: libstroke
Version: 0.5.1
Revision: 105
Depends: %N-shlibs (= %v-%r)
BuildDepends: <<
  autoconf2.6,
  automake1.13,
  fink-package-precedence,
  libtool2,
  x11-dev
<<
Replaces: %N-m4
Source: http://www.etla.net/libstroke/libstroke-%v.tar.gz
Source-MD5: 51b9a4e309ac15cfcab96191eed03cb2
PatchFile: %n.patch
PatchFile-MD5: fad48159655a6347cdc32ab4df4caa1a
PatchScript: <<
  %{default_script}
  mv configure.in configure.ac
  perl -pi -e 's/(AC_DEFUN\()(\S+)(,)/\1\[\2]\3/' lib*stroke.m4
<<
CompileScript: <<
  autoreconf -fi
  %{default_script}
  fink-package-precedence --prohibit-bdep=%n .
<<
DocFiles: COPYING COPYRIGHT
BuildDependsOnly: True
SplitOff: <<
  Package: %N-shlibs
  Replaces: libstroke (<< 0.5.1-3)
  Files: lib/libstroke.0.dylib
  Shlibs: <<
    %p/lib/libstroke.0.dylib 1.0.0 %n (>= 0.5.1-5)
  <<
  Description: Shared libraries for libstroke package
  DocFiles: doc/standard_strokes.* AUTHORS COPYING COPYRIGHT CREDITS ChangeLog 
INSTALL NEWS README* TODO
<<
License: GPL
Description: Translates mouse strokes to program commands
DescPackaging: <<
  Does not compile or install javastroke, the java port of libstroke

  dmacks brought forward to 10.7+ with disabling of libgstroke because
  gtk+ was EOL'ed as of 10.6. Patch from:
  
https://build.opensuse.org/package/view_file?file=no-gtk1.patch&package=libstroke&project=M17N

  dmacks merged %N-m4 into %N because it's a compile-time item
<<
Maintainer:  Dave Morrison <d...@finkproject.org>
Homepage: http://www.etla.net/libstroke/


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to