pidgin: Add libotr recipe and patch to fix QA-issue
authorJakob Drexel <jake42@rommel.stw.uni-erlangen.de>
Mon, 13 Jan 2014 18:31:20 +0000 (19:31 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:35:25 +0000 (08:35 -0800)
(From meta-openembedded rev: e021ccee741e406cacba8f30d92c3161e64eb17d)

Signed-off-by: Jakob Drexel <jake42@rommel.stw.uni-erlangen.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-support/pidgin/libotr/fix_qa-issue_include.patch [new file with mode: 0644]
meta-openembedded/meta-oe/recipes-support/pidgin/libotr_4.0.0.bb [new file with mode: 0644]

diff --git a/meta-openembedded/meta-oe/recipes-support/pidgin/libotr/fix_qa-issue_include.patch b/meta-openembedded/meta-oe/recipes-support/pidgin/libotr/fix_qa-issue_include.patch
new file mode 100644 (file)
index 0000000..b786633
--- /dev/null
@@ -0,0 +1,18 @@
+libotr: Fix QA-issue where also files from buildhost would be included
+
+Warning was:
+cc1: warning: include location "/usr/include" is unsafe for
+cross-compilation [-Wpoison-system-directories]
+
+Upstream-Status: Pending
+
+Signed-off-by: Jakob Drexel <jake42@rommel.stw.uni-erlangen.de>
+
+--- a/toolkit/Makefile.am      2012-05-03 15:52:22.000000000 +0200
++++ b/toolkit/Makefile.am      2014-01-13 12:12:26.030369357 +0100
+@@ -1,4 +1,4 @@
+-INCLUDES = -I$(includedir) -I../src @LIBGCRYPT_CFLAGS@
++INCLUDES = -I../src @LIBGCRYPT_CFLAGS@
+ noinst_HEADERS = aes.h ctrmode.h parse.h sesskeys.h readotr.h sha1hmac.h
diff --git a/meta-openembedded/meta-oe/recipes-support/pidgin/libotr_4.0.0.bb b/meta-openembedded/meta-oe/recipes-support/pidgin/libotr_4.0.0.bb
new file mode 100644 (file)
index 0000000..bb79501
--- /dev/null
@@ -0,0 +1,14 @@
+DESCRIPTION = "(OTR) Messaging allows you to have private conversations over instant messaging"
+HOMEPAGE = "http://www.cypherpunks.ca/otr/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=92fe174bad6da3763f6e9e9eaff6df24"
+DEPENDS = "libgcrypt libgpg-error"
+
+SRC_URI = "http://www.cypherpunks.ca/otr/${P}.tar.gz \
+           file://fix_qa-issue_include.patch \
+"
+
+SRC_URI[md5sum] = "00979dca82d70383fcd1b01f3974363c"
+SRC_URI[sha256sum] = "3f911994409898e74527730745ef35ed75c352c695a1822a677a34b2cf0293b4"
+
+inherit autotools pkgconfig