summaryrefslogtreecommitdiff
path: root/extra/libstroke/libstroke-0.5.1-no_gtk1.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-25 02:08:36 -0700
committerroot <root@rshg054.dnsready.net>2013-10-25 02:08:36 -0700
commit5a3821aec094b38a412cf5e6997c08b6428d6f77 (patch)
tree80caf9e8d169d5c43d828ede599cb91fa065d8df /extra/libstroke/libstroke-0.5.1-no_gtk1.patch
parent94ded0cb27161b972228cfef8ea2e6f60af0f2b2 (diff)
Fri Oct 25 02:07:10 PDT 2013
Diffstat (limited to 'extra/libstroke/libstroke-0.5.1-no_gtk1.patch')
-rw-r--r--extra/libstroke/libstroke-0.5.1-no_gtk1.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/libstroke/libstroke-0.5.1-no_gtk1.patch b/extra/libstroke/libstroke-0.5.1-no_gtk1.patch
new file mode 100644
index 000000000..a099fb991
--- /dev/null
+++ b/extra/libstroke/libstroke-0.5.1-no_gtk1.patch
@@ -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 *~