qwo: add patch for build with automake-1.11
authorMartin Jansa <Martin.Jansa@gmail.com>
Thu, 22 Apr 2010 13:37:12 +0000 (15:37 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Thu, 22 Apr 2010 13:40:17 +0000 (15:40 +0200)
* qwo.1 is created in created in DESTDIR already with help2man, no need
  to add it to DEST files
* automake-1.11 checks for files instaled more than once and fails

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/qwo/qwo-0.5/qwo.automake-1.11.patch [new file with mode: 0644]
recipes/qwo/qwo_0.5.bb

diff --git a/recipes/qwo/qwo-0.5/qwo.automake-1.11.patch b/recipes/qwo/qwo-0.5/qwo.automake-1.11.patch
new file mode 100644 (file)
index 0000000..5a54f1e
--- /dev/null
@@ -0,0 +1,12 @@
+diff -uNr qwo-0.5.orig//data/Makefile.am qwo-0.5/data/Makefile.am
+--- qwo-0.5.orig//data/Makefile.am     2009-05-28 20:05:43.000000000 +0200
++++ qwo-0.5/data/Makefile.am   2010-04-22 15:33:59.000000000 +0200
+@@ -13,8 +13,6 @@
+ man_MANS = qwo.1
+ endif
+-dist_man_MANS = $(man_MANS)
+-
+ qwo.1:
+       help2man -n "An input method for touchscreen" -s 1 -N -o qwo.1\
+               $(top_builddir)/src/qwo
index 69bd751..f8222be 100644 (file)
@@ -6,8 +6,10 @@ PRIORITY = "optional"
 LICENSE = "GPLv2"
 DEPENDS = "libxtst libxext virtual/imlib2 libconfig"
 RDEPENDS += "imlib2-loaders"
+PR = "r1"
 
-SRC_URI = "http://download.savannah.nongnu.org/releases/qwo/qwo-${PV}.tar.gz "
+SRC_URI = "http://download.savannah.nongnu.org/releases/qwo/qwo-${PV}.tar.gz \
+           file://qwo.automake-1.11.patch;patch=1"
 
 inherit autotools