libstroke-0.5.1-no_gtk1.patch 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. --- libstroke-0.5.1/configure.in 2001-08-07 07:08:05.000000000 +0100
  2. +++ libstroke-0.5.1b/configure.in 2006-11-28 01:49:26.000000000 +0000
  3. @@ -81,16 +81,9 @@
  4. [ --with-mouse-footprints Draw mouse footprints in X],
  5. [AC_DEFINE(STROKE_MOUSE_FOOTPRINTS)])
  6. -dnl check for GTK
  7. -dnl we won't build libgstroke if it's not found
  8. -AC_MSG_CHECKING(gtk+ library)
  9. -AM_PATH_GTK(1.2.7, HAVE_LIBGTK=yes
  10. - AC_DEFINE(HAVE_LIBGTK, 1, [Define if libgtk is available]),
  11. - AC_MSG_WARN(
  12. -***** NOTE: The GNOME stroke support won't be built
  13. -)
  14. - HAVE_LIBGTK=no,
  15. -)
  16. +GTK_CFLAGS=""
  17. +AC_SUBST(GTK_CFLAGS)
  18. +HAVE_LIBGTK=no
  19. AM_CONDITIONAL(HAVE_LIBGTK, test "x$HAVE_LIBGTK" = "xyes")
  20. --- libstroke-0.5.1/Makefile.am 2001-08-07 07:03:12.000000000 +0100
  21. +++ libstroke-0.5.1b/Makefile.am 2006-11-28 02:00:55.000000000 +0000
  22. @@ -10,7 +10,7 @@
  23. EXTRA_DIST = COPYRIGHT CREDITS README.javastroke README.libgstroke
  24. m4datadir=$(datadir)/aclocal
  25. -m4data_DATA=libstroke.m4 libgstroke.m4
  26. +m4data_DATA=libstroke.m4
  27. MOSTLYCLEANFILES = core *~
  28. CLEANFILES = core *~