[oe] [meta-networking][PATCH 8/8 v2] libtdb: fixes for deterministic builds
From: Jackie Huang * Add configure option and PACKAGECONFIG for the following packages: - acl - attr - libaio - libbsd - libcap - valgrind * They are all optional, so disable by default or control them based on DISTRO_FEATURES. * Remove the direct dependency on libaio Signed-off-by: Jackie Huang --- .../tdb-Add-configure-options-for-packages.patch | 177 + .../recipes-support/libtdb/libtdb_1.3.10.bb| 17 +- 2 files changed, 191 insertions(+), 3 deletions(-) create mode 100644 meta-networking/recipes-support/libtdb/libtdb/tdb-Add-configure-options-for-packages.patch diff --git a/meta-networking/recipes-support/libtdb/libtdb/tdb-Add-configure-options-for-packages.patch b/meta-networking/recipes-support/libtdb/libtdb/tdb-Add-configure-options-for-packages.patch new file mode 100644 index 000..4000557 --- /dev/null +++ b/meta-networking/recipes-support/libtdb/libtdb/tdb-Add-configure-options-for-packages.patch @@ -0,0 +1,177 @@ +From 10ac5e5fdda44adcc2a159b6f9a2d51a51361057 Mon Sep 17 00:00:00 2001 +From: Jackie Huang +Date: Wed, 21 Sep 2016 10:46:19 +0800 +Subject: [PATCH] tdb: Add configure options for packages + +Add configure options for the following packages: + - acl + - attr + - libaio + - libbsd + - libcap + - valgrind + +Upstream-Status: Inappropriate [oe deterministic build specific] + +Signed-off-by: Jackie Huang +--- + lib/replace/system/wscript_configure | 6 ++- + lib/replace/wscript | 85 + wscript | 7 ++- + 3 files changed, 79 insertions(+), 19 deletions(-) + +diff --git a/lib/replace/system/wscript_configure b/lib/replace/system/wscript_configure +index 2035474..10f9ae7 100644 +--- a/lib/replace/system/wscript_configure b/lib/replace/system/wscript_configure +@@ -1,6 +1,10 @@ + #!/usr/bin/env python + +-conf.CHECK_HEADERS('sys/capability.h') ++import Options ++ ++if Options.options.enable_libcap: ++conf.CHECK_HEADERS('sys/capability.h') ++ + conf.CHECK_FUNCS('getpwnam_r getpwuid_r getpwent_r') + + # solaris varients of getXXent_r +diff --git a/lib/replace/wscript b/lib/replace/wscript +index 145300d..310048c 100644 +--- a/lib/replace/wscript b/lib/replace/wscript +@@ -23,6 +23,41 @@ def set_options(opt): + opt.PRIVATE_EXTENSION_DEFAULT('') + opt.RECURSE('buildtools/wafsamba') + ++opt.add_option('--with-acl', ++ help=("Enable use of acl"), ++ action="store_true", dest='enable_acl') ++opt.add_option('--without-acl', ++ help=("Disable use of acl"), ++ action="store_false", dest='enable_acl', default=False) ++ ++opt.add_option('--with-attr', ++ help=("Enable use of attr"), ++ action="store_true", dest='enable_attr') ++opt.add_option('--without-attr', ++ help=("Disable use of attr"), ++ action="store_false", dest='enable_attr', default=False) ++ ++opt.add_option('--with-libaio', ++ help=("Enable use of libaio"), ++ action="store_true", dest='enable_libaio') ++opt.add_option('--without-libaio', ++ help=("Disable use of libaio"), ++ action="store_false", dest='enable_libaio', default=False) ++ ++opt.add_option('--with-libbsd', ++ help=("Enable use of libbsd"), ++ action="store_true", dest='enable_libbsd') ++opt.add_option('--without-libbsd', ++ help=("Disable use of libbsd"), ++ action="store_false", dest='enable_libbsd', default=False) ++ ++opt.add_option('--with-libcap', ++ help=("Enable use of libcap"), ++ action="store_true", dest='enable_libcap') ++opt.add_option('--without-libcap', ++ help=("Disable use of libcap"), ++ action="store_false", dest='enable_libcap', default=False) ++ + @Utils.run_once + def configure(conf): + conf.RECURSE('buildtools/wafsamba') +@@ -32,12 +67,25 @@ def configure(conf): + conf.DEFINE('HAVE_LIBREPLACE', 1) + conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1) + +-conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h compat.h') +-conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h') ++conf.CHECK_HEADERS('linux/types.h crypt.h locale.h compat.h') ++conf.CHECK_HEADERS('compat.h ctype.h dustat.h') + conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h') +-conf.CHECK_HEADERS('libaio.h locale.h ndir.h pwd.h') +-conf.CHECK_HEADERS('shadow.h sys/acl.h') +-conf.CHECK_HEADERS('sys/attributes.h attr/attributes.h sys/capability.h sys/dir.h sys/epoll.h') ++conf.CHECK_HEADERS('locale.h ndir.h pwd.h') ++conf.CHECK_HEADERS('shadow.h') ++conf.CHECK_HEADERS('sys/attributes.h sys/dir.h sys/epoll.h') ++ ++if Options.opt
[oe] [meta-networking][PATCH 7/8 v2] libldb: fixes for deterministic builds
From: Jackie Huang * Add configure option and PACKAGECONFIG for the following packages: - acl - attr - libaio - libbsd - libcap - valgrind * They are all optional, so disable by default or control them based on DISTRO_FEATURES. * Remove the direct dependency on libaio and libbsd Signed-off-by: Jackie Huang --- .../ldb-Add-configure-options-for-packages.patch | 177 + .../recipes-support/libldb/libldb_1.1.27.bb| 14 +- 2 files changed, 190 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-support/libldb/libldb/ldb-Add-configure-options-for-packages.patch diff --git a/meta-networking/recipes-support/libldb/libldb/ldb-Add-configure-options-for-packages.patch b/meta-networking/recipes-support/libldb/libldb/ldb-Add-configure-options-for-packages.patch new file mode 100644 index 000..93bd457 --- /dev/null +++ b/meta-networking/recipes-support/libldb/libldb/ldb-Add-configure-options-for-packages.patch @@ -0,0 +1,177 @@ +From 49dde22e798fd7f39fd59250036c0ae1fe2b9152 Mon Sep 17 00:00:00 2001 +From: Jackie Huang +Date: Wed, 21 Sep 2016 10:06:39 +0800 +Subject: [PATCH] ldb: Add configure options for packages + +Add configure options for the following packages: + - acl + - attr + - libaio + - libbsd + - libcap + - valgrind + +Upstream-Status: Inappropriate [oe deterministic build specific] + +Signed-off-by: Jackie Huang +--- + lib/replace/system/wscript_configure | 6 ++- + lib/replace/wscript | 85 + wscript | 7 +++ + 3 files changed, 80 insertions(+), 18 deletions(-) + +diff --git a/lib/replace/system/wscript_configure b/lib/replace/system/wscript_configure +index 2035474..10f9ae7 100644 +--- a/lib/replace/system/wscript_configure b/lib/replace/system/wscript_configure +@@ -1,6 +1,10 @@ + #!/usr/bin/env python + +-conf.CHECK_HEADERS('sys/capability.h') ++import Options ++ ++if Options.options.enable_libcap: ++conf.CHECK_HEADERS('sys/capability.h') ++ + conf.CHECK_FUNCS('getpwnam_r getpwuid_r getpwent_r') + + # solaris varients of getXXent_r +diff --git a/lib/replace/wscript b/lib/replace/wscript +index 145300d..8218fa5 100644 +--- a/lib/replace/wscript b/lib/replace/wscript +@@ -23,6 +23,41 @@ def set_options(opt): + opt.PRIVATE_EXTENSION_DEFAULT('') + opt.RECURSE('buildtools/wafsamba') + ++opt.add_option('--with-acl', ++ help=("Enable use of acl"), ++ action="store_true", dest='enable_acl') ++opt.add_option('--without-acl', ++ help=("Disable use of acl"), ++ action="store_false", dest='enable_acl', default=False) ++ ++opt.add_option('--with-attr', ++ help=("Enable use of attr"), ++ action="store_true", dest='enable_attr') ++opt.add_option('--without-attr', ++ help=("Disable use of attr"), ++ action="store_false", dest='enable_attr', default=False) ++ ++opt.add_option('--with-libaio', ++ help=("Enable use of libaio"), ++ action="store_true", dest='enable_libaio') ++opt.add_option('--without-libaio', ++ help=("Disable use of libaio"), ++ action="store_false", dest='enable_libaio', default=False) ++ ++opt.add_option('--with-libbsd', ++ help=("Enable use of libbsd"), ++ action="store_true", dest='enable_libbsd') ++opt.add_option('--without-libbsd', ++ help=("Disable use of libbsd"), ++ action="store_false", dest='enable_libbsd', default=False) ++ ++opt.add_option('--with-libcap', ++ help=("Enable use of libcap"), ++ action="store_true", dest='enable_libcap') ++opt.add_option('--without-libcap', ++ help=("Disable use of libcap"), ++ action="store_false", dest='enable_libcap', default=False) ++ + @Utils.run_once + def configure(conf): + conf.RECURSE('buildtools/wafsamba') +@@ -32,12 +67,25 @@ def configure(conf): + conf.DEFINE('HAVE_LIBREPLACE', 1) + conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1) + +-conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h compat.h') +-conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h') ++conf.CHECK_HEADERS('linux/types.h crypt.h locale.h compat.h') ++conf.CHECK_HEADERS('compat.h ctype.h dustat.h') + conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h') +-conf.CHECK_HEADERS('libaio.h locale.h ndir.h pwd.h') +-conf.CHECK_HEADERS('shadow.h sys/acl.h') +-conf.CHECK_HEADERS('sys/attributes.h attr/attributes.h sys/capability.h sys/dir.h sys/epoll.h') ++conf.CHECK_HEADERS('locale.h ndir.h pwd.h') ++conf.CHECK_HEADERS('shadow.h') ++conf.CHECK_HEADERS('sys/attributes.h sys/dir.h sys/epoll.h') ++ ++if O
[oe] [meta-networking][PATCH 6/8 v2] libtevent: fixes for deterministic builds
From: Jackie Huang * Add configure option and PACKAGECONFIG for the following packages: - acl - attr - libaio - libbsd - libcap - valgrind * They are all optional, so disable by default or control them based on DISTRO_FEATURES. * Remove the direct dependency on libaio and libbsd Signed-off-by: Jackie Huang --- ...tevent-Add-configure-options-for-packages.patch | 180 + .../recipes-support/libtevent/libtevent_0.9.29.bb | 17 +- 2 files changed, 194 insertions(+), 3 deletions(-) create mode 100644 meta-networking/recipes-support/libtevent/libtevent/tevent-Add-configure-options-for-packages.patch diff --git a/meta-networking/recipes-support/libtevent/libtevent/tevent-Add-configure-options-for-packages.patch b/meta-networking/recipes-support/libtevent/libtevent/tevent-Add-configure-options-for-packages.patch new file mode 100644 index 000..ddb8e4e --- /dev/null +++ b/meta-networking/recipes-support/libtevent/libtevent/tevent-Add-configure-options-for-packages.patch @@ -0,0 +1,180 @@ +From c00f6d35bdc06dffb54daa815e57b44210a5de04 Mon Sep 17 00:00:00 2001 +From: Jackie Huang +Date: Wed, 21 Sep 2016 09:57:49 +0800 +Subject: [PATCH] tevent: Add configure options for packages + +Add configure options for the following packages: + - acl + - attr + - libaio + - libbsd + - libcap + - valgrind + +Upstream-Status: Inappropriate [oe deterministic build specific] + +Signed-off-by: Jackie Huang +--- + lib/replace/system/wscript_configure | 6 ++- + lib/replace/wscript | 85 + wscript | 7 ++- + 3 files changed, 79 insertions(+), 19 deletions(-) + mode change 100755 => 100644 wscript + +diff --git a/lib/replace/system/wscript_configure b/lib/replace/system/wscript_configure +index 2035474..10f9ae7 100644 +--- a/lib/replace/system/wscript_configure b/lib/replace/system/wscript_configure +@@ -1,6 +1,10 @@ + #!/usr/bin/env python + +-conf.CHECK_HEADERS('sys/capability.h') ++import Options ++ ++if Options.options.enable_libcap: ++conf.CHECK_HEADERS('sys/capability.h') ++ + conf.CHECK_FUNCS('getpwnam_r getpwuid_r getpwent_r') + + # solaris varients of getXXent_r +diff --git a/lib/replace/wscript b/lib/replace/wscript +index fc43e1a..12d2a70 100644 +--- a/lib/replace/wscript b/lib/replace/wscript +@@ -23,6 +23,41 @@ def set_options(opt): + opt.PRIVATE_EXTENSION_DEFAULT('') + opt.RECURSE('buildtools/wafsamba') + ++opt.add_option('--with-acl', ++ help=("Enable use of acl"), ++ action="store_true", dest='enable_acl') ++opt.add_option('--without-acl', ++ help=("Disable use of acl"), ++ action="store_false", dest='enable_acl', default=False) ++ ++opt.add_option('--with-attr', ++ help=("Enable use of attr"), ++ action="store_true", dest='enable_attr') ++opt.add_option('--without-attr', ++ help=("Disable use of attr"), ++ action="store_false", dest='enable_attr', default=False) ++ ++opt.add_option('--with-libaio', ++ help=("Enable use of libaio"), ++ action="store_true", dest='enable_libaio') ++opt.add_option('--without-libaio', ++ help=("Disable use of libaio"), ++ action="store_false", dest='enable_libaio', default=False) ++ ++opt.add_option('--with-libbsd', ++ help=("Enable use of libbsd"), ++ action="store_true", dest='enable_libbsd') ++opt.add_option('--without-libbsd', ++ help=("Disable use of libbsd"), ++ action="store_false", dest='enable_libbsd', default=False) ++ ++opt.add_option('--with-libcap', ++ help=("Enable use of libcap"), ++ action="store_true", dest='enable_libcap') ++opt.add_option('--without-libcap', ++ help=("Disable use of libcap"), ++ action="store_false", dest='enable_libcap', default=False) ++ + @Utils.run_once + def configure(conf): + conf.RECURSE('buildtools/wafsamba') +@@ -32,12 +67,25 @@ def configure(conf): + conf.DEFINE('HAVE_LIBREPLACE', 1) + conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1) + +-conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h compat.h') +-conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h') ++conf.CHECK_HEADERS('linux/types.h crypt.h locale.h compat.h') ++conf.CHECK_HEADERS('compat.h ctype.h dustat.h') + conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h') +-conf.CHECK_HEADERS('libaio.h locale.h ndir.h pwd.h') +-conf.CHECK_HEADERS('shadow.h sys/acl.h') +-conf.CHECK_HEADERS('sys/attributes.h attr/attributes.h sys/capability.h sys/dir.h sys/epoll.h') ++conf.CHECK_HEADERS('locale.h ndir.h pwd.h') ++conf.CHECK_HEADERS('shadow.h') +
[oe] [meta-networking][PATCH 5/8 v2] libtalloc: fixes for deterministic builds
From: Jackie Huang * Add configure option and PACKAGECONFIG for the following packages: - acl - attr - libaio - libbsd - libcap - valgrind * They are all optional, so disable by default or control them based on DISTRO_FEATURES. * Remove the direct dependency on libaio and libbsd Signed-off-by: Jackie Huang --- ...talloc-Add-configure-options-for-packages.patch | 177 + .../recipes-support/libtalloc/libtalloc_2.1.8.bb | 17 +- 2 files changed, 190 insertions(+), 4 deletions(-) create mode 100644 meta-networking/recipes-support/libtalloc/libtalloc/talloc-Add-configure-options-for-packages.patch diff --git a/meta-networking/recipes-support/libtalloc/libtalloc/talloc-Add-configure-options-for-packages.patch b/meta-networking/recipes-support/libtalloc/libtalloc/talloc-Add-configure-options-for-packages.patch new file mode 100644 index 000..46b2405 --- /dev/null +++ b/meta-networking/recipes-support/libtalloc/libtalloc/talloc-Add-configure-options-for-packages.patch @@ -0,0 +1,177 @@ +From efc1b02144f23fdf84dbc5ff15307815e0f2a425 Mon Sep 17 00:00:00 2001 +From: Jackie Huang +Date: Wed, 14 Sep 2016 11:11:35 +0800 +Subject: [PATCH] talloc: Add configure options for packages + +Add configure options for the following packages: + - acl + - attr + - libaio + - libbsd + - libcap + - valgrind + +Upstream-Status: Inappropriate [oe deterministic build specific] + +Signed-off-by: Jackie Huang +--- + lib/replace/system/wscript_configure | 6 ++- + lib/replace/wscript | 85 + wscript | 7 ++- + 3 files changed, 79 insertions(+), 19 deletions(-) + +diff --git a/lib/replace/system/wscript_configure b/lib/replace/system/wscript_configure +index 2035474..10f9ae7 100644 +--- a/lib/replace/system/wscript_configure b/lib/replace/system/wscript_configure +@@ -1,6 +1,10 @@ + #!/usr/bin/env python + +-conf.CHECK_HEADERS('sys/capability.h') ++import Options ++ ++if Options.options.enable_libcap: ++conf.CHECK_HEADERS('sys/capability.h') ++ + conf.CHECK_FUNCS('getpwnam_r getpwuid_r getpwent_r') + + # solaris varients of getXXent_r +diff --git a/lib/replace/wscript b/lib/replace/wscript +index fc43e1a..12d2a70 100644 +--- a/lib/replace/wscript b/lib/replace/wscript +@@ -23,6 +23,41 @@ def set_options(opt): + opt.PRIVATE_EXTENSION_DEFAULT('') + opt.RECURSE('buildtools/wafsamba') + ++opt.add_option('--with-acl', ++ help=("Enable use of acl"), ++ action="store_true", dest='enable_acl') ++opt.add_option('--without-acl', ++ help=("Disable use of acl"), ++ action="store_false", dest='enable_acl', default=False) ++ ++opt.add_option('--with-attr', ++ help=("Enable use of attr"), ++ action="store_true", dest='enable_attr') ++opt.add_option('--without-attr', ++ help=("Disable use of attr"), ++ action="store_false", dest='enable_attr', default=False) ++ ++opt.add_option('--with-libaio', ++ help=("Enable use of libaio"), ++ action="store_true", dest='enable_libaio') ++opt.add_option('--without-libaio', ++ help=("Disable use of libaio"), ++ action="store_false", dest='enable_libaio', default=False) ++ ++opt.add_option('--with-libbsd', ++ help=("Enable use of libbsd"), ++ action="store_true", dest='enable_libbsd') ++opt.add_option('--without-libbsd', ++ help=("Disable use of libbsd"), ++ action="store_false", dest='enable_libbsd', default=False) ++ ++opt.add_option('--with-libcap', ++ help=("Enable use of libcap"), ++ action="store_true", dest='enable_libcap') ++opt.add_option('--without-libcap', ++ help=("Disable use of libcap"), ++ action="store_false", dest='enable_libcap', default=False) ++ + @Utils.run_once + def configure(conf): + conf.RECURSE('buildtools/wafsamba') +@@ -32,12 +67,25 @@ def configure(conf): + conf.DEFINE('HAVE_LIBREPLACE', 1) + conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1) + +-conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h compat.h') +-conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h') ++conf.CHECK_HEADERS('linux/types.h crypt.h locale.h compat.h') ++conf.CHECK_HEADERS('compat.h ctype.h dustat.h') + conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h') +-conf.CHECK_HEADERS('libaio.h locale.h ndir.h pwd.h') +-conf.CHECK_HEADERS('shadow.h sys/acl.h') +-conf.CHECK_HEADERS('sys/attributes.h attr/attributes.h sys/capability.h sys/dir.h sys/epoll.h') ++conf.CHECK_HEADERS('locale.h ndir.h pwd.h') ++conf.CHECK_HEADERS('shadow.h') ++conf.CHECK_HEADERS('sys/attributes
[oe] [meta-networking][PATCH 4/8 v2] libldb: fix for LIC_FILES_CHKSUM
From: Jackie Huang Use the source files instead of common-licenses Signed-off-by: Jackie Huang --- meta-networking/recipes-support/libldb/libldb_1.1.27.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-networking/recipes-support/libldb/libldb_1.1.27.bb b/meta-networking/recipes-support/libldb/libldb_1.1.27.bb index b92bf22..7b6e6e3 100644 --- a/meta-networking/recipes-support/libldb/libldb_1.1.27.bb +++ b/meta-networking/recipes-support/libldb/libldb_1.1.27.bb @@ -13,9 +13,9 @@ SRC_URI = "http://samba.org/ftp/ldb/ldb-${PV}.tar.gz \ PACKAGECONFIG[ldap] = ",,openldap" SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'ldap', '', 'file://avoid-openldap-unless-wanted.patch', d)}" -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \ - file://${COREBASE}/meta/files/common-licenses/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780 \ - file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" +LIC_FILES_CHKSUM = "file://pyldb.h;endline=24;md5=dfbd238cecad76957f7f860fbe9adade \ + file://man/ldb.3.xml;beginline=261;endline=262;md5=137f9fd61040c1505d1aa1019663fd08 \ + file://tools/ldbdump.c;endline=19;md5=a7d4fc5d1f75676b49df491575a86a42" SRC_URI[md5sum] = "50a194dea128d062cf4b44c59130219b" SRC_URI[sha256sum] = "cdb8269cba09006ddf3766eb7721192b52ae3fdc8a6b95f4318b6b740b9d35ac" -- 2.8.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 2/8 v2] libtevent: fix for LIC_FILES_CHKSUM
From: Jackie Huang Use the source file instead of common-licenses Signed-off-by: Jackie Huang --- meta-networking/recipes-support/libtevent/libtevent_0.9.29.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-support/libtevent/libtevent_0.9.29.bb b/meta-networking/recipes-support/libtevent/libtevent_0.9.29.bb index 6acdeb5..222a22a 100644 --- a/meta-networking/recipes-support/libtevent/libtevent_0.9.29.bb +++ b/meta-networking/recipes-support/libtevent/libtevent_0.9.29.bb @@ -7,7 +7,7 @@ DEPENDS += "libaio libbsd libtalloc" RDEPENDS_python-tevent = "python" SRC_URI = "http://samba.org/ftp/tevent/tevent-${PV}.tar.gz"; -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b" +LIC_FILES_CHKSUM = "file://tevent.h;endline=26;md5=4e458d658cb25e21efc16f720e78b85a" SRC_URI[md5sum] = "4372c1430a1ecb7ea0adddfdf21c0d55" SRC_URI[sha256sum] = "a4f519b0bbb718fe2175bee9011ee4d199675f28c2ef80531be38e7bbaa1c42b" -- 2.8.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 3/8 v2] libtdb: fix for LIC_FILES_CHKSUM
From: Jackie Huang Use the source files instead of common-licenses Signed-off-by: Jackie Huang --- meta-networking/recipes-support/libtdb/libtdb_1.3.10.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-networking/recipes-support/libtdb/libtdb_1.3.10.bb b/meta-networking/recipes-support/libtdb/libtdb_1.3.10.bb index 35ae8c0..58ecbbe 100644 --- a/meta-networking/recipes-support/libtdb/libtdb_1.3.10.bb +++ b/meta-networking/recipes-support/libtdb/libtdb_1.3.10.bb @@ -4,8 +4,8 @@ LICENSE = "LGPL-3.0+ & GPL-3.0+" DEPENDS += "libaio" -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \ - file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" +LIC_FILES_CHKSUM = "file://tools/tdbdump.c;endline=18;md5=b59cd45aa8624578126a8c98f48018c4 \ + file://include/tdb.h;endline=27;md5=f5bb544641d3081821bcc1dd58310be6" SRC_URI = "http://samba.org/ftp/tdb/tdb-${PV}.tar.gz \ file://do-not-check-xsltproc-manpages.patch" -- 2.8.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 1/8 v2] libtalloc: fix for LIC_FILES_CHKSUM
From: Jackie Huang Use the source files instead of common-licenses Signed-off-by: Jackie Huang --- meta-networking/recipes-support/libtalloc/libtalloc_2.1.8.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-networking/recipes-support/libtalloc/libtalloc_2.1.8.bb b/meta-networking/recipes-support/libtalloc/libtalloc_2.1.8.bb index 7c85ab3..483dbda 100644 --- a/meta-networking/recipes-support/libtalloc/libtalloc_2.1.8.bb +++ b/meta-networking/recipes-support/libtalloc/libtalloc_2.1.8.bb @@ -6,8 +6,8 @@ LICENSE = "LGPL-3.0+ & GPL-3.0+" DEPENDS += "libaio libbsd" SRC_URI = "http://samba.org/ftp/talloc/talloc-${PV}.tar.gz"; -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \ - file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" +LIC_FILES_CHKSUM = "file://talloc.h;beginline=3;endline=27;md5=a301712782cad6dd6d5228bfa7825249 \ + file://pytalloc.h;beginline=1;endline=18;md5=2c498cc6f2263672483237b20f46b43d" SRC_URI[md5sum] = "6fb70af4174330e4cc139ea63b07c9e9" SRC_URI[sha256sum] = "22d14911164d4de67ff76b5269fa5250d01f78c955bc77e28615350996877130" -- 2.8.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 0/8 v2] libtalloc/tevent/ldb/tdb: fixes license and deterministic builds
From: Jackie Huang v2 changes: * Fix license issue found in v1 * Add --without-pkgs for each as suggested in v1 * Add configure option for libbsd -- The following changes since commit 24e387aaf78bc0f68a46abb1fab3a76364804bd1: openldap: fix CVE-2015-3276 (2016-09-19 16:24:10 +0200) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/d_waf-pkgs_160921_1 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/d_waf-pkgs_160921_1 Jackie Huang (8): libtalloc: fix for LIC_FILES_CHKSUM libtevent: fix for LIC_FILES_CHKSUM libtdb: fix for LIC_FILES_CHKSUM libldb: fix for LIC_FILES_CHKSUM libtalloc: fixes for deterministic builds libtevent: fixes for deterministic builds libldb: fixes for deterministic builds libtdb: fixes for deterministic builds .../ldb-Add-configure-options-for-packages.patch | 177 .../recipes-support/libldb/libldb_1.1.27.bb| 20 ++- ...talloc-Add-configure-options-for-packages.patch | 177 .../recipes-support/libtalloc/libtalloc_2.1.8.bb | 21 ++- .../tdb-Add-configure-options-for-packages.patch | 177 .../recipes-support/libtdb/libtdb_1.3.10.bb| 21 ++- ...tevent-Add-configure-options-for-packages.patch | 180 + .../recipes-support/libtevent/libtevent_0.9.29.bb | 19 ++- 8 files changed, 773 insertions(+), 19 deletions(-) create mode 100644 meta-networking/recipes-support/libldb/libldb/ldb-Add-configure-options-for-packages.patch create mode 100644 meta-networking/recipes-support/libtalloc/libtalloc/talloc-Add-configure-options-for-packages.patch create mode 100644 meta-networking/recipes-support/libtdb/libtdb/tdb-Add-configure-options-for-packages.patch create mode 100644 meta-networking/recipes-support/libtevent/libtevent/tevent-Add-configure-options-for-packages.patch -- 2.8.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 0/2] fftw follow-ups
These came along by further tests. Andreas Müller (2): fftw: fix reconfigure error introduced in previous patch fftw: fix native build meta-oe/recipes-support/fftw/fftw_3.3.4.bb | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) -- 2.5.5 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 1/2] fftw: fix reconfigure error introduced in previous patch
| config.status: executing libtool commands | mv: cannot move ‘/build’ to ‘/build-fftw/build’: Directory not empty | WARNING: /temp/run.do_configure.21632:1 exit 1 from 'mv /build /build-fftw' | ERROR: Function failed: do_configure (log file is located at /temp/log.do_configure.21632) Signed-off-by: Andreas Müller --- meta-oe/recipes-support/fftw/fftw_3.3.4.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-support/fftw/fftw_3.3.4.bb b/meta-oe/recipes-support/fftw/fftw_3.3.4.bb index cbcd1b9..a453214 100644 --- a/meta-oe/recipes-support/fftw/fftw_3.3.4.bb +++ b/meta-oe/recipes-support/fftw/fftw_3.3.4.bb @@ -16,6 +16,7 @@ EXTRA_OECONF = "--disable-fortran --enable-shared --enable-threads" do_configure() { # configure fftw +rm -rf ${WORKDIR}/build-fftw mkdir -p ${B} cd ${B} # full (re)configure @@ -23,6 +24,7 @@ do_configure() { mv ${B} ${WORKDIR}/build-fftw # configure fftwl +rm -rf ${WORKDIR}/build-fftwl mkdir -p ${B} cd ${B} # configure only @@ -30,6 +32,7 @@ do_configure() { mv ${B} ${WORKDIR}/build-fftwl # configure fftwf +rm -rf ${WORKDIR}/build-fftwf mkdir -p ${B} cd ${B} # configure only -- 2.5.5 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 2/2] fftw: fix native build
Signed-off-by: Andreas Müller --- meta-oe/recipes-support/fftw/fftw_3.3.4.bb | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/fftw/fftw_3.3.4.bb b/meta-oe/recipes-support/fftw/fftw_3.3.4.bb index a453214..0faaea1 100644 --- a/meta-oe/recipes-support/fftw/fftw_3.3.4.bb +++ b/meta-oe/recipes-support/fftw/fftw_3.3.4.bb @@ -14,6 +14,9 @@ PROVIDES = "fftwl fftwf" EXTRA_OECONF = "--disable-fortran --enable-shared --enable-threads" +FFTW_NEON = "${@bb.utils.contains('TUNE_FEATURES', 'neon', '--enable-neon', '', d)}" +FFTW_NEON_class-native = "" + do_configure() { # configure fftw rm -rf ${WORKDIR}/build-fftw @@ -36,7 +39,7 @@ do_configure() { mkdir -p ${B} cd ${B} # configure only -oe_runconf --enable-single ${@bb.utils.contains('TUNE_FEATURES', 'neon', '--enable-neon', '', d)} +oe_runconf --enable-single ${FFTW_NEON} mv ${B} ${WORKDIR}/build-fftwf } -- 2.5.5 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] mariadb: add libdbi-perl to the depends of mariadb-server
On 2016年09月18日 15:52, Yu, Mingli wrote: On 2016年09月05日 12:27, Zhixiong Chi wrote: On 2016年09月01日 20:20, Martin Jansa wrote: On Tue, Aug 23, 2016 at 11:10:30AM +0800, Zhixiong Chi wrote: The commands(mysql_convert_table_format and mysql_setpermission) need to the supported API provided by the libdbi-perl package. So add the libdbi-perl to the variable RDEPENDS of mariabdb-server. This isn't possible, libdbi-perl is in meta-perl and mariadb is in meta-oe. meta-oe doesn't depend (and cannot) on meta-perl. The script mysql_convert_table_format(line 50) and mysql_convert_table_format (line 20) which located xxx/mariadb/scripts/ source path will call the DBI function with the sentence "use DBI", and this DBI function is provided by the libdbi-perl package. So the scripts will fail when start to work. Any update? The issue also exists in my environment as mariabdb-server rdepends on DBI.pm which is provided by libdbi-perl. Thanks, Ping. Thanks, Thanks. Signed-off-by: Zhixiong Chi --- meta-oe/recipes-support/mysql/mariadb.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/mysql/mariadb.inc b/meta-oe/recipes-support/mysql/mariadb.inc index 73905b6..c2d2ecf 100644 --- a/meta-oe/recipes-support/mysql/mariadb.inc +++ b/meta-oe/recipes-support/mysql/mariadb.inc @@ -169,7 +169,7 @@ RDEPENDS_${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \ RDEPENDS_${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \ perl-module-file-basename perl-module-file-path perl-module-sys-hostname \ perl-module-file-copy perl-module-file-temp perl-module-posix \ -${PN}-client" +${PN}-client libdbi-perl" RDEPENDS_${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \ perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \ perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \ -- 1.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 2/2] imagemagick: depend on fftw not virtual/fftw
On Wed, Sep 21, 2016 at 4:41 AM, Khem Raj wrote: > On Sat, Sep 17, 2016 at 5:47 PM, Andreas Müller > wrote: >> Signed-off-by: Andreas Müller >> --- >> meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb >> b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb >> index adfcf55..74fe369 100644 >> --- a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb >> +++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb >> @@ -3,7 +3,7 @@ SECTION = "console/utils" >> LICENSE = "ImageMagick" >> LIC_FILES_CHKSUM = "file://LICENSE;md5=22d47a47bf252ca3ed7f71273b53612e" >> # FIXME: There are many more checked libraries. All should be added or >> explicitly disabled to get consistent results. >> -DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib virtual/fftw freetype" >> +DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype" > > have we integrated all of the fftw recipes ? > See first patch of this series Andreas -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 4/4] tslib: move recipe from oe-core
On 21 September 2016 at 12:37, Khem Raj wrote: > On Thu, Sep 15, 2016 at 3:19 PM, Paul Eggleton > wrote: >> On Fri, 16 Sep 2016 10:17:11 Paul Eggleton wrote: >>> On Thu, 01 Sep 2016 14:40:43 Maxin B. John wrote: >>> > Move tslib recipe from oe-core layer. >>> > >>> > Signed-off-by: Maxin B. John >>> > --- >>> > >>> > meta-gpe/recipes-graphics/tslib/tslib/ts.conf | 25 >>> > meta-gpe/recipes-graphics/tslib/tslib/tslib.sh | 8 >>> > meta-gpe/recipes-graphics/tslib/tslib_1.1.bb | 53 >>> > >>> > ++ 3 files changed, 86 insertions(+) >>> > >>> > create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/ts.conf >>> > create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/tslib.sh >>> > create mode 100644 meta-gpe/recipes-graphics/tslib/tslib_1.1.bb >>> > >>> > diff --git a/meta-gpe/recipes-graphics/tslib/tslib/ts.conf >>> > b/meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file mode 100644 >>> > index 000..1b0da93 >>> > --- /dev/null >>> > +++ b/meta-gpe/recipes-graphics/tslib/tslib/ts.conf >>> > @@ -0,0 +1,25 @@ >>> > +# Uncomment if you wish to use the linux input layer event interface >>> > +module_raw input >>> > + >>> > +# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d >>> > +# module_raw collie >>> > + >>> > +# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860 >>> > +# module_raw corgi >>> > + >>> > +# Uncomment if you're using a device with a UCB1200/1300/1400 TS >>> > interface >>> > +# module_raw ucb1x00 >>> > + >>> > +# Uncomment if you're using an HP iPaq h3600 or similar >>> > +# module_raw h3600 >>> > + >>> > +# Uncomment if you're using a Hitachi Webpad >>> > +# module_raw mk712 >>> > + >>> > +# Uncomment if you're using an IBM Arctic II >>> > +# module_raw arctic2 >>> > + >>> > +module pthres pmin=1 >>> > +module variance delta=30 >>> > +module dejitter delta=100 >>> > +module linear >>> > diff --git a/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh >>> > b/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh new file mode 100644 >>> > index 000..7068e8d >>> > --- /dev/null >>> > +++ b/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh >>> > @@ -0,0 +1,8 @@ >>> > +#!/bin/sh >>> > + >>> > +if [ -e /dev/input/touchscreen0 ]; then >>> > +TSLIB_TSDEVICE=/dev/input/touchscreen0 >>> > + >>> > +export TSLIB_TSDEVICE >>> > +fi >>> > + >>> > diff --git a/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb >>> > b/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file mode 100644 >>> > index 000..b0264c3 >>> > --- /dev/null >>> > +++ b/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb >>> > @@ -0,0 +1,53 @@ >>> > +SUMMARY = "An abstraction layer for touchscreen panel events" >>> > +DESCRIPTION = "Tslib is an abstraction layer for touchscreen panel \ >>> > +events, as well as a filter stack for the manipulation of those events. \ >>> > +Tslib is generally used on embedded devices to provide a common user \ >>> > +space interface to touchscreen functionality." >>> > +HOMEPAGE = "http://tslib.berlios.de/"; >>> > + >>> > +AUTHOR = "Russell King w/ plugins by Chris Larson et. al." >>> > +SECTION = "base" >>> > +LICENSE = "LGPLv2" >>> > +LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a" >>> > + >>> > +SRC_URI = >>> > "https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar. >>> > x >>> > z;downloadfilename=tslib-${PV}.tar.xz \ + file://ts.conf \ >>> > + file://tslib.sh \ >>> > +" >>> > + >>> > +SRC_URI[md5sum] = "14771f8607b341bb4b297819d37e837d" >>> > +SRC_URI[sha256sum] = >>> > "fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c" + >>> > +UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases"; >>> > + >>> > +inherit autotools pkgconfig >>> > + >>> > +EXTRA_OECONF = "--enable-shared --disable-h3600 --enable-input >>> > --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 >>> > --disable-ucb1x00" + >>> > +do_install_prepend() { >>> > + install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf >>> > +} >>> > + >>> > +do_install_append() { >>> > + install -d ${D}${sysconfdir}/profile.d/ >>> > + install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/ >>> > +} >>> > + >>> > +# People should consider using udev's /dev/input/touchscreen0 symlink >>> > +# instead of detect-stylus >>> > +#RDEPENDS_tslib-conf_weird-machine = "detect-stylus" >>> > +RPROVIDES_tslib-conf = "libts-0.0-conf" >>> > + >>> > +PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate" >>> > +DEBIAN_NOAUTONAME_tslib-conf = "1" >>> > +DEBIAN_NOAUTONAME_tslib-tests = "1" >>> > +DEBIAN_NOAUTONAME_tslib-calibrate = "1" >>> > + >>> > +RDEPENDS_${PN} = "tslib-conf" >>> > +RRECOMMENDS_${PN} = "pointercal" >>> > + >>> > +FILES_${PN}-dev += "${libdir}/ts/*.la" >>> > +FILES_tslib-conf = "${sysconfdir}/ts.conf >>> > ${sysconfdir}/profile.d/tslib.sh >>> > ${datadir}/tslib" +FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*" >>> > +FILES_tslib-calibrate += "${bindir}/ts_calibrate" >>> >
Re: [oe] [meta-filesystems][PATCH 1/2] xfsprogs: 3.2.3 -> 4.7.0
On 09/13/2016 10:49 PM, Martin Jansa wrote: On Mon, Sep 12, 2016 at 01:20:01AM -0700, Robert Yang wrote: The 3.2.3 doesn't work with kernel 4.8 any more. * Update remove-install-as-user.patch and xfsprogs-generate-crctable-which-is-moved-into-runti.patch * Remove drop-configure-check-for-aio.patch which was for uclibc, and uclibc is not supported by oe-core any more. Thanks for update (instead of blacklist), but there is one more issue when building with gold: Hi Martin, I also got those failures from my build which DISTRO_FEATURES doesn't include "ld-is-gold", my concern is why do you think this is related to gold? Thanks Wenzong | Building growfs | [CC] xfs_growfs.o | [LD] xfs_growfs | ../libxcmd/.libs/libxcmd.so: undefined reference to `blkid_new_probe_from_filename' | ../libxcmd/.libs/libxcmd.so: undefined reference to `blkid_topology_get_alignment_offset' | ../libxcmd/.libs/libxcmd.so: undefined reference to `blkid_probe_get_topology' | ../libxcmd/.libs/libxcmd.so: undefined reference to `blkid_do_fullprobe' | ../libxcmd/.libs/libxcmd.so: undefined reference to `blkid_topology_get_logical_sector_size' | ../libxcmd/.libs/libxcmd.so: undefined reference to `blkid_topology_get_optimal_io_size' | ../libxcmd/.libs/libxcmd.so: undefined reference to `blkid_probe_lookup_value' | ../libxcmd/.libs/libxcmd.so: undefined reference to `blkid_free_probe' | ../libxcmd/.libs/libxcmd.so: undefined reference to `blkid_topology_get_physical_sector_size' | ../libxcmd/.libs/libxcmd.so: undefined reference to `blkid_probe_enable_partitions' | ../libxcmd/.libs/libxcmd.so: undefined reference to `blkid_topology_get_minimum_io_size' | collect2: error: ld returned 1 exit status | make[2]: *** [xfs_growfs] Error 1 | make[1]: *** [growfs] Error 2 (LOCAL REV: NOT UPSTREAM) -- Sent to oe-devel on 20160912 Signed-off-by: Robert Yang --- .../files/drop-configure-check-for-aio.patch | 93 -- .../xfsprogs/files/remove-install-as-user.patch| 53 +--- ...nerate-crctable-which-is-moved-into-runti.patch | 40 -- .../recipes-utils/xfsprogs/xfsprogs_3.2.3.bb | 52 .../recipes-utils/xfsprogs/xfsprogs_4.7.0.bb | 51 5 files changed, 90 insertions(+), 199 deletions(-) delete mode 100644 meta-filesystems/recipes-utils/xfsprogs/files/drop-configure-check-for-aio.patch delete mode 100644 meta-filesystems/recipes-utils/xfsprogs/xfsprogs_3.2.3.bb create mode 100644 meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.7.0.bb diff --git a/meta-filesystems/recipes-utils/xfsprogs/files/drop-configure-check-for-aio.patch b/meta-filesystems/recipes-utils/xfsprogs/files/drop-configure-check-for-aio.patch deleted file mode 100644 index 7601095..000 --- a/meta-filesystems/recipes-utils/xfsprogs/files/drop-configure-check-for-aio.patch +++ /dev/null @@ -1,93 +0,0 @@ -xfsprogs: drop configure check for aio - -It's unused and breaks compilation with uclibc. - -Upstream-Status: Pending -Signed-off-by: Hongxu Jia - configure.ac | 6 +++--- - m4/Makefile | 1 - - m4/package_aiodev.m4 | 36 - 3 files changed, 3 insertions(+), 40 deletions(-) - -diff --git a/configure.ac b/configure.ac -index b968977..4e2a263 100644 a/configure.ac -+++ b/configure.ac -@@ -47,6 +47,9 @@ AC_ARG_ENABLE(lib64, - enable_lib64=yes) - AC_SUBST(enable_lib64) - -+librt="-lrt" -+AC_SUBST(librt) -+ - # - # If the user specified a libdir ending in lib64 do not append another - # 64 to the library names. -@@ -92,9 +95,6 @@ AC_PACKAGE_GLOBALS(xfsprogs) - AC_PACKAGE_UTILITIES(xfsprogs) - AC_MULTILIB($enable_lib64) - --AC_PACKAGE_NEED_AIO_H --AC_PACKAGE_NEED_LIO_LISTIO -- - AC_PACKAGE_NEED_UUID_H - AC_PACKAGE_NEED_UUIDCOMPARE - -diff --git a/m4/Makefile b/m4/Makefile -index 654a4fb..d282f0a 100644 a/m4/Makefile -+++ b/m4/Makefile -@@ -14,7 +14,6 @@ CONFIGURE = \ - - LSRCFILES = \ - manual_format.m4 \ -- package_aiodev.m4 \ - package_blkid.m4 \ - package_globals.m4 \ - package_libcdev.m4 \ -diff --git a/m4/package_aiodev.m4 b/m4/package_aiodev.m4 -index 490d9c8..8b13789 100644 a/m4/package_aiodev.m4 -+++ b/m4/package_aiodev.m4 -@@ -1,37 +1 @@ --# --# Check if we have a libaio.h installed --# --AC_DEFUN([AC_PACKAGE_WANT_AIO], -- [ AC_CHECK_HEADERS(libaio.h, [ have_aio=true ], [ have_aio=false ]) --AC_SUBST(have_aio) -- ]) -- --# --# Check if we have an aio.h installed --# --AC_DEFUN([AC_PACKAGE_NEED_AIO_H], -- [ AC_CHECK_HEADERS(aio.h) --if test $ac_cv_header_aio_h = no; then -- echo -- echo 'FATAL ERROR: could not find a valid header.' -- exit 1 --fi -- ]) -- --# --# Check if we have the lio_listio routine in either libc/librt --# --AC_DEFUN([AC_PACKAGE_NEED_LIO_LISTIO], -- [ AC_CHECK_FUNCS(lio_listio) --if test $ac_cv_func_lio_listio = yes; then -- librt="" --else -- AC_CHECK_LIB(rt, lio_listio,, [
Re: [oe] [PATCH 2/2] imagemagick: depend on fftw not virtual/fftw
On Sat, Sep 17, 2016 at 5:47 PM, Andreas Müller wrote: > Signed-off-by: Andreas Müller > --- > meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb > b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb > index adfcf55..74fe369 100644 > --- a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb > +++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb > @@ -3,7 +3,7 @@ SECTION = "console/utils" > LICENSE = "ImageMagick" > LIC_FILES_CHKSUM = "file://LICENSE;md5=22d47a47bf252ca3ed7f71273b53612e" > # FIXME: There are many more checked libraries. All should be added or > explicitly disabled to get consistent results. > -DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib virtual/fftw freetype" > +DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype" have we integrated all of the fftw recipes ? > > # Important note: tarballs for all patchsets within a version are deleted > when > # a new pachset is created. To avoid multiple patches for each patchset, try > to > -- > 2.5.5 > > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 4/4] tslib: move recipe from oe-core
On Thu, Sep 15, 2016 at 3:19 PM, Paul Eggleton wrote: > On Fri, 16 Sep 2016 10:17:11 Paul Eggleton wrote: >> On Thu, 01 Sep 2016 14:40:43 Maxin B. John wrote: >> > Move tslib recipe from oe-core layer. >> > >> > Signed-off-by: Maxin B. John >> > --- >> > >> > meta-gpe/recipes-graphics/tslib/tslib/ts.conf | 25 >> > meta-gpe/recipes-graphics/tslib/tslib/tslib.sh | 8 >> > meta-gpe/recipes-graphics/tslib/tslib_1.1.bb | 53 >> > >> > ++ 3 files changed, 86 insertions(+) >> > >> > create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/ts.conf >> > create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/tslib.sh >> > create mode 100644 meta-gpe/recipes-graphics/tslib/tslib_1.1.bb >> > >> > diff --git a/meta-gpe/recipes-graphics/tslib/tslib/ts.conf >> > b/meta-gpe/recipes-graphics/tslib/tslib/ts.conf new file mode 100644 >> > index 000..1b0da93 >> > --- /dev/null >> > +++ b/meta-gpe/recipes-graphics/tslib/tslib/ts.conf >> > @@ -0,0 +1,25 @@ >> > +# Uncomment if you wish to use the linux input layer event interface >> > +module_raw input >> > + >> > +# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d >> > +# module_raw collie >> > + >> > +# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860 >> > +# module_raw corgi >> > + >> > +# Uncomment if you're using a device with a UCB1200/1300/1400 TS >> > interface >> > +# module_raw ucb1x00 >> > + >> > +# Uncomment if you're using an HP iPaq h3600 or similar >> > +# module_raw h3600 >> > + >> > +# Uncomment if you're using a Hitachi Webpad >> > +# module_raw mk712 >> > + >> > +# Uncomment if you're using an IBM Arctic II >> > +# module_raw arctic2 >> > + >> > +module pthres pmin=1 >> > +module variance delta=30 >> > +module dejitter delta=100 >> > +module linear >> > diff --git a/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh >> > b/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh new file mode 100644 >> > index 000..7068e8d >> > --- /dev/null >> > +++ b/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh >> > @@ -0,0 +1,8 @@ >> > +#!/bin/sh >> > + >> > +if [ -e /dev/input/touchscreen0 ]; then >> > +TSLIB_TSDEVICE=/dev/input/touchscreen0 >> > + >> > +export TSLIB_TSDEVICE >> > +fi >> > + >> > diff --git a/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb >> > b/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb new file mode 100644 >> > index 000..b0264c3 >> > --- /dev/null >> > +++ b/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb >> > @@ -0,0 +1,53 @@ >> > +SUMMARY = "An abstraction layer for touchscreen panel events" >> > +DESCRIPTION = "Tslib is an abstraction layer for touchscreen panel \ >> > +events, as well as a filter stack for the manipulation of those events. \ >> > +Tslib is generally used on embedded devices to provide a common user \ >> > +space interface to touchscreen functionality." >> > +HOMEPAGE = "http://tslib.berlios.de/"; >> > + >> > +AUTHOR = "Russell King w/ plugins by Chris Larson et. al." >> > +SECTION = "base" >> > +LICENSE = "LGPLv2" >> > +LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a" >> > + >> > +SRC_URI = >> > "https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar. >> > x >> > z;downloadfilename=tslib-${PV}.tar.xz \ + file://ts.conf \ >> > + file://tslib.sh \ >> > +" >> > + >> > +SRC_URI[md5sum] = "14771f8607b341bb4b297819d37e837d" >> > +SRC_URI[sha256sum] = >> > "fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c" + >> > +UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases"; >> > + >> > +inherit autotools pkgconfig >> > + >> > +EXTRA_OECONF = "--enable-shared --disable-h3600 --enable-input >> > --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 >> > --disable-ucb1x00" + >> > +do_install_prepend() { >> > + install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf >> > +} >> > + >> > +do_install_append() { >> > + install -d ${D}${sysconfdir}/profile.d/ >> > + install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/ >> > +} >> > + >> > +# People should consider using udev's /dev/input/touchscreen0 symlink >> > +# instead of detect-stylus >> > +#RDEPENDS_tslib-conf_weird-machine = "detect-stylus" >> > +RPROVIDES_tslib-conf = "libts-0.0-conf" >> > + >> > +PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate" >> > +DEBIAN_NOAUTONAME_tslib-conf = "1" >> > +DEBIAN_NOAUTONAME_tslib-tests = "1" >> > +DEBIAN_NOAUTONAME_tslib-calibrate = "1" >> > + >> > +RDEPENDS_${PN} = "tslib-conf" >> > +RRECOMMENDS_${PN} = "pointercal" >> > + >> > +FILES_${PN}-dev += "${libdir}/ts/*.la" >> > +FILES_tslib-conf = "${sysconfdir}/ts.conf >> > ${sysconfdir}/profile.d/tslib.sh >> > ${datadir}/tslib" +FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*" >> > +FILES_tslib-calibrate += "${bindir}/ts_calibrate" >> > +FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print >> > ${bindir}/ts_print_raw ${bindir}/ts_test" >> >> So it seems like this has been blocked purely based on indenta
Re: [oe] [meta-networking][PATCH 1/4] libtalloc: fixes for deterministic builds
> -Original Message- > From: openembedded-devel-boun...@lists.openembedded.org > [mailto:openembedded-devel- > boun...@lists.openembedded.org] On Behalf Of Martin Jansa > Sent: Tuesday, September 20, 2016 4:14 PM > To: openembedded-devel > Subject: Re: [oe] [meta-networking][PATCH 1/4] libtalloc: fixes for > deterministic builds > > something like: > PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind," That's what I wanted as well, but there is not an implicit option "--without-pkg" when "--with-pkg" is added, we have to explicitly add both of them, which I thought may not be necessary. It's definitely more clear, so I will add them as suggested in v2. Thanks, Jackie > > > On Tue, Sep 20, 2016 at 9:32 AM, Huang, Jie (Jackie) < > jackie.hu...@windriver.com> wrote: > > > > > > > > -Original Message- > > > From: openembedded-devel-boun...@lists.openembedded.org [mailto: > > openembedded-devel- > > > boun...@lists.openembedded.org] On Behalf Of Martin Jansa > > > Sent: Tuesday, September 20, 2016 2:47 PM > > > To: openembedded-devel@lists.openembedded.org > > > Subject: Re: [oe] [meta-networking][PATCH 1/4] libtalloc: fixes for > > deterministic builds > > > > > > On Tue, Sep 20, 2016 at 01:42:23PM +0800, jackie.hu...@windriver.com > > wrote: > > > > From: Jackie Huang > > > > > > > > * Add configure option and PACKAGECONFIG for > > > > the following packages: > > > > - acl > > > > - attr > > > > - libaio > > > > - libcap > > > > - valgrind > > > > > > > > * They are all optional, so disable by default > > > > or control them based on DISTRO_FEATURES. > > > > > > > > * Remove the direct dependency on libaio > > > > > > > > Signed-off-by: Jackie Huang > > > > --- > > > > ...talloc-Add-configure-options-for-packages.patch | 124 > > + > > > > .../recipes-support/libtalloc/libtalloc_2.1.8.bb | 16 ++- > > > > 2 files changed, 137 insertions(+), 3 deletions(-) > > > > create mode 100644 meta-networking/recipes- > > support/libtalloc/libtalloc/talloc-Add-configure- > > > options-for-packages.patch > > > > > > > > diff --git a/meta-networking/recipes-support/libtalloc/libtalloc/ > > talloc-Add-configure-options-for- > > > packages.patch b/meta-networking/recipes-support/libtalloc/libtalloc/ > > talloc-Add-configure- > > > options-for-packages.patch > > > > new file mode 100644 > > > > index 000..d383df4 > > > > --- /dev/null > > > > +++ b/meta-networking/recipes-support/libtalloc/libtalloc/ > > talloc-Add-configure-options-for- > > > packages.patch > > > > @@ -0,0 +1,124 @@ > > > > +From 77fd757624c9b20073a7abefaca8382caa4fd376 Mon Sep 17 00:00:00 > > 2001 > > > > +From: Jackie Huang > > > > +Date: Wed, 14 Sep 2016 11:11:35 +0800 > > > > +Subject: [PATCH] talloc: Add configure options for packages > > > > + > > > > +Add configure options for the following packages: > > > > + - acl > > > > + - attr > > > > + - libaio > > > > + - libcap > > > > + - valgrind > > > > + > > > > +Upstream-Status: Inappropriate [oe deterministic build specific] > > > > + > > > > +Signed-off-by: Jackie Huang > > > > +--- > > > > + lib/replace/system/wscript_configure | 6 - > > > > + lib/replace/wscript | 43 > > +++- > > > > + wscript | 4 > > > > + 3 files changed, 46 insertions(+), 7 deletions(-) > > > > + > > > > +diff --git a/lib/replace/system/wscript_configure > > b/lib/replace/system/wscript_configure > > > > +index 2035474..10f9ae7 100644 > > > > +--- a/lib/replace/system/wscript_configure > > > > b/lib/replace/system/wscript_configure > > > > +@@ -1,6 +1,10 @@ > > > > + #!/usr/bin/env python > > > > + > > > > +-conf.CHECK_HEADERS('sys/capability.h') > > > > ++import Options > > > > ++ > > > > ++if Options.options.enable_libcap: > > > > ++conf.CHECK_HEADERS('sys/capability.h') > > > > ++ > > > > + conf.CHECK_FUNCS('getpwnam_r getpwuid_r getpwent_r') > > > > + > > > > + # solaris varients of getXXent_r > > > > +diff --git a/lib/replace/wscript b/lib/replace/wscript > > > > +index fc43e1a..a899dd2 100644 > > > > +--- a/lib/replace/wscript > > > > b/lib/replace/wscript > > > > +@@ -23,6 +23,22 @@ def set_options(opt): > > > > + opt.PRIVATE_EXTENSION_DEFAULT('') > > > > + opt.RECURSE('buildtools/wafsamba') > > > > + > > > > ++opt.add_option('--with-acl', > > > > ++ help=("Enable use of acl"), > > > > ++ action="store_true", dest='enable_acl', > > default=False) > > > > ++ > > > > ++opt.add_option('--with-attr', > > > > ++ help=("Enable use of attr"), > > > > ++ action="store_true", dest='enable_attr', > > default=False) > > > > ++ > > > > ++opt.add_option('--with-libaio', > > > > ++ help=("Enable use of libaio"), > > > > ++ action="store_true", dest='enable_libaio', > > default=False) > > > > ++ > > > > ++opt.add
[oe] [meta-oe][PATCH 3/3] lirc: Fix build with clang
Signed-off-by: Khem Raj --- ...crcd-Mark-local-inline-funtions-as-static.patch | 49 ++ meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb| 1 + 2 files changed, 50 insertions(+) create mode 100644 meta-oe/recipes-connectivity/lirc/lirc/0001-lircrcd-Mark-local-inline-funtions-as-static.patch diff --git a/meta-oe/recipes-connectivity/lirc/lirc/0001-lircrcd-Mark-local-inline-funtions-as-static.patch b/meta-oe/recipes-connectivity/lirc/lirc/0001-lircrcd-Mark-local-inline-funtions-as-static.patch new file mode 100644 index 000..e19d276 --- /dev/null +++ b/meta-oe/recipes-connectivity/lirc/lirc/0001-lircrcd-Mark-local-inline-funtions-as-static.patch @@ -0,0 +1,49 @@ +From c2be4543e4777c9e3d74b30326ba37b01917b0a9 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 25 Aug 2016 03:02:37 + +Subject: [PATCH] lircrcd: Mark local inline funtions as static + +These functions are not used anywhere outside +this file, so they should be converted into static + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + daemons/lircrcd.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/daemons/lircrcd.c b/daemons/lircrcd.c +index 55777cd..5ddc94d 100644 +--- a/daemons/lircrcd.c b/daemons/lircrcd.c +@@ -153,7 +153,7 @@ char *s; + /* A safer write(), since sockets might not write all but only some of the +bytes requested */ + +-inline int write_socket(int fd, char *buf, int len) ++static inline int write_socket(int fd, char *buf, int len) + { + int done, todo = len; + +@@ -167,7 +167,7 @@ inline int write_socket(int fd, char *buf, int len) + return (len); + } + +-inline int write_socket_len(int fd, char *buf) ++static inline int write_socket_len(int fd, char *buf) + { + int len; + +@@ -177,7 +177,7 @@ inline int write_socket_len(int fd, char *buf) + return (1); + } + +-inline int read_timeout(int fd, char *buf, int len, int timeout) ++static inline int read_timeout(int fd, char *buf, int len, int timeout) + { + fd_set fds; + struct timeval tv; +-- +1.9.1 + diff --git a/meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb b/meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb index 7162fcd..1726192 100644 --- a/meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb +++ b/meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb @@ -1,6 +1,7 @@ require lirc.inc SRC_URI += " \ +file://0001-lircrcd-Mark-local-inline-funtions-as-static.patch \ file://lircd.service \ file://lircd.init \ file://lircexec.init \ -- 2.9.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 2/3] gpsd: Fix build with musl
Signed-off-by: Khem Raj --- .../gpsd-3.14/0001-include-sys-ttydefaults.h.patch | 34 ++ meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-include-sys-ttydefaults.h.patch diff --git a/meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-include-sys-ttydefaults.h.patch b/meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-include-sys-ttydefaults.h.patch new file mode 100644 index 000..b27c671 --- /dev/null +++ b/meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-include-sys-ttydefaults.h.patch @@ -0,0 +1,34 @@ +From 543f79222520cc6ab65d20f9fa356dac5c848e3b Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 17 Aug 2016 02:16:12 + +Subject: [PATCH] include sys/ttydefaults.h + +This is needed for CTRL definition, as exposed by musl on glibc +this include file gets pulled indirectly. + +/usr/src/debug/gpsd/3.14-r0/gpsd-3.14/gpsmon.c:605: undefined reference to `CTRL' +clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation) +scons: *** [gpsmon] Error 1 + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + gpsmon.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gpsmon.c b/gpsmon.c +index bee05b8..daed818 100644 +--- a/gpsmon.c b/gpsmon.c +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + #include + #ifndef S_SPLINT_S + #include +-- +1.8.3.1 + diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb index 6158e97..4ff6d91 100644 --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb @@ -17,6 +17,7 @@ SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \ file://0003-Whoops-check-for-C11-not-for-not-C11-in-stdatomic.h-.patch \ file://0001-Include-stdatomic.h-only-in-C-mode.patch \ file://0001-libgpsd-core-Fix-issue-with-ACTIVATE-hook-not-being-.patch \ +file://0001-include-sys-ttydefaults.h.patch \ file://gpsd-default \ file://gpsd \ file://60-gpsd.rules \ -- 2.9.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 1/3] net-snmp: Fix build issue found with musl
limits.h is needed for PATH_MAX and NAME_MAX Signed-off-by: Khem Raj --- .../0001-get_pid_from_inode-Include-limit.h.patch | 29 +++ .../recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 33 +++--- 2 files changed, 46 insertions(+), 16 deletions(-) create mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/0001-get_pid_from_inode-Include-limit.h.patch diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-get_pid_from_inode-Include-limit.h.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-get_pid_from_inode-Include-limit.h.patch new file mode 100644 index 000..60ce809 --- /dev/null +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-get_pid_from_inode-Include-limit.h.patch @@ -0,0 +1,29 @@ +From 7136d593ba96b64537069637c328bc65e1b66b2d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 22 Jul 2016 18:34:39 + +Subject: [PATCH] get_pid_from_inode: Include limit.h + +PATH_MAX and NAME_MAX are required by this file + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + agent/mibgroup/util_funcs/get_pid_from_inode.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/agent/mibgroup/util_funcs/get_pid_from_inode.c b/agent/mibgroup/util_funcs/get_pid_from_inode.c +index 8e157ae..a494ec7 100644 +--- a/agent/mibgroup/util_funcs/get_pid_from_inode.c b/agent/mibgroup/util_funcs/get_pid_from_inode.c +@@ -5,6 +5,7 @@ + #include + + #include ++#include + #include + #if HAVE_STDLIB_H + #include +-- +1.8.3.1 + diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb index 4ad5b21..1997d5c 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb @@ -8,22 +8,23 @@ LIC_FILES_CHKSUM = "file://README;beginline=3;endline=8;md5=7f7f00ba639ac8e8deb5 DEPENDS = "openssl libnl pciutils" SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \ -file://init \ -file://snmpd.conf \ -file://snmptrapd.conf \ -file://systemd-support.patch \ -file://snmpd.service \ -file://snmptrapd.service \ -file://net-snmp-add-knob-whether-nlist.h-are-checked.patch \ -file://fix-libtool-finish.patch \ -file://net-snmp-testing-add-the-output-format-for-ptest.patch \ -file://run-ptest \ -file://dont-return-incompletely-parsed-varbinds.patch \ -file://0001-config_os_headers-Error-Fix.patch \ -file://0001-config_os_libs2-Error-Fix.patch \ -file://0001-snmplib-keytools.c-Don-t-check-for-return-from-EVP_M.patch \ -file://net-snmp-agentx-crash.patch \ -" + file://init \ + file://snmpd.conf \ + file://snmptrapd.conf \ + file://systemd-support.patch \ + file://snmpd.service \ + file://snmptrapd.service \ + file://net-snmp-add-knob-whether-nlist.h-are-checked.patch \ + file://fix-libtool-finish.patch \ + file://net-snmp-testing-add-the-output-format-for-ptest.patch \ + file://run-ptest \ + file://dont-return-incompletely-parsed-varbinds.patch \ + file://0001-config_os_headers-Error-Fix.patch \ + file://0001-config_os_libs2-Error-Fix.patch \ + file://0001-snmplib-keytools.c-Don-t-check-for-return-from-EVP_M.patch \ + file://net-snmp-agentx-crash.patch \ + file://0001-get_pid_from_inode-Include-limit.h.patch \ + " SRC_URI[md5sum] = "9f682bd70c717efdd9f15b686d07baee" SRC_URI[sha256sum] = "e8dfc79b6539b71a6ff335746ce63d2da2239062ad41872fff4354cafed07a3e" -- 2.9.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-qt5][PATCH] packagegroup-qt5-webengine.bb: Includes qtwebengine, plugins and examples in one convenient packagegroup
qtwebengine qmlplugins and examples and qtquickcontrols qmlplugins Signed-off-by: Ann Thornton --- recipes-qt/packagegroups/packagegroup-qt5-webengine.bb | 14 ++ 1 file changed, 14 insertions(+) create mode 100755 recipes-qt/packagegroups/packagegroup-qt5-webengine.bb diff --git a/recipes-qt/packagegroups/packagegroup-qt5-webengine.bb b/recipes-qt/packagegroups/packagegroup-qt5-webengine.bb new file mode 100755 index 000..5d09efe --- /dev/null +++ b/recipes-qt/packagegroups/packagegroup-qt5-webengine.bb @@ -0,0 +1,14 @@ +# Copyright (C) 2015 Freescale Semiconductor +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Package group for Qt5 webengine and examples" +LICENSE = "MIT" + +inherit packagegroup + +RDEPENDS_${PN} += " \ +qtwebengine \ +qtwebengine-qmlplugins \ +qtquickcontrols-qmlplugins \ +qtwebengine-examples \ +" -- 1.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-qt5][PATCH] packagegroup-qt5-demos.bb: Includes some interesting Qt5 demos. This packagegroups puts together some interesting Qt5 demos making it easier to add them to an image.
Signed-off-by: Ann Thornton --- recipes-qt/packagegroups/packagegroup-qt5-demos.bb | 22 ++ 1 file changed, 22 insertions(+) create mode 100755 recipes-qt/packagegroups/packagegroup-qt5-demos.bb diff --git a/recipes-qt/packagegroups/packagegroup-qt5-demos.bb b/recipes-qt/packagegroups/packagegroup-qt5-demos.bb new file mode 100755 index 000..436ba03 --- /dev/null +++ b/recipes-qt/packagegroups/packagegroup-qt5-demos.bb @@ -0,0 +1,22 @@ +# Copyright (C) 2014 Freescale Semiconductor +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Package group for Qt5 demos" +LICENSE = "MIT" + +inherit packagegroup + +RDEPENDS_${PN} += " \ +qtbase-examples \ +qtdeclarative-examples \ +qt3d-examples \ +qtsmarthome \ +qt5ledscreen \ +quitbattery \ +qt5everywheredemo \ +qt5nmapcarousedemo \ +qt5nmapper \ +cinematicexperience \ +quitindicators \ +qt5-demo-extrafiles \ + " -- 1.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-multimedia][PATCH] rtmpdump: fix QA warning for GNU_HASH
The package wasn't actually using the OE CFLAGS and LDFLAGS. These must be passed as XCFLAGS and XLDFLAGS to make. Signed-off-by: Carlos Rafael Giani --- meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb b/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb index a1e6502..c5513b0 100644 --- a/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb +++ b/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb @@ -17,6 +17,6 @@ S = "${WORKDIR}/git" inherit autotools-brokensep EXTRA_OEMAKE = " \ -CC='${CC}' LD='${LD} ${STAGING_LIBDIR}' \ +CC='${CC}' LD='${LD} ${STAGING_LIBDIR}' XCFLAGS='${CFLAGS}' XLDFLAGS='${LDFLAGS}' \ SYS=posix INC=-I=/usr/include DESTDIR=${D} \ prefix=${prefix} libdir=${libdir} incdir=${includedir}/librtmp bindir=${bindir} mandir=${mandir}" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-multimedia][PATCH] cdparanoia: fix QA warning for GNU_HASH
Patch Makefile.in files to use LDFLAGS when linking the shared objects Signed-off-by: Carlos Rafael Giani --- .../cdparanoia/cdparanoia_10.2.bb | 1 + .../0003-Fix-missing-shared-object-LDFLAGS.patch | 42 ++ 2 files changed, 43 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/cdparanoia/files/0003-Fix-missing-shared-object-LDFLAGS.patch diff --git a/meta-multimedia/recipes-multimedia/cdparanoia/cdparanoia_10.2.bb b/meta-multimedia/recipes-multimedia/cdparanoia/cdparanoia_10.2.bb index 86ba527..ba368a2 100644 --- a/meta-multimedia/recipes-multimedia/cdparanoia/cdparanoia_10.2.bb +++ b/meta-multimedia/recipes-multimedia/cdparanoia/cdparanoia_10.2.bb @@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING-LGPL;md5=d370feaa1c9edcdbd29ca27ea3d2304d" SRC_URI = "http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-${PV}.src.tgz \ file://0001-Use-DESTDIR-in-install-Makefile-rule.patch \ file://0002-interface-remove-C-reserved-keyword.patch \ + file://0003-Fix-missing-shared-object-LDFLAGS.patch \ " SRC_URI[md5sum] = "b304bbe8ab63373924a744eac9ebc652" SRC_URI[sha256sum] = "005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df" diff --git a/meta-multimedia/recipes-multimedia/cdparanoia/files/0003-Fix-missing-shared-object-LDFLAGS.patch b/meta-multimedia/recipes-multimedia/cdparanoia/files/0003-Fix-missing-shared-object-LDFLAGS.patch new file mode 100644 index 000..5298a3d --- /dev/null +++ b/meta-multimedia/recipes-multimedia/cdparanoia/files/0003-Fix-missing-shared-object-LDFLAGS.patch @@ -0,0 +1,42 @@ +From c0b77aeb2127da821ae1c03c2f98aaf4db65277d Mon Sep 17 00:00:00 2001 +From: Carlos Rafael Giani +Date: Sat, 10 Sep 2016 21:15:18 +0200 +Subject: [PATCH] Fix missing shared object LDFLAGS + +Upstream-Status: Inappropriate (the upstream project is dead) + +Signed-off-by: Carlos Rafael Giani +--- + interface/Makefile.in | 2 +- + paranoia/Makefile.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/interface/Makefile.in b/interface/Makefile.in +index 40c6098..020bf2a 100644 +--- a/interface/Makefile.in b/interface/Makefile.in +@@ -46,7 +46,7 @@ libcdda_interface.a: $(OFILES) + $(RANLIB) libcdda_interface.a + + libcdda_interface.so: $(OFILES) +- $(CC) -fpic -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(OFILES) $(LIBS) ++ $(CC) -fpic -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(LDFLAGS) $(OFILES) $(LIBS) + [ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so.0 + [ -e libcdda_interface.so ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so + +diff --git a/paranoia/Makefile.in b/paranoia/Makefile.in +index 89d0328..ffb4e70 100644 +--- a/paranoia/Makefile.in b/paranoia/Makefile.in +@@ -44,7 +44,7 @@ libcdda_paranoia.a: $(OFILES) + $(RANLIB) libcdda_paranoia.a + + libcdda_paranoia.so: $(OFILES) +- $(CC) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(OFILES) -L ../interface -lcdda_interface ++ $(CC) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(LDFLAGS) $(OFILES) -L ../interface -lcdda_interface + [ -e libcdda_paranoia.so.0 ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so.0 + [ -e libcdda_paranoia.so ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so + +-- +2.7.4 + -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-networking][PATCH 1/4] libtalloc: fixes for deterministic builds
something like: PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind," On Tue, Sep 20, 2016 at 9:32 AM, Huang, Jie (Jackie) < jackie.hu...@windriver.com> wrote: > > > > -Original Message- > > From: openembedded-devel-boun...@lists.openembedded.org [mailto: > openembedded-devel- > > boun...@lists.openembedded.org] On Behalf Of Martin Jansa > > Sent: Tuesday, September 20, 2016 2:47 PM > > To: openembedded-devel@lists.openembedded.org > > Subject: Re: [oe] [meta-networking][PATCH 1/4] libtalloc: fixes for > deterministic builds > > > > On Tue, Sep 20, 2016 at 01:42:23PM +0800, jackie.hu...@windriver.com > wrote: > > > From: Jackie Huang > > > > > > * Add configure option and PACKAGECONFIG for > > > the following packages: > > > - acl > > > - attr > > > - libaio > > > - libcap > > > - valgrind > > > > > > * They are all optional, so disable by default > > > or control them based on DISTRO_FEATURES. > > > > > > * Remove the direct dependency on libaio > > > > > > Signed-off-by: Jackie Huang > > > --- > > > ...talloc-Add-configure-options-for-packages.patch | 124 > + > > > .../recipes-support/libtalloc/libtalloc_2.1.8.bb | 16 ++- > > > 2 files changed, 137 insertions(+), 3 deletions(-) > > > create mode 100644 meta-networking/recipes- > support/libtalloc/libtalloc/talloc-Add-configure- > > options-for-packages.patch > > > > > > diff --git a/meta-networking/recipes-support/libtalloc/libtalloc/ > talloc-Add-configure-options-for- > > packages.patch b/meta-networking/recipes-support/libtalloc/libtalloc/ > talloc-Add-configure- > > options-for-packages.patch > > > new file mode 100644 > > > index 000..d383df4 > > > --- /dev/null > > > +++ b/meta-networking/recipes-support/libtalloc/libtalloc/ > talloc-Add-configure-options-for- > > packages.patch > > > @@ -0,0 +1,124 @@ > > > +From 77fd757624c9b20073a7abefaca8382caa4fd376 Mon Sep 17 00:00:00 > 2001 > > > +From: Jackie Huang > > > +Date: Wed, 14 Sep 2016 11:11:35 +0800 > > > +Subject: [PATCH] talloc: Add configure options for packages > > > + > > > +Add configure options for the following packages: > > > + - acl > > > + - attr > > > + - libaio > > > + - libcap > > > + - valgrind > > > + > > > +Upstream-Status: Inappropriate [oe deterministic build specific] > > > + > > > +Signed-off-by: Jackie Huang > > > +--- > > > + lib/replace/system/wscript_configure | 6 - > > > + lib/replace/wscript | 43 > +++- > > > + wscript | 4 > > > + 3 files changed, 46 insertions(+), 7 deletions(-) > > > + > > > +diff --git a/lib/replace/system/wscript_configure > b/lib/replace/system/wscript_configure > > > +index 2035474..10f9ae7 100644 > > > +--- a/lib/replace/system/wscript_configure > > > b/lib/replace/system/wscript_configure > > > +@@ -1,6 +1,10 @@ > > > + #!/usr/bin/env python > > > + > > > +-conf.CHECK_HEADERS('sys/capability.h') > > > ++import Options > > > ++ > > > ++if Options.options.enable_libcap: > > > ++conf.CHECK_HEADERS('sys/capability.h') > > > ++ > > > + conf.CHECK_FUNCS('getpwnam_r getpwuid_r getpwent_r') > > > + > > > + # solaris varients of getXXent_r > > > +diff --git a/lib/replace/wscript b/lib/replace/wscript > > > +index fc43e1a..a899dd2 100644 > > > +--- a/lib/replace/wscript > > > b/lib/replace/wscript > > > +@@ -23,6 +23,22 @@ def set_options(opt): > > > + opt.PRIVATE_EXTENSION_DEFAULT('') > > > + opt.RECURSE('buildtools/wafsamba') > > > + > > > ++opt.add_option('--with-acl', > > > ++ help=("Enable use of acl"), > > > ++ action="store_true", dest='enable_acl', > default=False) > > > ++ > > > ++opt.add_option('--with-attr', > > > ++ help=("Enable use of attr"), > > > ++ action="store_true", dest='enable_attr', > default=False) > > > ++ > > > ++opt.add_option('--with-libaio', > > > ++ help=("Enable use of libaio"), > > > ++ action="store_true", dest='enable_libaio', > default=False) > > > ++ > > > ++opt.add_option('--with-libcap', > > > ++ help=("Enable use of libcap"), > > > ++ action="store_true", dest='enable_libcap', > default=False) > > > ++ > > > + @Utils.run_once > > > + def configure(conf): > > > + conf.RECURSE('buildtools/wafsamba') > > > +@@ -32,12 +48,25 @@ def configure(conf): > > > + conf.DEFINE('HAVE_LIBREPLACE', 1) > > > + conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1) > > > + > > > +-conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h > compat.h') > > > +-conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h > dustat.h') > > > ++conf.CHECK_HEADERS('linux/types.h crypt.h locale.h compat.h') > > > ++conf.CHECK_HEADERS('compat.h ctype.h dustat.h') > > > + conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h > langinfo.h') > > > +-conf.CHECK_HEA
Re: [oe] [meta-networking][PATCH 1/4] libtalloc: fixes for deterministic builds
> -Original Message- > From: openembedded-devel-boun...@lists.openembedded.org > [mailto:openembedded-devel- > boun...@lists.openembedded.org] On Behalf Of Martin Jansa > Sent: Tuesday, September 20, 2016 2:47 PM > To: openembedded-devel@lists.openembedded.org > Subject: Re: [oe] [meta-networking][PATCH 1/4] libtalloc: fixes for > deterministic builds > > On Tue, Sep 20, 2016 at 01:42:23PM +0800, jackie.hu...@windriver.com wrote: > > From: Jackie Huang > > > > * Add configure option and PACKAGECONFIG for > > the following packages: > > - acl > > - attr > > - libaio > > - libcap > > - valgrind > > > > * They are all optional, so disable by default > > or control them based on DISTRO_FEATURES. > > > > * Remove the direct dependency on libaio > > > > Signed-off-by: Jackie Huang > > --- > > ...talloc-Add-configure-options-for-packages.patch | 124 > > + > > .../recipes-support/libtalloc/libtalloc_2.1.8.bb | 16 ++- > > 2 files changed, 137 insertions(+), 3 deletions(-) > > create mode 100644 > > meta-networking/recipes-support/libtalloc/libtalloc/talloc-Add-configure- > options-for-packages.patch > > > > diff --git > > a/meta-networking/recipes-support/libtalloc/libtalloc/talloc-Add-configure-options-for- > packages.patch > b/meta-networking/recipes-support/libtalloc/libtalloc/talloc-Add-configure- > options-for-packages.patch > > new file mode 100644 > > index 000..d383df4 > > --- /dev/null > > +++ > > b/meta-networking/recipes-support/libtalloc/libtalloc/talloc-Add-configure-options-for- > packages.patch > > @@ -0,0 +1,124 @@ > > +From 77fd757624c9b20073a7abefaca8382caa4fd376 Mon Sep 17 00:00:00 2001 > > +From: Jackie Huang > > +Date: Wed, 14 Sep 2016 11:11:35 +0800 > > +Subject: [PATCH] talloc: Add configure options for packages > > + > > +Add configure options for the following packages: > > + - acl > > + - attr > > + - libaio > > + - libcap > > + - valgrind > > + > > +Upstream-Status: Inappropriate [oe deterministic build specific] > > + > > +Signed-off-by: Jackie Huang > > +--- > > + lib/replace/system/wscript_configure | 6 - > > + lib/replace/wscript | 43 > > +++- > > + wscript | 4 > > + 3 files changed, 46 insertions(+), 7 deletions(-) > > + > > +diff --git a/lib/replace/system/wscript_configure > > b/lib/replace/system/wscript_configure > > +index 2035474..10f9ae7 100644 > > +--- a/lib/replace/system/wscript_configure > > b/lib/replace/system/wscript_configure > > +@@ -1,6 +1,10 @@ > > + #!/usr/bin/env python > > + > > +-conf.CHECK_HEADERS('sys/capability.h') > > ++import Options > > ++ > > ++if Options.options.enable_libcap: > > ++conf.CHECK_HEADERS('sys/capability.h') > > ++ > > + conf.CHECK_FUNCS('getpwnam_r getpwuid_r getpwent_r') > > + > > + # solaris varients of getXXent_r > > +diff --git a/lib/replace/wscript b/lib/replace/wscript > > +index fc43e1a..a899dd2 100644 > > +--- a/lib/replace/wscript > > b/lib/replace/wscript > > +@@ -23,6 +23,22 @@ def set_options(opt): > > + opt.PRIVATE_EXTENSION_DEFAULT('') > > + opt.RECURSE('buildtools/wafsamba') > > + > > ++opt.add_option('--with-acl', > > ++ help=("Enable use of acl"), > > ++ action="store_true", dest='enable_acl', default=False) > > ++ > > ++opt.add_option('--with-attr', > > ++ help=("Enable use of attr"), > > ++ action="store_true", dest='enable_attr', default=False) > > ++ > > ++opt.add_option('--with-libaio', > > ++ help=("Enable use of libaio"), > > ++ action="store_true", dest='enable_libaio', > > default=False) > > ++ > > ++opt.add_option('--with-libcap', > > ++ help=("Enable use of libcap"), > > ++ action="store_true", dest='enable_libcap', > > default=False) > > ++ > > + @Utils.run_once > > + def configure(conf): > > + conf.RECURSE('buildtools/wafsamba') > > +@@ -32,12 +48,25 @@ def configure(conf): > > + conf.DEFINE('HAVE_LIBREPLACE', 1) > > + conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1) > > + > > +-conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h > > compat.h') > > +-conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h > > dustat.h') > > ++conf.CHECK_HEADERS('linux/types.h crypt.h locale.h compat.h') > > ++conf.CHECK_HEADERS('compat.h ctype.h dustat.h') > > + conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h > > langinfo.h') > > +-conf.CHECK_HEADERS('libaio.h locale.h ndir.h pwd.h') > > +-conf.CHECK_HEADERS('shadow.h sys/acl.h') > > +-conf.CHECK_HEADERS('sys/attributes.h attr/attributes.h > > sys/capability.h sys/dir.h sys/epoll.h') > > ++conf.CHECK_HEADERS('locale.h ndir.h pwd.h') > > ++conf.CHECK_HEADERS('shadow.h') > > ++conf.CHECK_HEADERS('sys/attributes.h sys/dir.h sys/epoll.h') > > ++ > > ++if O