From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-libs/libstroke/Manifest | 6 ++++ .../files/libstroke-0.5.1-autotools.patch | 29 +++++++++++++++++++ .../files/libstroke-0.5.1-m4_syntax.patch | 31 ++++++++++++++++++++ .../libstroke/files/libstroke-0.5.1-no_gtk1.patch | 33 ++++++++++++++++++++++ dev-libs/libstroke/libstroke-0.5.1.ebuild | 33 ++++++++++++++++++++++ dev-libs/libstroke/metadata.xml | 8 ++++++ 6 files changed, 140 insertions(+) create mode 100644 dev-libs/libstroke/Manifest create mode 100644 dev-libs/libstroke/files/libstroke-0.5.1-autotools.patch create mode 100644 dev-libs/libstroke/files/libstroke-0.5.1-m4_syntax.patch create mode 100644 dev-libs/libstroke/files/libstroke-0.5.1-no_gtk1.patch create mode 100644 dev-libs/libstroke/libstroke-0.5.1.ebuild create mode 100644 dev-libs/libstroke/metadata.xml (limited to 'dev-libs/libstroke') diff --git a/dev-libs/libstroke/Manifest b/dev-libs/libstroke/Manifest new file mode 100644 index 000000000000..0793572f92b8 --- /dev/null +++ b/dev-libs/libstroke/Manifest @@ -0,0 +1,6 @@ +AUX libstroke-0.5.1-autotools.patch 734 BLAKE2B 3590484c7a4b96b7faa09eb7e2267365eec162433a6a879529b3daf173fe52991be34a1afa69b2dea14853c3e5db4e06915123cccc0e5e1d24c16064ddff92ad SHA512 e0245ac98dc4d6db25f401ae1512d68aa98b732fa8f8d8486f1e50e784d63cc90bdaf6a28ba5e3d96f8822d549f473a6e8085701ee8016a428a9805ef165c2da +AUX libstroke-0.5.1-m4_syntax.patch 1100 BLAKE2B c86fed17159d3179bbb538c1c467fa5a34133b6a43d30f2e2862158e0756ea8ca8654ca6f450219c9222cc3612fefddf6170922f410a9c1119f48439acf5daff SHA512 bfe54a1c60c381e01820f46998c1ade66bcc5b816d20d8736334cd097f94fd06921c7ef17ae42e1f4f47090a7a9a6db2121a9960c140ad7dcb4d5ac3acf6fded +AUX libstroke-0.5.1-no_gtk1.patch 1046 BLAKE2B feaaa0206f74bc1206ed464ec3f29c76e2f51c83f78c6821d2184b833e1718638b11757ab3f8cef9464884dc11a3158fccb9f1f9fd166f50ee83f556b447b25d SHA512 96004186c51e617fa53f1bbaef5f58c6572c5acf0a6acf2d9e7be618c443fccff5feb8dd7bf77a9a435b8c5b334e1babb3cbd739e71ec6d7fe7feda1c66607f8 +DIST libstroke-0.5.1.tar.gz 174270 BLAKE2B ce642aff20f731ed8dc6aedfcdca0370e4e9789bdf1fd7d4157745ea7375d5e5f9c7a2f00739d886ff348c00ada36c3bef0ce68f18d9b0dd52eabcc086776334 SHA512 03431d4cd39174aadb6cfd00a1c487d34ae9cf4b1db9e9d01d563f2a661f01979f474b87099fd2bfb0e54653416a1b9dea988367674a3cc6134e16b62810a0c7 +EBUILD libstroke-0.5.1.ebuild 731 BLAKE2B 140aa4afd892babe73914f222e82f50d216b878571a2a24420cb0e2401a8adfd3af9cd37ccf76ce0bc755f4a98fc86178d7118f623195eef89e7bdedb5c5f9b0 SHA512 83c5960caa75c97d6a15e29b8dd873ec42065b8b41ca2c82eb60a9c717a17c85a0b0e59f0b081728edc97ffb4a2057075633ef95db42f1f0c5f5a5018227ca0a +MISC metadata.xml 261 BLAKE2B ed5cc49462c9e948e13f3455fbf209661aa04522f3753db7c674bca0528d7a384beefcbdfc5fcc0542dd08361d7953c06cbd19753bfe4dca2ff649ebc283bbd7 SHA512 318bd063baaa5dd560bcfdb87ab4d60edfb4dddf69884a84ef084a38399cf2ba84e69b432c816cce8e15d3dea253f395f41a1a654017a6eef30478ab8961cb51 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 *~ diff --git a/dev-libs/libstroke/libstroke-0.5.1.ebuild b/dev-libs/libstroke/libstroke-0.5.1.ebuild new file mode 100644 index 000000000000..cfa602722b05 --- /dev/null +++ b/dev-libs/libstroke/libstroke-0.5.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +inherit eutils autotools + +DESCRIPTION="A Stroke and Gesture recognition Library" +HOMEPAGE="http://www.etla.net/libstroke/" +SRC_URI="http://www.etla.net/libstroke/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND="x11-libs/libX11" +DEPEND="x11-base/xorg-proto + ${RDEPEND}" + +src_unpack() { + unpack "${A}" + cd "${S}" + epatch "${FILESDIR}"/${P}-m4_syntax.patch + epatch "${FILESDIR}"/${P}-no_gtk1.patch + epatch "${FILESDIR}"/${P}-autotools.patch + eautoreconf +} + +src_install () { + emake DESTDIR=${D} install || die + dodoc CREDITS ChangeLog README +} diff --git a/dev-libs/libstroke/metadata.xml b/dev-libs/libstroke/metadata.xml new file mode 100644 index 000000000000..674563478fea --- /dev/null +++ b/dev-libs/libstroke/metadata.xml @@ -0,0 +1,8 @@ + + + + + calchan@gentoo.org + Denis Dupeyron + + -- cgit v1.2.3