diff options
Diffstat (limited to 'dev-libs/libstroke/files')
3 files changed, 93 insertions, 0 deletions
diff --git a/dev-libs/libstroke/files/libstroke-0.5.1-autotools.patch b/dev-libs/libstroke/files/libstroke-0.5.1-autotools.patch new file mode 100644 index 000000000000..2bd67677a89c --- /dev/null +++ b/dev-libs/libstroke/files/libstroke-0.5.1-autotools.patch @@ -0,0 +1,29 @@ +Index: libstroke-0.5.1/libgstroke/Makefile.am +=================================================================== +--- libstroke-0.5.1.orig/libgstroke/Makefile.am ++++ libstroke-0.5.1/libgstroke/Makefile.am +@@ -5,8 +5,6 @@ + # level Makefile. + AUTOMAKE_OPTIONS = foreign + +-EXTRA_DIST = +- + #SEL_BIB = libgstroke.la + + lib_LTLIBRARIES = libgstroke.la +Index: libstroke-0.5.1/libstroke/Makefile.am +=================================================================== +--- libstroke-0.5.1.orig/libstroke/Makefile.am ++++ libstroke-0.5.1/libstroke/Makefile.am +@@ -5,11 +5,6 @@ + # level Makefile. + AUTOMAKE_OPTIONS = foreign + +-EXTRA_DIST = +- +-#tclpath:: +- #echo ${ENABLE_TCL} +- + #if ENABLE_TCL + #SEL_BIB = libstroke.la libstroke_tcl.la + #else diff --git a/dev-libs/libstroke/files/libstroke-0.5.1-m4_syntax.patch b/dev-libs/libstroke/files/libstroke-0.5.1-m4_syntax.patch new file mode 100644 index 000000000000..4462e8d359fb --- /dev/null +++ b/dev-libs/libstroke/files/libstroke-0.5.1-m4_syntax.patch @@ -0,0 +1,31 @@ +Index: libstroke-0.5.1/libstroke.m4 +=================================================================== +--- 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]) diff --git a/dev-libs/libstroke/files/libstroke-0.5.1-no_gtk1.patch b/dev-libs/libstroke/files/libstroke-0.5.1-no_gtk1.patch new file mode 100644 index 000000000000..a099fb991620 --- /dev/null +++ b/dev-libs/libstroke/files/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 *~ |