libvncserver: Fix build with security flags on and disable libva
PATCH 1/8 libvncserver: Fix build with security flags on and disable libva
When libva is present it detects it and then fails to build until the support is fixed, lets disable it
Add a patch to fix issue found when compiling with security flags turned on
--- .../libvncserver/0002-format_string.patch | 21 +++++++++++++++++++++ .../libvncserver/libvncserver_0.9.10.bb | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 meta-oe/recipes-graphics/libvncserver/libvncserver/0002-format_string.patch
meta-oe/recipes-graphics/libvncserver/libvncserver/0002-format_string.patch new file +21 -0
@@ -0,0 +1,21 @@ +From: Luca Falavigna <[email protected]> +Date: Tue, 27 Jan 2015 01:26:04 +0000 +Subject: format_string + +--- + client_examples/gtkvncviewer.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/client_examples/gtkvncviewer.c b/client_examples/gtkvncviewer.c +index 261b2da..861e4e3 100644 +--- a/client_examples/gtkvncviewer.c ++++ b/client_examples/gtkvncviewer.c +@@ -588,7 +588,7 @@ static void GtkDefaultLog (const char *format, ...) + + time (&log_clock); + strftime (buf, 255, "%d/%m/%Y %X ", localtime (&log_clock)); +- fprintf (stdout, buf); ++ fprintf (stdout, "%s", buf); + + vfprintf (stdout, format, args); + fflush (stdout);
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb +3 -0
@@ -14,6 +14,7 @@ SRC_URI = "\ ${DEBIAN_MIRROR}/main/libv/libvncserver/libvncserver_0.9.10+dfsg.orig.tar.xz \ file://0001-remove-webclients-build.patch \ file://0002-common-add-sha1.patch \ + file://0002-format_string.patch \ " SRC_URI[md5sum] = "e883b6c7bd339a5e1c48645051abe5c4"
@@ -21,4 +22,6 @@ SRC_URI[sha256sum] = "583f28869b82aec57768d7d18cd7ff81bf092ecbbc1209b587c2c2cd68 S = "${WORKDIR}/${BPN}-LibVNCServer-${PV}" +EXTRA_OECONF += "--without-libva" + TARGET_LDFLAGS += "-lgcrypt"
Signature · 1 line
2.10.2
PATCH 2/8 python-cson: Add recipe
--- .../recipes-extended/python-cson/python-cson_git.bb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-python/recipes-extended/python-cson/python-cson_git.bb
meta-python/recipes-extended/python-cson/python-cson_git.bb new file +21 -0
@@ -0,0 +1,21 @@ +# Copyright (C) 2015 Khem Raj <[email protected]> +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Python library for CSON (schema-compressed JSON)" +HOMEPAGE = "https://github.com/gt3389b/python-cson/" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7709d2635e63ab96973055a23c2a4cac" + +SRCREV = "f3f2898c44bb16b951d3e9f2fbf6d1c4158edda2" +SRC_URI = "git://github.com/gt3389b/python-cson.git" + +S = "${WORKDIR}/git" + +RDEPENDS_${PN}_class-native = "" +DEPENDS_append_class-native = " python-native " + +inherit setuptools + +BBCLASSEXTEND = "native" +
Signature · 1 line
2.10.2
PATCH 3/8 dmalloc: Add recipe
In reply to Khem Raj--- .../dmalloc/0001-undefined-strdup-macro.patch | 29 ++ .../dmalloc/dmalloc/02-Makefile.in.patch | 312 +++++++++++++++++++++ .../dmalloc/dmalloc/03-threads.patch | 18 ++ .../dmalloc/dmalloc/100-use-xtools.patch | 109 +++++++ .../dmalloc/13-fix-ldflags-in-makefile.patch | 38 +++ .../dmalloc/dmalloc/130-mips.patch | 90 ++++++ .../dmalloc/dmalloc/150-use_DESTDIR.patch | 104 +++++++ .../dmalloc/dmalloc/configure-pagesize-HACK.patch | 37 +++ meta-oe/recipes-devtools/dmalloc/dmalloc_5.5.2.bb | 39 +++ 9 files changed, 776 insertions(+) create mode 100644 meta-oe/recipes-devtools/dmalloc/dmalloc/0001-undefined-strdup-macro.patch create mode 100644 meta-oe/recipes-devtools/dmalloc/dmalloc/02-Makefile.in.patch create mode 100644 meta-oe/recipes-devtools/dmalloc/dmalloc/03-threads.patch create mode 100644 meta-oe/recipes-devtools/dmalloc/dmalloc/100-use-xtools.patch create mode 100644 meta-oe/recipes-devtools/dmalloc/dmalloc/13-fix-ldflags-in-makefile.patch create mode 100644 meta-oe/recipes-devtools/dmalloc/dmalloc/130-mips.patch create mode 100644 meta-oe/recipes-devtools/dmalloc/dmalloc/150-use_DESTDIR.patch create mode 100644 meta-oe/recipes-devtools/dmalloc/dmalloc/configure-pagesize-HACK.patch create mode 100644 meta-oe/recipes-devtools/dmalloc/dmalloc_5.5.2.bb
meta-oe/recipes-devtools/dmalloc/dmalloc/0001-undefined-strdup-macro.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 9c2438e85e4d7deb9422be257a25e8ab16093821 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Fri, 2 Dec 2016 14:02:02 -0800 +Subject: [PATCH] undefined strdup macro + +build fails due to strdup define in string2.h +system header. + +Signed-off-by: Khem Raj <[email protected]> +--- + dmalloc.h.3 | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/dmalloc.h.3 b/dmalloc.h.3 +index 8bda997..b70c07e 100644 +--- a/dmalloc.h.3 ++++ b/dmalloc.h.3 +@@ -1,5 +1,8 @@ + /* NOTE: start of $Id: dmalloc.h.4,v 1.15 2007/05/14 17:23:37 gray Exp $ */ + ++#undef strndup ++#undef strdup ++ + /* dmalloc version defines */ + #define DMALLOC_VERSION_MAJOR 5 /* X.0.0 */ + #define DMALLOC_VERSION_MINOR 5 /* 0.X.0 */ +-- +2.10.2 +
meta-oe/recipes-devtools/dmalloc/dmalloc/02-Makefile.in.patch new file +312 -0
312 lines not on this page · raw message
meta-oe/recipes-devtools/dmalloc/dmalloc/03-threads.patch new file +18 -0
@@ -0,0 +1,18 @@ +Description: Fix LOCK_THREADS in settings.dist + This patch takes into account that if --enable-threads is used, LOCK_THREADS + doesn't get updated +Author: Markus Stenberg <[email protected]> +Author: Daniel Rus Morales <[email protected]> +Bug-Debian: http://bugs.debian.org/276457 + +--- dmalloc-5.5.1.orig/settings.dist 2007-03-25 21:16:43.000000000 +0200 ++++ dmalloc-5.5.1/settings.dist 2007-04-27 20:56:49.000000000 +0200 +@@ -409,7 +409,7 @@ + */ + + #ifndef LOCK_THREADS +-#define LOCK_THREADS 0 ++#define LOCK_THREADS 1 + #endif + + #if LOCK_THREADS
meta-oe/recipes-devtools/dmalloc/dmalloc/100-use-xtools.patch new file +109 -0
109 lines not on this page · raw message
meta-oe/recipes-devtools/dmalloc/dmalloc/13-fix-ldflags-in-makefile.patch new file +38 -0
@@ -0,0 +1,38 @@ +Index: dmalloc-5.5.2/Makefile.in +=================================================================== +--- dmalloc-5.5.2.orig/Makefile.in ++++ dmalloc-5.5.2/Makefile.in +@@ -260,7 +260,7 @@ shlib : $(BUILD_SL) + # work on your operating system. Please send feedback to the author + # via: http://256.com/gray/email.html + $(LIB_SL) : $(OBJS_SL) $(NORMAL_OBJS_SL) +- $(CC) -shared -Wl,-soname,libdmalloc.so.5 -o $@ $(OBJS_SL) $(NORMAL_OBJS_SL) ++ $(CC) $(LDFLAGS) -shared -Wl,-soname,libdmalloc.so.5 -o $@ $(OBJS_SL) $(NORMAL_OBJS_SL) + + $(LIBRARY) : $(OBJS) $(NORMAL_OBJS) + ar cr $@ $? +@@ -271,21 +271,21 @@ $(LIB_TH) : $(OBJS) $(THREAD_OBJS) + @RANLIB@ $@ + + $(LIB_TH_SL) : $(OBJS_SL) $(THREAD_OBJS_SL) +- $(CC) -shared -Wl,-soname,libdmallocth.so.5 -o $@ $(OBJS_SL) $(THREAD_OBJS_SL) ++ $(CC) $(LDFLAGS) -shared -Wl,-soname,libdmallocth.so.5 -o $@ $(OBJS_SL) $(THREAD_OBJS_SL) + + $(LIB_CXX) : $(OBJS) $(NORMAL_OBJS) $(CXX_OBJS) + ar cr $@ $? + @RANLIB@ $@ + + $(LIB_CXX_SL) : $(OBJS_SL) $(NORMAL_OBJS_SL) $(CXX_OBJS_SL) +- $(CC) -shared -Wl,-soname,libdmalloccxx.so.5 -o $@ $(OBJS_SL) $(NORMAL_OBJS_SL) $(CXX_OBJS_SL) ++ $(CC) $(LDFLAGS) -shared -Wl,-soname,libdmalloccxx.so.5 -o $@ $(OBJS_SL) $(NORMAL_OBJS_SL) $(CXX_OBJS_SL) + + $(LIB_TH_CXX) : $(OBJS) $(THREAD_OBJS) $(CXX_OBJS) + ar cr $@ $? + @RANLIB@ $@ + + $(LIB_TH_CXX_SL) : $(OBJS_SL) $(THREAD_OBJS_SL) $(CXX_OBJS_SL) +- $(CC) -shared -Wl,-soname,libdmallocthcxx.so.5 -o $@ $(OBJS_SL) $(THREAD_OBJS_SL) $(CXX_OBJS_SL) ++ $(CC) $(LDFLAGS) -shared -Wl,-soname,libdmallocthcxx.so.5 -o $@ $(OBJS_SL) $(THREAD_OBJS_SL) $(CXX_OBJS_SL) + + threadssl : $(LIB_TH_SL)$(ver) +
meta-oe/recipes-devtools/dmalloc/dmalloc/130-mips.patch new file +90 -0
90 lines not on this page · raw message
meta-oe/recipes-devtools/dmalloc/dmalloc/150-use_DESTDIR.patch new file +104 -0
104 lines not on this page · raw message
meta-oe/recipes-devtools/dmalloc/dmalloc/configure-pagesize-HACK.patch new file +37 -0
@@ -0,0 +1,37 @@ +We cant run tests during cross compile therefore pin to 4k pages + +Signed-off-by: Khem Raj <[email protected]> + +Index: dmalloc-5.5.2/configure.ac +=================================================================== +--- dmalloc-5.5.2.orig/configure.ac ++++ dmalloc-5.5.2/configure.ac +@@ -348,26 +348,8 @@ AC_MSG_RESULT([$ac_cv_use_mmap]) + # + AC_CHECK_FUNCS(getpagesize) + AC_MSG_CHECKING([basic-block size]) +-ac_cv_page_size=0 +-if test $ac_cv_page_size = 0; then +- AC_RUN_IFELSE([main() { if (getpagesize()<=2048) exit(0); else exit(1); }], +- [ ac_cv_page_size=11 ] ) +-fi +-if test $ac_cv_page_size = 0; then +- AC_RUN_IFELSE([main() { if (getpagesize()<=4096) exit(0); else exit(1); }], +- [ ac_cv_page_size=12 ] ) +-fi +-if test $ac_cv_page_size = 0; then +- AC_RUN_IFELSE([main() { if (getpagesize()<=8192) exit(0); else exit(1); }], +- [ ac_cv_page_size=13 ] ) +-fi +-if test $ac_cv_page_size = 0; then +- AC_RUN_IFELSE([main() { if (getpagesize()<=16384) exit(0); else exit(1); }], +- [ ac_cv_page_size=14 ] ) +-fi +-if test $ac_cv_page_size = 0; then +- ac_cv_page_size=15 +-fi ++# fix to 4K for now ++ac_cv_page_size=12 + AC_DEFINE_UNQUOTED([BASIC_BLOCK],[$ac_cv_page_size]) + AC_MSG_RESULT([$ac_cv_page_size]) +
meta-oe/recipes-devtools/dmalloc/dmalloc_5.5.2.bb new file +39 -0
@@ -0,0 +1,39 @@ +# Copyright (C) 2016 Khem Raj <[email protected]> +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "Debug Malloc Library" + +DESCRIPTION = "The debug memory allocation or dmalloc library has been \ +designed as a drop in replacement for the system's malloc, realloc, \ +calloc, free and other memory management routines while providing \ +powerful debugging facilities configurable at runtime. These facilities \ +include such things as memory-leak tracking, fence-post write detection, \ +file/line number reporting, and general logging of statistics." + +HOMEPAGE = "http://dmalloc.com/" +LICENSE = "CC-BY-SA-3.0" + +LIC_FILES_CHKSUM = "file://dmalloc.c;beginline=4;endline=17;md5=83d13664f87f1f1a3b6b2b6f6eba85aa" + +SECTION = "libs" + +SRC_URI = "http://dmalloc.com/releases/dmalloc-${PV}.tgz \ + file://02-Makefile.in.patch \ + file://03-threads.patch \ + file://13-fix-ldflags-in-makefile.patch \ + file://configure-pagesize-HACK.patch \ + file://100-use-xtools.patch \ + file://130-mips.patch \ + file://150-use_DESTDIR.patch \ + file://0001-undefined-strdup-macro.patch \ +" + +SRC_URI[md5sum] = "f92e5606c23a8092f3d5694e8d1c932e" +SRC_URI[sha256sum] = "d3be5c6eec24950cb3bd67dbfbcdf036f1278fae5fd78655ef8cdf9e911e428a" + +ARM_INSTRUCTION_SET = "arm" + +inherit autotools + +EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader" +EXTRA_OECONF += "--enable-threads --enable-cxx --enable-shlib"
Signature · 1 line
2.10.2
PATCH 4/8 libmng: Add recipe
In reply to Khem Raj--- meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb
meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb new file +22 -0
@@ -0,0 +1,22 @@ +# Copyright (C) 2016 Khem Raj <[email protected]> +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Development files for the Multiple-image Network Graphics library" +HOMEPAGE = "http://www.libmng.com/" +LICENSE = "Zlib" +LIC_FILES_CHKSUM = "file://LICENSE;md5=32becdb8930f90eab219a8021130ec09" +SECTION = "devel" +DEPENDS = "zlib lcms" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${P}.tar.gz" + +SRC_URI[md5sum] = "7e9a12ba2a99dff7e736902ea07383d4" +SRC_URI[sha256sum] = "cf112a1fb02f5b1c0fce5cab11ea8243852c139e669c44014125874b14b7dfaa" + +inherit autotools-brokensep pkgconfig + +PACKAGECONFIG ??= "jpeg" + +PACKAGECONFIG[jpeg] = "--with-jpeg,--without-jpeg,libjpeg-turbo" +PACKAGECONFIG[lcms] = "---with-lcms2,--without-lcms2,lcms" +
Signature · 1 line
2.10.2
PATCH 5/8 zbar: Add recipe
In reply to Khem Raj--- .../zbar/0001-make-relies-GNU-extentions.patch | 32 ++++++++++++++ .../zbar/zbar/0001-undefine-__va_arg_pack.patch | 51 ++++++++++++++++++++++ meta-oe/recipes-support/zbar/zbar_0.10.bb | 25 +++++++++++ 3 files changed, 108 insertions(+) create mode 100644 meta-oe/recipes-support/zbar/zbar/0001-make-relies-GNU-extentions.patch create mode 100644 meta-oe/recipes-support/zbar/zbar/0001-undefine-__va_arg_pack.patch create mode 100644 meta-oe/recipes-support/zbar/zbar_0.10.bb
meta-oe/recipes-support/zbar/zbar/0001-make-relies-GNU-extentions.patch new file +32 -0
@@ -0,0 +1,32 @@ +From 224507bc4b6e58f7a6e445bfebfb59d6b8d78bd6 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Fri, 2 Dec 2016 17:38:51 -0800 +Subject: [PATCH] make relies GNU extentions + +We get errors like +`%'-style pattern rules are a GNU make extension + +Disable this warning, since we use gmake with OE +anyway + +Signed-off-by: Khem Raj <[email protected]> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 56d3dd0..9f85fd7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3,7 +3,7 @@ AC_PREREQ([2.61]) + AC_INIT([zbar], [0.10], [[email protected]]) + AC_CONFIG_AUX_DIR(config) + AC_CONFIG_MACRO_DIR(config) +-AM_INIT_AUTOMAKE([1.10 -Wall -Werror foreign subdir-objects std-options dist-bzip2]) ++AM_INIT_AUTOMAKE([1.10 -Wall -Werror -Wno-portability foreign subdir-objects std-options dist-bzip2]) + AC_CONFIG_HEADERS([include/config.h]) + AC_CONFIG_SRCDIR(zbar/scanner.c) + LT_PREREQ([2.2]) +-- +2.10.2 +
meta-oe/recipes-support/zbar/zbar/0001-undefine-__va_arg_pack.patch new file +51 -0
51 lines not on this page · raw message
meta-oe/recipes-support/zbar/zbar_0.10.bb new file +25 -0
@@ -0,0 +1,25 @@ +DESRIPTION = "2D barcode scanner toolkit." +SECTION = "graphics" +LICENSE = "LGPL-2.1" + +DEPENDS = "pkgconfig intltool-native libpng jpeg" + +LIC_FILES_CHKSUM = "file://COPYING;md5=42bafded1b380c6fefbeb6c5cd5448d9" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.bz2 \ + file://0001-undefine-__va_arg_pack.patch \ + file://0001-make-relies-GNU-extentions.patch \ +" + +SRC_URI[md5sum] = "0fd61eb590ac1bab62a77913c8b086a5" +SRC_URI[sha256sum] = "234efb39dbbe5cef4189cc76f37afbe3cfcfb45ae52493bfe8e191318bdbadc6" + +inherit autotools pkgconfig + +EXTRA_OECONF = " --without-imagemagick --without-qt --without-python --disable-video --without-gtk" + + +do_install_append() { + #remove usr/bin if empty + rmdir ${D}${bindir} +}
Signature · 1 line
2.10.2
PATCH 6/8 msgpack-c: Add recipe
In reply to Khem Raj--- meta-oe/recipes-devtools/msgpack/msgpack-c_2.0.0.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-oe/recipes-devtools/msgpack/msgpack-c_2.0.0.bb
meta-oe/recipes-devtools/msgpack/msgpack-c_2.0.0.bb new file +15 -0
@@ -0,0 +1,15 @@ +SUMMARY = "MessagePack implementation for C and C++" +DESCRIPTION = "MessagePack is an efficient binary serialization format. It's like JSON. but fast and small" +HOMEPAGE = "http://msgpack.org/index.html" +LICENSE = "BSL-1.0" +LIC_FILES_CHKSUM = "file://NOTICE;md5=7a858c074723608e08614061dc044352 \ + file://COPYING;md5=0639c4209b6f2abf1437c813b208f2d3 \ + file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c \ + " +SRC_URI = "https://github.com/msgpack/msgpack-c/releases/download/cpp-${PV}/msgpack-${PV}.tar.gz" +SRC_URI[md5sum] = "55148cd856c72f954a6eb9cc889a7d2a" +SRC_URI[sha256sum] = "41de0989a3385061ab7307a1005655e780def6fc9c89af0ec942616aa787e136" + +inherit cmake pkgconfig + +S = "${WORKDIR}/msgpack-${PV}"
Signature · 1 line
2.10.2
PATCH 7/8 avro: Add recipe
In reply to Khem Raj--- meta-oe/recipes-support/avro/avro-c_1.8.1.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-oe/recipes-support/avro/avro-c_1.8.1.bb
meta-oe/recipes-support/avro/avro-c_1.8.1.bb new file +18 -0
@@ -0,0 +1,18 @@ +SUMMARY = "Apache Avro data serialization system." +HOMEPAGE = "http://apr.apache.org/" +SECTION = "libs" + + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=73bdf70f268f0b3b9c5a83dd7a6f3324" + +DEPENDS = "jansson zlib lzma" + +SRC_URI = "${APACHE_MIRROR}/avro/avro-${PV}/c/avro-c-${PV}.tar.gz" + +SRC_URI[md5sum] = "b268348536714541e10411823a1b59b0" +SRC_URI[sha256sum] = "e5042088fa47e1aa2860c5cfed0bd061d81f9e96628f8b4d87a24d9b8c5e4ecc" + +LDFLAGS_append_libc-uclibc = " -lm" + +inherit cmake
Signature · 1 line
2.10.2
PATCH 8/8 loop-aes: Add recipe
In reply to Khem Raj--- meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb
meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb new file +22 -0
@@ -0,0 +1,22 @@ +SUMMARY = "Loop-aes - replacement for loop driver that can do aes encryption" +DESCRIPTION = "Fast and transparent file system and swap encryption package for \ + linux. No source code changes to linux kernel. Works with 3.x,\ + 2.6, 2.4, 2.2 and 2.0 kernels." +HOMEPAGE = "http://sourceforge.net/projects/loop-aes/" +LICENSE = "GPL-2.0" + +LIC_FILES_CHKSUM = "file://aes-GPL.diff;md5=bf349af3486306c2e4d85de5b6fa3bb4" + +SRC_URI = "http://loop-aes.sourceforge.net/loop-AES/loop-AES-${PV}.tar.bz2" +SRC_URI[md5sum] = "335238a7cfd45f157935c59156533a05" +SRC_URI[sha256sum] = "67ede839d4cac657359c39b05eac46f6991054768a7e1096bef5b92edb3b8aba" + +inherit module + +S = "${WORKDIR}/loop-AES-${PV}" + +EXTRA_OEMAKE += "LINUX_SOURCE=${STAGING_KERNEL_DIR} INSTALL_MOD_PATH=${D} MODINST=n" + +do_install () { + install -D -m 0655 loop.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/misc/loop.ko +}
Signature · 1 line
2.10.2
Re: [meta-oe][PATCH 8/8] loop-aes: Add recipe
Quoted 23 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bbmeta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb new file +11
-0@@ -0,0 +1,22 @@ +SUMMARY = "Loop-aes - replacement for loop driver that can do aes encryption" +DESCRIPTION = "Fast and transparent file system and swap encryption package for \ + linux. No source code changes to linux kernel. Works with 3.x,\ + 2.6, 2.4, 2.2 and 2.0 kernels." +HOMEPAGE = "http://sourceforge.net/projects/loop-aes/" +LICENSE = "GPL-2.0" + +LIC_FILES_CHKSUM = "file://aes-GPL.diff;md5=bf349af3486306c2e4d85de5b6fa3bb4" + +SRC_URI = "http://loop-aes.sourceforge.net/loop-AES/loop-AES-${PV}.tar.bz2" +SRC_URI[md5sum] = "335238a7cfd45f157935c59156533a05"
meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb line 21
Quoted 10 lines
meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb new file +10
-0+SRC_URI[sha256sum] = "67ede839d4cac657359c39b05eac46f6991054768a7e1096bef5b92edb3b8aba" + +inherit module + +S = "${WORKDIR}/loop-AES-${PV}" + +EXTRA_OEMAKE += "LINUX_SOURCE=${STAGING_KERNEL_DIR} INSTALL_MOD_PATH=${D} MODINST=n" + +do_install () { + install -D -m 0655 loop.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/misc/loop.ko
Please use 4 spaces when updating.
meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb line 22
Quoted 1 line
meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb new file +1
-0+}
It conflicts with linux-yocto:
http://errors.yoctoproject.org/Errors/Details/112197/
Quoted 8 lines
Signature · 7 lines
2.10.2 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [meta-oe][PATCH 5/8] zbar: Add recipe
In reply to Khem RajQuoted 9 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- .../zbar/0001-make-relies-GNU-extentions.patch | 32 ++++++++++++++ .../zbar/zbar/0001-undefine-__va_arg_pack.patch | 51 ++++++++++++++++++++++ meta-oe/recipes-support/zbar/zbar_0.10.bb | 25 +++++++++++ 3 files changed, 108 insertions(+) create mode 100644 meta-oe/recipes-support/zbar/zbar/0001-make-relies-GNU-extentions.patch create mode 100644 meta-oe/recipes-support/zbar/zbar/0001-undefine-__va_arg_pack.patch create mode 100644 meta-oe/recipes-support/zbar/zbar_0.10.bb
zbar-0.10: zbar rdepends on libxcb, but it isn't a build dependency, missing libxcb in DEPENDS or PACKAGECONFIG? [build-deps] zbar-0.10: zbar rdepends on libx11, but it isn't a build dependency, missing libx11 in DEPENDS or PACKAGECONFIG? [build-deps] zbar-0.10: zbar rdepends on libsm, but it isn't a build dependency, missing libsm in DEPENDS or PACKAGECONFIG? [build-deps] zbar-0.10: zbar rdepends on libxau, but it isn't a build dependency, missing libxau in DEPENDS or PACKAGECONFIG? [build-deps] zbar-0.10: zbar rdepends on libxext, but it isn't a build dependency, missing libxext in DEPENDS or PACKAGECONFIG? [build-deps] zbar-0.10: zbar rdepends on libxv, but it isn't a build dependency, missing libxv in DEPENDS or PACKAGECONFIG? [build-deps] zbar-0.10: zbar rdepends on libice, but it isn't a build dependency, missing libice in DEPENDS or PACKAGECONFIG? [build-deps] zbar-0.10: zbar rdepends on libxdmcp, but it isn't a build dependency, missing libxdmcp in DEPENDS or PACKAGECONFIG? [build-deps]
Quoted 135 lines
meta-oe/recipes-support/zbar/zbar/0001-make-relies-GNU-extentions.patch new file +32
-0@@ -0,0 +1,32 @@ +From 224507bc4b6e58f7a6e445bfebfb59d6b8d78bd6 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Fri, 2 Dec 2016 17:38:51 -0800 +Subject: [PATCH] make relies GNU extentions + +We get errors like +`%'-style pattern rules are a GNU make extension + +Disable this warning, since we use gmake with OE +anyway + +Signed-off-by: Khem Raj <[email protected]> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 56d3dd0..9f85fd7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3,7 +3,7 @@ AC_PREREQ([2.61]) + AC_INIT([zbar], [0.10], [[email protected]]) + AC_CONFIG_AUX_DIR(config) + AC_CONFIG_MACRO_DIR(config) +-AM_INIT_AUTOMAKE([1.10 -Wall -Werror foreign subdir-objects std-options dist-bzip2]) ++AM_INIT_AUTOMAKE([1.10 -Wall -Werror -Wno-portability foreign subdir-objects std-options dist-bzip2]) + AC_CONFIG_HEADERS([include/config.h]) + AC_CONFIG_SRCDIR(zbar/scanner.c) + LT_PREREQ([2.2]) +-- +2.10.2 +meta-oe/recipes-support/zbar/zbar/0001-undefine-__va_arg_pack.patch new file +51
-0@@ -0,0 +1,51 @@ +From f842872244219d9881fbec77054702412b1e16f8 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Fri, 2 Dec 2016 16:41:27 -0800 +Subject: [PATCH] undefine __va_arg_pack + +dprintf() is also a libc function. This fixes +the compile errors + +/usr/include/bits/stdio2.h:140:1: error: expected identifier or '(' before '{' token +| { + +Signed-off-by: Khem Raj <[email protected]> +--- + zbar/debug.h | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/zbar/debug.h b/zbar/debug.h +index 482ca8d..68948f6 100644 +--- a/zbar/debug.h ++++ b/zbar/debug.h +@@ -23,6 +23,7 @@ + + /* varargs variations on compile time debug spew */ + ++#undef __va_arg_pack + #ifndef DEBUG_LEVEL + + # ifdef __GNUC__ +@@ -36,15 +37,14 @@ + #else + + # include <stdio.h> +- + # ifdef __GNUC__ +-# define dprintf(level, args...) \ ++# define dprintf(level, format, args...) \ + if((level) <= DEBUG_LEVEL) \ +- fprintf(stderr, args) ++ fprintf(stderr, format, args) + # else +-# define dprintf(level, ...) \ ++# define dprintf(level, format, ...) \ + if((level) <= DEBUG_LEVEL) \ +- fprintf(stderr, __VA_ARGS__) ++ fprintf(stderr, format, __VA_ARGS__) + # endif + + #endif /* DEBUG_LEVEL */ +-- +2.10.2 +meta-oe/recipes-support/zbar/zbar_0.10.bb new file +25
-0@@ -0,0 +1,25 @@ +DESRIPTION = "2D barcode scanner toolkit." +SECTION = "graphics" +LICENSE = "LGPL-2.1" + +DEPENDS = "pkgconfig intltool-native libpng jpeg" + +LIC_FILES_CHKSUM = "file://COPYING;md5=42bafded1b380c6fefbeb6c5cd5448d9" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.bz2 \ + file://0001-undefine-__va_arg_pack.patch \ + file://0001-make-relies-GNU-extentions.patch \ +" + +SRC_URI[md5sum] = "0fd61eb590ac1bab62a77913c8b086a5" +SRC_URI[sha256sum] = "234efb39dbbe5cef4189cc76f37afbe3cfcfb45ae52493bfe8e191318bdbadc6" + +inherit autotools pkgconfig + +EXTRA_OECONF = " --without-imagemagick --without-qt --without-python --disable-video --without-gtk" + + +do_install_append() { + #remove usr/bin if empty + rmdir ${D}${bindir} +}Signature · 7 lines
2.10.2 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [meta-oe][PATCH 4/8] libmng: Add recipe
In reply to Khem RajQuoted 5 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb
gimp-2.8.18: gimp rdepends on libmng, but it isn't a build dependency, missing libmng in DEPENDS or PACKAGECONFIG? [build-deps]
Quoted 37 lines
meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb new file +22
-0@@ -0,0 +1,22 @@ +# Copyright (C) 2016 Khem Raj <[email protected]> +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Development files for the Multiple-image Network Graphics library" +HOMEPAGE = "http://www.libmng.com/" +LICENSE = "Zlib" +LIC_FILES_CHKSUM = "file://LICENSE;md5=32becdb8930f90eab219a8021130ec09" +SECTION = "devel" +DEPENDS = "zlib lcms" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${P}.tar.gz" + +SRC_URI[md5sum] = "7e9a12ba2a99dff7e736902ea07383d4" +SRC_URI[sha256sum] = "cf112a1fb02f5b1c0fce5cab11ea8243852c139e669c44014125874b14b7dfaa" + +inherit autotools-brokensep pkgconfig + +PACKAGECONFIG ??= "jpeg" + +PACKAGECONFIG[jpeg] = "--with-jpeg,--without-jpeg,libjpeg-turbo" +PACKAGECONFIG[lcms] = "---with-lcms2,--without-lcms2,lcms" +Signature · 7 lines
2.10.2 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [meta-oe][PATCH 8/8] loop-aes: Add recipe
In reply to Martin JansaQuoted 28 lines · Martin Jansa
Quoted 27 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bbmeta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb new file +15
-0@@ -0,0 +1,22 @@ +SUMMARY = "Loop-aes - replacement for loop driver that can do aes encryption" +DESCRIPTION = "Fast and transparent file system and swap encryption package for \ + linux. No source code changes to linux kernel. Works with 3.x,\ + 2.6, 2.4, 2.2 and 2.0 kernels." +HOMEPAGE = "http://sourceforge.net/projects/loop-aes/" +LICENSE = "GPL-2.0" + +LIC_FILES_CHKSUM = "file://aes-GPL.diff;md5=bf349af3486306c2e4d85de5b6fa3bb4" + +SRC_URI = "http://loop-aes.sourceforge.net/loop-AES/loop-AES-${PV}.tar.bz2" +SRC_URI[md5sum] = "335238a7cfd45f157935c59156533a05" +SRC_URI[sha256sum] = "67ede839d4cac657359c39b05eac46f6991054768a7e1096bef5b92edb3b8aba" + +inherit module +
Quoted 9 lines
meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb line 21
Quoted 6 lines
meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb new file +6
-0+S = "${WORKDIR}/loop-AES-${PV}" + +EXTRA_OEMAKE += "LINUX_SOURCE=${STAGING_KERNEL_DIR} INSTALL_MOD_PATH=${D} MODINST=n" + +do_install () { + install -D -m 0655 loop.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/misc/loop.koPlease use 4 spaces when updating.
hmm ok
Quoted 4 lines
meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb line 22
Quoted 1 line
meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb new file +1
-0+}It conflicts with linux-yocto:
http://errors.yoctoproject.org/Errors/Details/112197/
it is supposed to conflict with kernels enabling loop device.
Quoted 19 lines
Quoted 9 lines
--
2.10.2--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
Martin 'JaMa' Jansa jabber: [email protected]--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [meta-oe][PATCH 7/8] avro: Add recipe
In reply to Khem RajWhat is supposed to provide lzma?
https://layers.openembedded.org/layerindex/recipe/53191/
Quoted 41 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-support/avro/avro-c_1.8.1.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-oe/recipes-support/avro/avro-c_1.8.1.bbmeta-oe/recipes-support/avro/avro-c_1.8.1.bb new file +14
-0@@ -0,0 +1,18 @@ +SUMMARY = "Apache Avro data serialization system." +HOMEPAGE = "http://apr.apache.org/" +SECTION = "libs" + + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=73bdf70f268f0b3b9c5a83dd7a6f3324" + +DEPENDS = "jansson zlib lzma" + +SRC_URI = "${APACHE_MIRROR}/avro/avro-${PV}/c/avro-c-${PV}.tar.gz" + +SRC_URI[md5sum] = "b268348536714541e10411823a1b59b0" +SRC_URI[sha256sum] = "e5042088fa47e1aa2860c5cfed0bd0
61d81f9e96628f8b4d87a24d9b8c5e4ecc"meta-oe/recipes-support/avro/avro-c_1.8.1.bb new file +4
-1+ +LDFLAGS_append_libc-uclibc = " -lm" + +inherit cmake --2.10.2
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [meta-oe][PATCH 7/8] avro: Add recipe
Quoted 1 line · Martin Jansa
What is supposed to provide lzma?
It depends on liblzma,which should be provided by xz recipe in OE-Core. I had a local lzma recipe out of sevenzip I think thats why I did not see this issue.
Quoted 51 lines
https://layers.openembedded.org/layerindex/recipe/53191/
Quoted 35 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-support/avro/avro-c_1.8.1.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-oe/recipes-support/avro/avro-c_1.8.1.bbmeta-oe/recipes-support/avro/avro-c_1.8.1.bb new file +14
-0@@ -0,0 +1,18 @@ +SUMMARY = "Apache Avro data serialization system." +HOMEPAGE = "http://apr.apache.org/" +SECTION = "libs" + + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=73bdf70f268f0b3b9c5a83dd7a6f3324" + +DEPENDS = "jansson zlib lzma" + +SRC_URI = "${APACHE_MIRROR}/avro/avro-${PV}/c/avro-c-${PV}.tar.gz" + +SRC_URI[md5sum] = "b268348536714541e10411823a1b59b0" +SRC_URI[sha256sum] = "e5042088fa47e1aa2860c5cfed0bd0
61d81f9e96628f8b4d87a24d9b8c5e4ecc"meta-oe/recipes-support/avro/avro-c_1.8.1.bb new file +4
-1+ +LDFLAGS_append_libc-uclibc = " -lm" + +inherit cmake --2.10.2
Quoted 6 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel