[oe-commits] : libstroke: new, patch from jay4mail at gmail.com

OE GIT Trial gittrial at amethyst.openembedded.net
Sat Aug 2 09:16:16 UTC 2008


Module: OE.dev
Branch: master
Commit: b0bf8bb87ff3975aac90d874a3a7893e987cc9a6
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=b0bf8bb87ff3975aac90d874a3a7893e987cc9a6

Author:  <pb at openembedded.org>
Date:   Fri Aug  1 19:53:18 2008 +0000

libstroke: new, patch from jay4mail at gmail.com

---

 .../libstroke/libstroke-0.5.1/Makefile.am.patch    |   11 +++++++++
 .../libstroke/libstroke-0.5.1/configure.in.patch   |   24 ++++++++++++++++++++
 .../libstroke-0.5.1/libgstroke-Makefile.am.patch   |   11 +++++++++
 .../libstroke-0.5.1/libstroke-Makefile.am.patch    |   15 ++++++++++++
 .../libstroke-0.5.1/tests-Makefile.am.patch        |   15 ++++++++++++
 packages/libstroke/libstroke_0.5.1.bb              |   20 ++++++++++++++++
 6 files changed, 96 insertions(+), 0 deletions(-)

diff --git a/packages/libstroke/.mtn2git_empty b/packages/libstroke/.mtn2git_empty
new file mode 100644
index 0000000..e69de29
diff --git a/packages/libstroke/libstroke-0.5.1/.mtn2git_empty b/packages/libstroke/libstroke-0.5.1/.mtn2git_empty
new file mode 100644
index 0000000..e69de29
diff --git a/packages/libstroke/libstroke-0.5.1/Makefile.am.patch b/packages/libstroke/libstroke-0.5.1/Makefile.am.patch
new file mode 100644
index 0000000..631da1d
--- /dev/null
+++ b/packages/libstroke/libstroke-0.5.1/Makefile.am.patch
@@ -0,0 +1,11 @@
+--- libstroke-0.5.1/Makefile.am.orig	2008-06-11 14:10:49.000000000 +0400
++++ libstroke-0.5.1/Makefile.am	2008-06-11 14:12:06.000000000 +0400
+@@ -5,7 +5,7 @@
+ GSTROKE_SUBDS = 
+ endif
+ 
+-SUBDIRS = libstroke $(GSTROKE_SUBDS) tests doc javastroke 
++SUBDIRS = libstroke $(GSTROKE_SUBDS) doc
+ 
+ EXTRA_DIST = COPYRIGHT CREDITS README.javastroke README.libgstroke
+ 
diff --git a/packages/libstroke/libstroke-0.5.1/configure.in.patch b/packages/libstroke/libstroke-0.5.1/configure.in.patch
new file mode 100644
index 0000000..d0ed97b
--- /dev/null
+++ b/packages/libstroke/libstroke-0.5.1/configure.in.patch
@@ -0,0 +1,24 @@
+--- libstroke-0.5.1/configure.in.orig	2008-06-11 12:54:29.000000000 +0400
++++ libstroke-0.5.1/configure.in	2008-06-11 12:54:35.000000000 +0400
+@@ -83,14 +83,14 @@
+ 
+ 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
+-)
++dnl AC_MSG_CHECKING(gtk+ library)
++dnl AM_PATH_GTK(1.2.7, HAVE_LIBGTK=yes
++dnl   AC_DEFINE(HAVE_LIBGTK, 1, [Define if libgtk is available]),
++dnl   AC_MSG_WARN(
++dnl ***** NOTE: The GNOME stroke support won't be built
++dnl )
+   HAVE_LIBGTK=no,
+-)
++dnl )
+ AM_CONDITIONAL(HAVE_LIBGTK,        test "x$HAVE_LIBGTK" = "xyes")
+ 
+ 
diff --git a/packages/libstroke/libstroke-0.5.1/libgstroke-Makefile.am.patch b/packages/libstroke/libstroke-0.5.1/libgstroke-Makefile.am.patch
new file mode 100644
index 0000000..b3251f3
--- /dev/null
+++ b/packages/libstroke/libstroke-0.5.1/libgstroke-Makefile.am.patch
@@ -0,0 +1,11 @@
+--- libstroke-0.5.1/libgstroke/Makefile.am.orig	2008-06-11 13:01:29.000000000 +0400
++++ libstroke-0.5.1/libgstroke/Makefile.am	2008-06-11 13:01:44.000000000 +0400
+@@ -21,7 +21,7 @@
+ INCLUDES = @GTK_CFLAGS@
+ LDADD    = @GTK_LIBS@
+ 
+-EXTRA_DIST = 
++#EXTRA_DIST = 
+ 
+ MOSTLYCLEANFILES = core *~ 
+ CLEANFILES = core *~ 
diff --git a/packages/libstroke/libstroke-0.5.1/libstroke-Makefile.am.patch b/packages/libstroke/libstroke-0.5.1/libstroke-Makefile.am.patch
new file mode 100644
index 0000000..98707fa
--- /dev/null
+++ b/packages/libstroke/libstroke-0.5.1/libstroke-Makefile.am.patch
@@ -0,0 +1,15 @@
+--- libstroke-0.5.1/libstroke/Makefile.am.orig	2008-06-11 13:01:54.000000000 +0400
++++ libstroke-0.5.1/libstroke/Makefile.am	2008-06-11 13:02:02.000000000 +0400
+@@ -5,10 +5,10 @@
+ # level Makefile.
+ AUTOMAKE_OPTIONS = foreign
+ 
+-EXTRA_DIST = 
++#EXTRA_DIST = 
+ 
+ #tclpath::
+-	#echo ${ENABLE_TCL}
++#	echo ${ENABLE_TCL}
+ 
+ #if ENABLE_TCL
+ #SEL_BIB = libstroke.la libstroke_tcl.la
diff --git a/packages/libstroke/libstroke-0.5.1/tests-Makefile.am.patch b/packages/libstroke/libstroke-0.5.1/tests-Makefile.am.patch
new file mode 100644
index 0000000..abd55d6
--- /dev/null
+++ b/packages/libstroke/libstroke-0.5.1/tests-Makefile.am.patch
@@ -0,0 +1,15 @@
+--- libstroke-0.5.1/tests/Makefile.am.orig	2008-06-11 13:46:40.000000000 +0400
++++ libstroke-0.5.1/tests/Makefile.am	2008-06-11 13:47:23.000000000 +0400
+@@ -14,7 +14,11 @@
+ gnome_stroke_test_SOURCES = gnome_stroke_test.c
+ 
+ INCLUDES = -I$(top_srcdir)/libstroke -I$(top_srcdir)/libgstroke \
+-		@X_CFLAGS@ @GTK_CFLAGS@
++		@X_CFLAGS@
++
++if HAVE_LIBGTK
++INCLUDES += @GTK_CFLAGS@
++endif
+ 
+ stroke_test_LDADD = ../libstroke/libstroke.la @X_LDFLAGS@
+ gnome_stroke_test_LDADD = ../libgstroke/libgstroke.la @GTK_LIBS@
diff --git a/packages/libstroke/libstroke_0.5.1.bb b/packages/libstroke/libstroke_0.5.1.bb
new file mode 100644
index 0000000..2b1b6e7
--- /dev/null
+++ b/packages/libstroke/libstroke_0.5.1.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "LibStroke - a stroke translation library"
+LICENSE = "GPL"
+SECTION = "x11"
+PRIORITY = "optional"
+#DEPENDS = "virtual/libx11 libxau libxdmcp"
+DEPENDS = "virtual/libx11"
+
+SRC_URI = "http://www.etla.net/libstroke/${P}.tar.gz \
+	file://configure.in.patch;patch=1 \
+	file://libstroke-Makefile.am.patch;patch=1 \
+	file://tests-Makefile.am.patch;patch=1 \
+	"
+#	file://Makefile.am.patch;patch=1 \
+#	file://libgstroke-Makefile.am.patch;patch=1 \
+
+inherit autotools pkgconfig
+
+do_stage () {
+	autotools_stage_all
+}





More information about the Openembedded-commits mailing list