[oe] [meta-oe][PATCH] libpeas: upgrade 1.24.1 -> 1.25.3

2020-02-19 Thread Wang Mingyu
Signed-off-by: Wang Mingyu 
---
 .../libpeas/{libpeas_1.24.1.bb => libpeas_1.25.3.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-gnome/libpeas/{libpeas_1.24.1.bb => libpeas_1.25.3.bb} 
(80%)

diff --git a/meta-oe/recipes-gnome/libpeas/libpeas_1.24.1.bb 
b/meta-oe/recipes-gnome/libpeas/libpeas_1.25.3.bb
similarity index 80%
rename from meta-oe/recipes-gnome/libpeas/libpeas_1.24.1.bb
rename to meta-oe/recipes-gnome/libpeas/libpeas_1.25.3.bb
index 6c8e0e0bf..57419a427 100644
--- a/meta-oe/recipes-gnome/libpeas/libpeas_1.24.1.bb
+++ b/meta-oe/recipes-gnome/libpeas/libpeas_1.25.3.bb
@@ -10,8 +10,8 @@ GTKDOC_MESON_OPTION = "gtk_doc"
 
 inherit gnomebase gobject-introspection gtk-doc gtk-icon-cache
 
-SRC_URI[archive.md5sum] = "bbecf334a7333d0a5d4d655ba38be9b4"
-SRC_URI[archive.sha256sum] = 
"9c3acf7a567cbb4f8bf62b096e013f12c3911cc850c3fa9900cbd5aa4f6ec284"
+SRC_URI[archive.md5sum] = "08bfff8f9688cf630dcb0f950617661f"
+SRC_URI[archive.sha256sum] = 
"1c9bbb29740c29cd6e1dd0c9964722ff08cd5e6f68f1b5c135bc391a6ce97639"
 
 PACKAGECONFIG[python3] = "-Dpython3=true,-Dpython3=false,python3-pygobject"
 
-- 
2.17.1



-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] mraa: upgrade 2.0.0 -> 2.1.0

2020-02-19 Thread Wang Mingyu
Signed-off-by: Wang Mingyu 
---
 meta-oe/recipes-extended/mraa/mraa_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb 
b/meta-oe/recipes-extended/mraa/mraa_git.bb
index 6d42c6771..745e4e3b9 100644
--- a/meta-oe/recipes-extended/mraa/mraa_git.bb
+++ b/meta-oe/recipes-extended/mraa/mraa_git.bb
@@ -3,10 +3,10 @@ HOMEPAGE = "https://github.com/intel-iot-devkit/mraa;
 SECTION = "libs"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=4b92a3b497d7943042a6db40c088c3f2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=91e7de50a8d3cf01057f318d72460acd"
 
-SRCREV = "967585c9ea0e1a8818d2172d2395d8502f6180a2"
-PV = "2.0.0+git${SRCPV}"
+SRCREV = "e15ce6fbc76148ba8835adc92196b0d0a3f245e7"
+PV = "2.1.0+git${SRCPV}"
 
 SRC_URI = "git://github.com/intel-iot-devkit/${BPN}.git;protocol=http \
"
-- 
2.17.1



-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] makedumpfile: upgrade 1.6.6 -> 1.6.7

2020-02-19 Thread Wang Mingyu
refresh the following patch:
0001-makedumpfile-replace-hardcode-CFLAGS.patch

0003-build-Delete-libebl-from-required-libraries-during-l.patch
removed since it is included in 1.6.7

Signed-off-by: Wang Mingyu 
---
 ...makedumpfile-replace-hardcode-CFLAGS.patch |  6 ++--
 ...ebl-from-required-libraries-during-l.patch | 34 ---
 ...umpfile_1.6.6.bb => makedumpfile_1.6.7.bb} |  5 ++-
 3 files changed, 5 insertions(+), 40 deletions(-)
 delete mode 100644 
meta-oe/recipes-kernel/makedumpfile/makedumpfile/0003-build-Delete-libebl-from-required-libraries-during-l.patch
 rename meta-oe/recipes-kernel/makedumpfile/{makedumpfile_1.6.6.bb => 
makedumpfile_1.6.7.bb} (88%)

diff --git 
a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch
 
b/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch
index c0f82f321..ff093a72b 100644
--- 
a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch
+++ 
b/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch
@@ -83,7 +83,7 @@ index 1fdb628..5dce589 100644
  OBJ_PART=$(patsubst %.c,%.o,$(SRC_PART))
 @@ -52,17 +53,17 @@ OBJ_ARCH=$(patsubst %.c,%.o,$(SRC_ARCH))
  
- LIBS = -ldw -lbz2 -lebl -ldl -lelf -lz
+ LIBS = -ldw -lbz2 -ldl -lelf -lz
  ifneq ($(LINKTYPE), dynamic)
 -LIBS := -static $(LIBS)
 +LIBS := $(LIBS)
@@ -102,7 +102,7 @@ index 1fdb628..5dce589 100644
  endif
  
  LIBS := -lpthread $(LIBS)
-@@ -82,14 +83,14 @@ LIBS := $(LIBS) $(call try-run,\
+@@ -87,14 +88,14 @@ LIBS := $(LIBS) $(call try-run,\
  all: makedumpfile
  
  $(OBJ_PART): $(SRC_PART)
@@ -119,7 +119,7 @@ index 1fdb628..5dce589 100644
echo .TH MAKEDUMPFILE 8 \"$(DATE)\" \"makedumpfile v$(VERSION)\" 
\"Linux System Administrator\'s Manual\" > temp.8
grep -v "^.TH MAKEDUMPFILE 8" $(VPATH)makedumpfile.8 >> temp.8
mv temp.8 makedumpfile.8
-@@ -100,7 +101,7 @@ makedumpfile: $(SRC_BASE) $(OBJ_PART) $(OBJ_ARCH)
+@@ -105,7 +106,7 @@ makedumpfile: $(SRC_BASE) $(OBJ_PART) $(OBJ_ARCH)
gzip -c ./makedumpfile.conf.5 > ./makedumpfile.conf.5.gz
  
  eppic_makedumpfile.so: extension_eppic.c
diff --git 
a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0003-build-Delete-libebl-from-required-libraries-during-l.patch
 
b/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0003-build-Delete-libebl-from-required-libraries-during-l.patch
deleted file mode 100644
index 40956434d..0
--- 
a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0003-build-Delete-libebl-from-required-libraries-during-l.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 460851c15e807d1a2515dfb985423f8a6624f4aa Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Wed, 8 Jan 2020 19:14:19 -0800
-Subject: [PATCH 3/3] build: Delete libebl from required libraries during link
-
-This is a static library from elfutils, which is not made available when
-static archives are disabled, this can result in link failures e.g.
-
-aarch64-yoe-linux-musl/9.2.0/ld: cannot find -lebl
-collect2: error: ld returned 1 exit status
-Makefile:93: recipe for target 'makedumpfile' failed
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj 

- Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index 5dce589..c3a4054 100644
 a/Makefile
-+++ b/Makefile
-@@ -51,7 +51,7 @@ OBJ_PART=$(patsubst %.c,%.o,$(SRC_PART))
- SRC_ARCH = arch/arm.c arch/arm64.c arch/x86.c arch/x86_64.c arch/ia64.c 
arch/ppc64.c arch/s390x.c arch/ppc.c arch/sparc64.c
- OBJ_ARCH=$(patsubst %.c,%.o,$(SRC_ARCH))
- 
--LIBS = -ldw -lbz2 -lebl -ldl -lelf -lz
-+LIBS = -ldw -lbz2 -ldl -lelf -lz
- ifneq ($(LINKTYPE), dynamic)
- LIBS := $(LIBS)
- endif
--- 
-2.24.1
-
diff --git a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.6.bb 
b/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.7.bb
similarity index 88%
rename from meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.6.bb
rename to meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.7.bb
index 6924e39d6..8d1676a4c 100644
--- a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.6.bb
+++ b/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.7.bb
@@ -24,10 +24,9 @@ SRC_URI = "\
 ${SOURCEFORGE_MIRROR}/makedumpfile/${BPN}-${PV}.tar.gz \
 file://0001-makedumpfile-replace-hardcode-CFLAGS.patch \
 file://0002-mem_section-Support-only-46-bit-for-MAX_PHYSMEM_BITS.patch \
-file://0003-build-Delete-libebl-from-required-libraries-during-l.patch \
 "
-SRC_URI[md5sum] = "6fd632b97ad78d9a0a3b0f0989094064"
-SRC_URI[sha256sum] = 
"d007eec05cb14f0155f2d06a0d4dc70d321dbb2aec65fccdce953145c8230324"
+SRC_URI[md5sum] = "808ef840ca49ca6bfde77c097cf429f5"
+SRC_URI[sha256sum] = 
"e702fbdf62b4cd829a76e46f3e24eb3fc7501918b85ebdcd8baef4f53d6ee2c8"
 
 UPSTREAM_CHECK_URI = 
"https://sourceforge.net/projects/makedumpfile/files/makedumpfile/;
 UPSTREAM_CHECK_REGEX = "makedumpfile/(?P\d+(\.\d+)+)/"
-- 
2.17.1




[oe] [meta-networking][PATCH] net-snmp: Add pkgconfig file support

2020-02-19 Thread Jeremy A. Puhlman
From: Jeremy Puhlman 

Signed-off-by: Jeremy A. Puhlman 
---
 ...upport-for-building-applications-and.patch | 170 ++
 .../net-snmp/net-snmp_5.8.bb  |   1 +
 2 files changed, 171 insertions(+)
 create mode 100644 
meta-networking/recipes-protocols/net-snmp/net-snmp/0001-Add-pkg-config-support-for-building-applications-and.patch

diff --git 
a/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-Add-pkg-config-support-for-building-applications-and.patch
 
b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-Add-pkg-config-support-for-building-applications-and.patch
new file mode 100644
index 0..6cb9588eb
--- /dev/null
+++ 
b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-Add-pkg-config-support-for-building-applications-and.patch
@@ -0,0 +1,170 @@
+From aea8c2f0bf8004c8da8ca9acb04ab07798cd8068 Mon Sep 17 00:00:00 2001
+From: Hugh McMaster 
+Date: Wed, 3 Apr 2019 21:36:03 +1100
+Subject: [PATCH] Add pkg-config support for building applications and
+ sub-agents
+
+The netsnmp package should be used when building Net-SNMP applications.
+The netsnmp-agent package should be used when building Net-SNMP subagents.
+
+Signed-off-by: Hugh McMaster 
+[ bvanassche: edited makefile code and .pc files; added ./configure changes ]
+
+
+Upstream-Status: Backport
+https://sourceforge.net/p/net-snmp/patches/_discuss/thread/a0d66e91dd/f940/attachment/0001-Add-pkg-config-support-for-building-applications-and.patch
+
+---
+ Makefile.in |  2 ++
+ Makefile.rules  | 30 ++
+ configure   |  4 
+ configure.ac|  1 +
+ netsnmp-agent.pc.in | 12 
+ netsnmp.pc.in   | 12 
+ 6 files changed, 57 insertions(+), 4 deletions(-)
+ create mode 100644 netsnmp-agent.pc.in
+ create mode 100644 netsnmp.pc.in
+
+diff --git a/Makefile.in b/Makefile.in
+index 9dbdde1353b1..ec972636c279 100644
+--- a/Makefile.in
 b/Makefile.in
+@@ -35,6 +35,7 @@ INSTALLBUILTHEADERS=include/net-snmp/net-snmp-config.h
+ INSTALLBUILTINCLUDEHEADERS=@FEATUREHEADERS@
+ INSTALLBINSCRIPTS=net-snmp-config net-snmp-create-v3-user
+ INSTALLUCDHEADERS=ucd-snmp-config.h version.h mib_module_config.h
++INSTALL_PKGCONFIG=netsnmp.pc netsnmp-agent.pc
+ 
+ #
+ # other install rules.
+@@ -275,6 +276,7 @@ configclean: makefileclean
+   libtool include/net-snmp/net-snmp-config.h \
+   net-snmp-config net-snmp-config-x configure-summary \
+   net-snmp-create-v3-user net-snmp-create-v3-user-x
++  rm -f *.pc
+   rm -f mibs/.index
+   rm -f include/net-snmp/agent/mib_module_config.h\
+   include/net-snmp/agent/agent_module_config.h\
+diff --git a/Makefile.rules b/Makefile.rules
+index 9e9e9009e5d2..e714f91e725e 100644
+--- a/Makefile.rules
 b/Makefile.rules
+@@ -85,12 +85,14 @@ subdirs:
+ # installlibs handles local, ucd and subdir libs. need to do subdir libs
+ # before bins, sinze those libs may be needed for successful linking
+ install: installlocalheaders @installucdheaders@ \
+- installlibs \
+- installlocalbin  installlocalsbin   \
++ installlibs install_pkgconfig   \
++ installlocalbin installlocalsbin\
+  installsubdirs  $(OTHERINSTALL)
+ 
+-uninstall: uninstalllibs uninstallbin uninstallsbin uninstallheaders \
+-   uninstallsubdirs $(OTHERUNINSTALL)
++uninstall: uninstalllibs uninstall_pkgconfig \
++   uninstallbin  uninstallsbin   \
++   uninstallheaders  \
++   uninstallsubdirs  $(OTHERUNINSTALL)
+ 
+ installprogs: installbin installsbin
+ 
+@@ -287,6 +289,26 @@ uninstalllibs:
+   done \
+   fi
+ 
++#
++# pkg-config files
++#
++install_pkgconfig: $(INSTALL_PKGCONFIG)
++  @if test "x$(INSTALL_PKGCONFIG)" != x; then \
++  $(SHELL) $(top_srcdir)/mkinstalldirs 
$(INSTALL_PREFIX)$(libdir)/pkgconfig; \
++  for i in $(INSTALL_PKGCONFIG); do   \
++  echo "installing $$i in 
$(INSTALL_PREFIX)$(libdir)/pkgconfig"; \
++  done;   \
++  $(INSTALL) $(INSTALL_PKGCONFIG) 
$(INSTALL_PREFIX)$(libdir)/pkgconfig; \
++  fi
++
++uninstall_pkgconfig:
++  @if test "x$(INSTALL_PKGCONFIG)" != x; then \
++  for i in $(INSTALL_PKGCONFIG); do   \
++  echo "removing $$i from 
$(INSTALL_PREFIX)$(libdir)/pkgconfig"; \
++  $(UNINSTALL) $(INSTALL_PREFIX)$(libdir)/pkgconfig/$$i;\
++  done;   \
++  fi
++
+ #
+ # normal bin binaries
+ #
+diff --git a/configure b/configure
+index 5ec44f5ce082..5103a4dc9d88 100755
+--- a/configure
 b/configure
+@@ -30422,6 +30422,8 @@ ac_config_files="$ac_config_files 

Re: [oe] [meta-oe][PATCH v1 2/4] luajit: Add luajit 2.1.0-beta3 recipe

2020-02-19 Thread Khem Raj




On 2/17/20 9:25 PM, Leo Yan wrote:

Since luajit 2.1.0-beta3 can support architecture aarch64 and the old
misses to support aarch64, this patch adds recipe for luajit
2.1.0-beta3 building.

Signed-off-by: Leo Yan 
---
  .../recipes-devtools/luajit/luajit_2.1.0.bb   | 92 +++
  1 file changed, 92 insertions(+)
  create mode 100644 meta-oe/recipes-devtools/luajit/luajit_2.1.0.bb

diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.1.0.bb 
b/meta-oe/recipes-devtools/luajit/luajit_2.1.0.bb
new file mode 100644
index 0..167b5d229
--- /dev/null
+++ b/meta-oe/recipes-devtools/luajit/luajit_2.1.0.bb
@@ -0,0 +1,92 @@
+SUMMARY = "Just-In-Time Compiler for Lua"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22"
+HOMEPAGE = "http://luajit.org;
+
+PV .= "+git${SRCPV}"


I think its best to call it 2.0.5+${SRCPV}


+SRCREV = "v2.1.0-beta3"


Please use corresponding SHA1 here instead of tags


+SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1"
+
+S = "${WORKDIR}/git"
+
+inherit pkgconfig binconfig siteinfo
+
+BBCLASSEXTEND = "native"
+
+# http://luajit.org/install.html#cross
+# Host luajit needs to be compiled with the same pointer size
+# If you want to cross-compile to any 32 bit target on an x64 OS,
+# you need to install the multilib development package (e.g.
+# libc6-dev-i386 on Debian/Ubuntu) and build a 32 bit host part
+# (HOST_CC="gcc -m32").
+BUILD_CC_ARCH_append = " ${@['-m32',''][d.getVar('SITEINFO_BITS') != '32']}"
+
+# The lua makefiles expect the TARGET_SYS to be from uname -s
+# Values: Windows, Linux, Darwin, iOS, SunOS, PS3, GNU/kFreeBSD
+LUA_TARGET_OS = "Unknown"
+LUA_TARGET_OS_darwin = "Darwin"
+LUA_TARGET_OS_linux = "Linux"
+LUA_TARGET_OS_linux-gnueabi = "Linux"
+LUA_TARGET_OS_mingw32 = "Windows"
+
+# We don't want the lua buildsystem's compiler optimizations, or its
+# stripping, and we don't want it to pick up CFLAGS or LDFLAGS, as those apply
+# to both host and target compiles
+EXTRA_OEMAKE = "\
+Q= E='@:' \
+\
+CCOPT= CCOPT_x86= CFLAGS= LDFLAGS= TARGET_STRIP='@:' \
+\
+'TARGET_SYS=${LUA_TARGET_OS}' \
+\
+'CC=${CC}' \
+'TARGET_AR=${AR} rcus' \
+'TARGET_CFLAGS=${CFLAGS}' \
+'TARGET_LDFLAGS=${LDFLAGS}' \
+'TARGET_SHLDFLAGS=${LDFLAGS}' \
+'HOST_CC=${BUILD_CC}' \
+'HOST_CFLAGS=${BUILD_CFLAGS}' \
+\
+'PREFIX=${prefix}' \
+'MULTILIB=${baselib}' \
+'LDCONFIG=:' \
+"
+
+do_compile () {
+oe_runmake
+}
+
+# There's INSTALL_LIB and INSTALL_SHARE also, but the lua binary hardcodes the
+# '/share' and '/' + LUA_MULTILIB paths, so we don't want to break those
+# expectations.
+EXTRA_OEMAKEINST = "\
+'DESTDIR=${D}' \
+'INSTALL_BIN=${D}${bindir}' \
+'INSTALL_INC=${D}${includedir}/luajit-$(MAJVER).$(MINVER)' \
+'INSTALL_MAN=${D}${mandir}/man1' \
+"
+do_install () {
+oe_runmake ${EXTRA_OEMAKEINST} install
+rmdir ${D}${datadir}/lua/5.* \
+  ${D}${datadir}/lua \
+  ${D}${libdir}/lua/5.* \
+  ${D}${libdir}/lua
+}
+
+PACKAGES += 'luajit-common'
+
+# See the comment for EXTRA_OEMAKEINST. This is needed to ensure the hardcoded
+# paths are packaged regardless of what the libdir and datadir paths are.
+FILES_${PN} += "${prefix}/${baselib} ${prefix}/share"
+FILES_${PN} += "${libdir}/libluajit-5.1.so.2 \
+${libdir}/libluajit-5.1.so.${PV} \
+"
+FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \
+${libdir}/libluajit-5.1.so \
+${libdir}/pkgconfig/luajit.pc \
+"
+FILES_luajit-common = "${datadir}/${BPN}-${PV}"
+
+# mips64 is not supported in this release
+COMPATIBLE_HOST_mipsarchn32 = "null"
+COMPATIBLE_HOST_mipsarchn64 = "null"


sync this with latest changes to 5.0.4 recipe there are more arches 
where it is not ported yet.


Also delete the old recipe in the same patch.




--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] State of OE world - 2020-02-18

2020-02-19 Thread Khem Raj
http://www.openembedded.org/wiki/Bitbake_World_Status

== Failed tasks /media/ra_build_share/buildlogs/oe/world/dunfell/2020-02-18 ==

INFO: jenkins-job.sh-1.8.46 Complete log available at
/media/ra_build_share/buildlogs/oe/world/dunfell//media/ra_build_share/buildlogs/oe/world/dunfell/log.report.20200219_150007.log

=== common (0) ===

=== common-x86 (0) ===

=== qemuarm (0) ===

=== qemuarm64 (0) ===

=== qemux86 (0) ===

=== qemux86_64 (0) ===

=== Number of failed tasks (0) ===
{| class=wikitable
|-
|| qemuarm || 0 ||
/media/ra_build_share/buildlogs/oe/world/dunfell//media/ra_build_share/buildlogs/oe/world/dunfell/log.world.qemuarm.20200218_155946.log/
||
|-
|| qemuarm64 || 0 ||
/media/ra_build_share/buildlogs/oe/world/dunfell//media/ra_build_share/buildlogs/oe/world/dunfell/log.world.qemuarm64.20200218_235936.log/
||
|-
|| qemux86 || 0 ||
/media/ra_build_share/buildlogs/oe/world/dunfell//media/ra_build_share/buildlogs/oe/world/dunfell/log.world.qemux86.20200218_235938.log/
||
|-
|| qemux86_64 || 0 ||
/media/ra_build_share/buildlogs/oe/world/dunfell//media/ra_build_share/buildlogs/oe/world/dunfell/log.world.qemux86-64.20200218_235937.log/
||
|}

=== PNBLACKLISTs (22) ===


sources/meta-openembedded:
* 
meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb:PNBLACKLIST[netkit-rusers]
= "Fails to build rup.c:51:10: fatal error: rstat.h: No such file or
directory"
* meta-networking/recipes-support/drbd/drbd_9.0.19-1.bb:PNBLACKLIST[drbd]
= "Kernel module Needs forward porting to kernel 5.2+"
* 
meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb:PNBLACKLIST[lowpan-tools]
= "WARNING these tools are deprecated! Use wpan-tools instead"
* 
meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb:PNBLACKLIST[dnf-plugin-tui]
?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does
not build correctly without package_rpm in PACKAGE_CLASSES', d)}"
* meta-oe/recipes-devtools/nanopb/nanopb_0.4.0.bb:PNBLACKLIST[nanopb]
= "Needs forward porting to use python3"
* meta-oe/recipes-extended/socketcan/can-isotp_git.bb:PNBLACKLIST[can-isotp]
= "Kernel module Needs forward porting to kernel 5.2+"
* meta-oe/recipes-extended/sysdig/sysdig_git.bb:PNBLACKLIST[sysdig]
= "configure: error: in
'TOPDIR/build/tmpfs/work/core2-64-yoe-linux/sysdig/0.26.4-r0/build/c-ares-prefix/src/c-ares'"
* 
meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb:PNBLACKLIST[dnfdragora]
?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does
not build correctly without package_rpm in PACKAGE_CLASSES', d)}"
* meta-oe/recipes-kernel/bpftool/bpftool.bb:PNBLACKLIST[bpftool] =
"Needs forward porting to kernel 5.2+"


sources/meta-qt5:
* recipes-python/pyqt5/python-pyqt5_5.13.2.bb:PNBLACKLIST[python-pyqt5]
= "Sip fails in do_configure sip: QOpenGLFramebufferObject is
undefined"


sources/meta-yoe:
* conf/distro/yoe.inc:PNBLACKLIST[build-appliance-image] = "tries
to include whole downloads directory in /home/builder/poky :/"
* conf/distro/yoe.inc:PNBLACKLIST[smartrefrigerator] = "Needs
porting to QT > 5.6"
* conf/distro/yoe.inc:PNBLACKLIST[qmlbrowser] = "Needs porting to QT > 5.6"
* conf/distro/yoe.inc:PNBLACKLIST[minehunt] = "Needs porting to QT > 5.6"
* conf/distro/yoe.inc:PNBLACKLIST[homeautomation] = "Needs porting
to QT > 5.6"
* conf/distro/yoe.inc:PNBLACKLIST[samegame] = "Needs porting to QT > 5.6"
* conf/distro/yoe.inc:PNBLACKLIST[applicationlauncher] = "Needs
porting to QT > 5.6"
* conf/distro/yoe.inc:PNBLACKLIST[spacetouch] = "Needs porting to
libplanes 1.0"
* conf/distro/yoe.inc:PNBLACKLIST[qtviewplanes] = "Needs porting
to libplanes 1.0"
* conf/distro/yoe.inc:PNBLACKLIST[egt-thermostat] = "Needs porting
to egt 0.8.2+"


sources/openembedded-core:
* meta/recipes-devtools/dnf/dnf_4.2.2.bb:PNBLACKLIST[dnf] ?=
"${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does not
build correctly without package_rpm in PACKAGE_CLASSES', d)}"
* meta/recipes-devtools/libdnf/libdnf_0.28.1.bb:PNBLACKLIST[libdnf]
?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does
not build correctly without package_rpm in PACKAGE_CLASSES', d)}"


conf/local.conf:
* PNBLACKLIST[bigbuckbunny-1080p] = "big and doesn't really need
to be tested so much"
* PNBLACKLIST[bigbuckbunny-480p] = "big and doesn't really need to
be tested so much"
* PNBLACKLIST[bigbuckbunny-720p] = "big and doesn't really need to
be tested so much"
* PNBLACKLIST[tearsofsteel-1080p] = "big and doesn't really need
to be tested so much"
* PNBLACKLIST[build-appliance-image] = "tries to include whole
downloads directory in /home/builder/poky :/"

=== QA issues (0) ===
{| class=wikitable
!| Count ||Issue
|-
||0 ||already-stripped
|-
||0 ||build-deps
|-
||0 ||compile-host-path
|-
||0 ||file-rdeps
|-
||0 ||host-user-contaminated
|-
||0 ||installed-vs-shipped
|-
||0 ||invalid-pkgconfig
|-
||0 ||ldflags
|-
||0 ||libdir
|-
||0 ||pkgname
|-

Re: [oe] [meta-oe][PATCH v1 3/4] BCC: Add build recipe

2020-02-19 Thread Khem Raj
On Wed, Feb 19, 2020 at 1:45 AM Leo Yan  wrote:
>
> Hi Khem,
>
> On Tue, Feb 18, 2020 at 03:27:26PM +0800, Leo Yan wrote:
> > Hi Khem,
> >
> > On Mon, Feb 17, 2020 at 10:30:46PM -0800, Khem Raj wrote:
> >
> > [...]
> >
> > > > +DEPENDS += "bison-native \
> > > > +ninja-native \
> > > > +elfutils-native \
> > > > +flex-native \
> > > > +${MLPREFIX}elfutils \
> > > > +${MLPREFIX}binutils \
> > > > +${MLPREFIX}flex \
> > > > +luajit \
> > > > +clang \
> > > > +"
> > > > +
> > >
> > > this will add meta-clang dependency directly into meta-oe, which is not 
> > > desired
> > > is it possible to make it optional or perhaps marked when meta-clang
> > > is not in BBLAYERS
> >
> > Thanks a lot for reviewing.  clang is mandotory for BCC to compile
> > eBPF programs, so I think we cannot build clang as optional for BCC.
> >
> > For marking the recipe when meta-clang is not in BBLAYERS, I searched
> > with google but seems 'LAYERDEPENDS' and 'BBMASK' both are not suitable
> > for this case.  Could you give more detailed info for how to do this?
>
> Just want to ask a following question.
>
> Since BCC and bpftrace both are heavily relying on LLVM/Clang for their
> tracing, do you think it's a good idea to merge BCC and bpftrace into
> meta-clang layer, e.g. place into /meta-clang/recipes-devtools/?
> If so, we can easily resolve the dependency issue and avoid to introduce
> mess between meta-oe and meta-clang.
>
> For the tool ply, it's simple and doesn't depend on Clang.  So should
> keep it into meta-oe/recipes-devtools/ folder?  Also welcome any
> suggestion for this.

Yeah I think thats a fine suggestion. meta-clang is good for it.

>
> Thanks,
> Leo Yan
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH v2] quagga: install tmpfiles snippet to /usr/lib/tmpfiles.d

2020-02-19 Thread Dan Callaghan
Package-owned tmpfiles snippets belong in /usr/lib/tmpfiles.d,
/etc/tmpfiles.d is for administrator customisations.

Signed-off-by: Dan Callaghan 
---
 meta-networking/recipes-protocols/quagga/quagga.inc | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc 
b/meta-networking/recipes-protocols/quagga/quagga.inc
index 2673a8976..310bc7eef 100644
--- a/meta-networking/recipes-protocols/quagga/quagga.inc
+++ b/meta-networking/recipes-protocols/quagga/quagga.inc
@@ -116,9 +116,9 @@ do_install () {
 done
 
 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', 
d)}; then
-install -d ${D}${sysconfdir}/tmpfiles.d
+install -d ${D}${nonarch_libdir}/tmpfiles.d
 echo "d /run/quagga 0755 quagga quagga -" \
-> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf
+> ${D}${nonarch_libdir}/tmpfiles.d/${BPN}.conf
 fi
 
 # Remove sysinit script if sysvinit is not in DISTRO_FEATURES
@@ -166,6 +166,8 @@ FILES_${PN}-ospfclient  = "${sbindir}/ospfclient 
${libdir}/libospfapiclient.so.*
 FILES_${PN}-watchquagga = "${sbindir}/watchquagga 
${sysconfdir}/default/watchquagga \
${sysconfdir}/init.d/watchquagga"
 
+FILES_${PN} += "${nonarch_libdir}/tmpfiles.d/*.conf"
+
 # Indicate that the default files are configuration files
 CONFFILES_${PN} = "${sysconfdir}/default/quagga \
${sysconfdir}/quagga/bgpd.conf \
-- 
2.21.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH 2/2] quagga: install tmpfiles snippet to /usr/lib/tmpfiles.d

2020-02-19 Thread Dan Callaghan
Excerpts from Khem Raj's message of 2020-02-11 16:44:45 -08:00:
> On 2/10/20 10:08 PM, Dan Callaghan wrote:
> > Package-owned tmpfiles snippets belong in /usr/lib/tmpfiles.d,
> > /etc/tmpfiles.d is for administrator customisations.
> >
> > Signed-off-by: Dan Callaghan 
> > ---
> >   meta-networking/recipes-protocols/quagga/quagga.inc | 4 ++--
> >   1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc 
> > b/meta-networking/recipes-protocols/quagga/quagga.inc
> > index 2673a8976..f35b27160 100644
> > --- a/meta-networking/recipes-protocols/quagga/quagga.inc
> > +++ b/meta-networking/recipes-protocols/quagga/quagga.inc
> > @@ -116,9 +116,9 @@ do_install () {
> >   done
> >
> >   if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 
> > 'false', d)}; then
> > -install -d ${D}${sysconfdir}/tmpfiles.d
> > +install -d ${D}${nonarch_libdir}/tmpfiles.d
> >   echo "d /run/quagga 0755 quagga quagga -" \
> > -> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf
> > +> ${D}${nonarch_libdir}/tmpfiles.d/${BPN}.conf
> >   fi
> >
> >   # Remove sysinit script if sysvinit is not in DISTRO_FEATURES
> >
> 
> Fails packaging
> 
> ERROR: QA Issue: quagga: Files/directories were installed but not
> shipped in any package:
>/usr/lib/tmpfiles.d
>/usr/lib/tmpfiles.d/quagga.conf
> 
> 
> http://errors.yoctoproject.org/Errors/Details/390597/

Oops. I will send an updated patch.

I wonder if OE-Core should have a directory variable similar to 
${systemd_system_unitdir}, say ${systemd_tmpfilesdir}, and put it in the 
global FILES list? Right now the recipes in meta-oe use a mixture of
${sysconfdir}/tmpfiles.d and ${libdir}/tmpfiles.d...

On second thought I am not quite sure if it should be ${nonarch_libdir} 
or ${libdir}. I can't see anywhere that the systemd recipe explicitly 
configures that directory at build time, but in our product
systemd-tmpfiles winds up looking in /usr/lib/tmpfiles.d which I assumed 
was ${nonarch_libdir}/tmpfiles.d.

-- 
Dan Callaghan 
Software Engineer
Opengear 


signature.asc
Description: PGP signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] meta-oe: master: remmina - use PACKAGECONFIG for spice

2020-02-19 Thread Jan-Simon Moeller
remmina depends on spice and spice-protocol but they are in meta-networking.
Use the PACKAGECONFIG flag to avoid hardcoding the dependency.

Signed-off-by: Jan-Simon Moeller 
---
 meta-oe/recipes-support/remmina/remmina_1.3.6.bb | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb 
b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
index f9963ff65..f9860a11f 100644
--- a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
+++ b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
@@ -5,8 +5,6 @@ LICENSE = "GPLv2 & openssl"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=dab7215512044d49037272ce1ac4ea8f 
file://LICENSE.OpenSSL;md5=c1eb3cee0a4dea27503c531267a69769"
 DEPENDS += "openssl freerdp gtk+3 gdk-pixbuf atk libgcrypt avahi-ui libsodium 
libssh vte json-glib libsoup-2.4 libvncserver libsecret"

-DEPENDS_append_x86 = " spice spice-protocol"
-DEPENDS_append_x86-64 = " spice spice-protocol"

 DEPENDS_append_libc-musl = " libexecinfo"
 LDFLAGS_append_libc-musl = " -lexecinfo"
@@ -23,11 +21,7 @@ inherit cmake features_check mime-xdg
 # depends on avahi-ui with this restriction
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"

-EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF 
-DWITH_TRANSLATIONS=OFF -DWITH_SPICE=OFF"
-
-EXTRA_OECMAKE_append_x86 = " -DWITH_SPICE=ON"
-EXTRA_OECMAKE_append_x86-64 = " -DWITH_SPICE=ON"
-
+EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF 
-DWITH_TRANSLATIONS=OFF"

 do_install_append(){
 # We dont need the extra stuff form other desktop environments
@@ -36,6 +30,8 @@ do_install_append(){
 rm -rf ${D}/${datadir}/gnome-session
 }

+PACKAGECONFIG[spice] = "-DWITH_SPICE=ON, -DWITH_SPICE=OFF, spice 
spice-protocol"
+
 RDEPENDS_${PN} = "bash"

 FILES_${PN}_append = " ${datadir}/icons/hicolor/*"
--
2.11.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][zeus][PATCH] meta-oe: zeus: remmina - use PACKAGECONFIG for spice

2020-02-19 Thread Jan-Simon Moeller
remmina depends on spice and spice-protocol but they are in meta-networking.
Use the PACKAGECONFIG flag to avoid hardcoding the dependency.

Signed-off-by: Jan-Simon Moeller 
---
 meta-oe/recipes-support/remmina/remmina_1.3.6.bb | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb 
b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
index 82b803a4d..5f25231c2 100644
--- a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
+++ b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
@@ -5,8 +5,6 @@ LICENSE = "GPLv2 & openssl"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=dab7215512044d49037272ce1ac4ea8f 
file://LICENSE.OpenSSL;md5=c1eb3cee0a4dea27503c531267a69769"
 DEPENDS += "openssl freerdp gtk+3 gdk-pixbuf atk libgcrypt avahi-ui libsodium 
libssh vte json-glib libsoup-2.4 libvncserver libsecret"

-DEPENDS_append_x86 = " spice spice-protocol"
-DEPENDS_append_x86-64 = " spice spice-protocol"

 DEPENDS_append_libc-musl = " libexecinfo"
 LDFLAGS_append_libc-musl = " -lexecinfo"
@@ -23,11 +21,7 @@ inherit cmake distro_features_check
 # depends on avahi-ui with this restriction
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"

-EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF 
-DWITH_TRANSLATIONS=OFF -DWITH_SPICE=OFF"
-
-EXTRA_OECMAKE_append_x86 = " -DWITH_SPICE=ON"
-EXTRA_OECMAKE_append_x86-64 = " -DWITH_SPICE=ON"
-
+EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF 
-DWITH_TRANSLATIONS=OFF"

 do_install_append(){
 # We dont need the extra stuff form other desktop environments
@@ -36,6 +30,8 @@ do_install_append(){
 rm -rf ${D}/${datadir}/gnome-session
 }

+PACKAGECONFIG[spice] = "-DWITH_SPICE=ON, -DWITH_SPICE=OFF, spice 
spice-protocol"
+
 RDEPENDS_${PN} = "bash"

 FILES_${PN}_append = " ${datadir}/icons/hicolor/*"
--
2.11.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] meta-oe: master: remmina - use PACKAGECONFIG for spice

2020-02-19 Thread Jan-Simon Moeller
remmina depends on spice and spice-protocol but they are in meta-networking.
Use the PACKAGECONFIG flag to avoid hardcoding the dependency.

Signed-off-by: Jan-Simon Moeller 
---
 meta-oe/recipes-support/remmina/remmina_1.3.6.bb | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb 
b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
index f9963ff65..f9860a11f 100644
--- a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
+++ b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
@@ -5,8 +5,6 @@ LICENSE = "GPLv2 & openssl"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=dab7215512044d49037272ce1ac4ea8f 
file://LICENSE.OpenSSL;md5=c1eb3cee0a4dea27503c531267a69769"
 DEPENDS += "openssl freerdp gtk+3 gdk-pixbuf atk libgcrypt avahi-ui libsodium 
libssh vte json-glib libsoup-2.4 libvncserver libsecret"

-DEPENDS_append_x86 = " spice spice-protocol"
-DEPENDS_append_x86-64 = " spice spice-protocol"

 DEPENDS_append_libc-musl = " libexecinfo"
 LDFLAGS_append_libc-musl = " -lexecinfo"
@@ -23,11 +21,7 @@ inherit cmake features_check mime-xdg
 # depends on avahi-ui with this restriction
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"

-EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF 
-DWITH_TRANSLATIONS=OFF -DWITH_SPICE=OFF"
-
-EXTRA_OECMAKE_append_x86 = " -DWITH_SPICE=ON"
-EXTRA_OECMAKE_append_x86-64 = " -DWITH_SPICE=ON"
-
+EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF 
-DWITH_TRANSLATIONS=OFF"

 do_install_append(){
 # We dont need the extra stuff form other desktop environments
@@ -36,6 +30,8 @@ do_install_append(){
 rm -rf ${D}/${datadir}/gnome-session
 }

+PACKAGECONFIG[spice] = "-DWITH_SPICE=ON, -DWITH_SPICE=OFF, spice 
spice-protocol"
+
 RDEPENDS_${PN} = "bash"

 FILES_${PN}_append = " ${datadir}/icons/hicolor/*"
--
2.11.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH v1 3/4] BCC: Add build recipe

2020-02-19 Thread Leo Yan
Hi Khem,

On Tue, Feb 18, 2020 at 03:27:26PM +0800, Leo Yan wrote:
> Hi Khem,
> 
> On Mon, Feb 17, 2020 at 10:30:46PM -0800, Khem Raj wrote:
> 
> [...]
> 
> > > +DEPENDS += "bison-native \
> > > +ninja-native \
> > > +elfutils-native \
> > > +flex-native \
> > > +${MLPREFIX}elfutils \
> > > +${MLPREFIX}binutils \
> > > +${MLPREFIX}flex \
> > > +luajit \
> > > +clang \
> > > +"
> > > +
> > 
> > this will add meta-clang dependency directly into meta-oe, which is not 
> > desired
> > is it possible to make it optional or perhaps marked when meta-clang
> > is not in BBLAYERS
> 
> Thanks a lot for reviewing.  clang is mandotory for BCC to compile
> eBPF programs, so I think we cannot build clang as optional for BCC.
> 
> For marking the recipe when meta-clang is not in BBLAYERS, I searched
> with google but seems 'LAYERDEPENDS' and 'BBMASK' both are not suitable
> for this case.  Could you give more detailed info for how to do this?

Just want to ask a following question.

Since BCC and bpftrace both are heavily relying on LLVM/Clang for their
tracing, do you think it's a good idea to merge BCC and bpftrace into
meta-clang layer, e.g. place into /meta-clang/recipes-devtools/?
If so, we can easily resolve the dependency issue and avoid to introduce
mess between meta-oe and meta-clang.

For the tool ply, it's simple and doesn't depend on Clang.  So should
keep it into meta-oe/recipes-devtools/ folder?  Also welcome any
suggestion for this.

Thanks,
Leo Yan
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH v2] libharu: New recipe

2020-02-19 Thread Zheng Ruoqin
libHaru is a library for generating PDF files.

Signed-off-by: Zheng Ruoqin 
---
 .../libharu/libharu-RELEASE_2_3_0_cmake.patch  | 52 ++
 meta-oe/recipes-support/libharu/libharu_2.3.0.bb   | 24 ++
 2 files changed, 76 insertions(+)
 create mode 100644 
meta-oe/recipes-support/libharu/libharu/libharu-RELEASE_2_3_0_cmake.patch
 create mode 100644 meta-oe/recipes-support/libharu/libharu_2.3.0.bb

diff --git 
a/meta-oe/recipes-support/libharu/libharu/libharu-RELEASE_2_3_0_cmake.patch 
b/meta-oe/recipes-support/libharu/libharu/libharu-RELEASE_2_3_0_cmake.patch
new file mode 100644
index 000..332be1b
--- /dev/null
+++ b/meta-oe/recipes-support/libharu/libharu/libharu-RELEASE_2_3_0_cmake.patch
@@ -0,0 +1,52 @@
+Backport from Fedora Project.
+https://src.fedoraproject.org/rpms/libharu
+
+Fix the install destination of some files.
+
+Upstream-Status: inappropriate
+
+Signed-off-by: Zheng Ruoqin 
+
+diff -urp libharu-RELEASE_2_3_0/CMakeLists.txt 
libharu-RELEASE_2_3_0_cmake/CMakeLists.txt
+--- libharu-RELEASE_2_3_0/CMakeLists.txt   2013-10-30 20:11:59.0 
+0700
 libharu-RELEASE_2_3_0_cmake/CMakeLists.txt 2017-06-01 15:56:06.533552795 
+0700
+@@ -25,7 +25,7 @@ endif(MSVC)
+ 
+ # information about libharu
+ set(LIBHPDF_MAJOR 2)
+-set(LIBHPDF_MINOR 2)
++set(LIBHPDF_MINOR 3)
+ set(LIBHPDF_PATCH 0)
+ set(LIBHPDF_VERSION ${LIBHPDF_MAJOR}.${LIBHPDF_MINOR}.${LIBHPDF_PATCH})
+ set(LIBHPDF_DESCRIPTION "libHaru is a free, cross platform, open source 
library for generating PDF files.")
+@@ -210,9 +210,9 @@ set(
+ install(FILES ${haru_HDRS} DESTINATION include)
+ 
+ # install various files
+-install(FILES README CHANGES INSTALL DESTINATION .)
++install(FILES README CHANGES INSTALL DESTINATION 
${SHARE_INSTALL_PREFIX}/libharu)
+ if(NOT DEVPAK)
+-  install(DIRECTORY if DESTINATION .)
++  install(DIRECTORY if DESTINATION ${SHARE_INSTALL_PREFIX}/libharu)
+ endif(NOT DEVPAK)
+ if(DEVPAK)
+   install(FILES ${CMAKE_BINARY_DIR}/libharu.DevPackage DESTINATION .)
+diff -urp libharu-RELEASE_2_3_0/src/CMakeLists.txt 
libharu-RELEASE_2_3_0_cmake/src/CMakeLists.txt
+--- libharu-RELEASE_2_3_0/src/CMakeLists.txt   2013-10-30 20:11:59.0 
+0700
 libharu-RELEASE_2_3_0_cmake/src/CMakeLists.txt 2017-06-01 
16:08:45.425105746 +0700
+@@ -90,11 +90,13 @@ if(LIBHPDF_SHARED)
+   target_link_libraries(${LIBHPDF_NAME} ${ADDITIONAL_LIBRARIES})
+   if(WIN32 AND NOT CYGWIN)
+   set_target_properties(${LIBHPDF_NAME} PROPERTIES DEFINE_SYMBOL 
HPDF_DLL_MAKE)
++  else(WIN32 AND NOT CYGWIN)
++  set_target_properties(${LIBHPDF_NAME} PROPERTIES SOVERSION 
${LIBHPDF_VERSION})
+   endif(WIN32 AND NOT CYGWIN)
+   install(
+ TARGETS ${LIBHPDF_NAME}
+-ARCHIVE DESTINATION lib
+-LIBRARY DESTINATION lib
++ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
++LIBRARY DESTINATION ${LIB_INSTALL_DIR}
+ RUNTIME DESTINATION bin
+   )
+ endif(LIBHPDF_SHARED)
diff --git a/meta-oe/recipes-support/libharu/libharu_2.3.0.bb 
b/meta-oe/recipes-support/libharu/libharu_2.3.0.bb
new file mode 100644
index 000..359f615
--- /dev/null
+++ b/meta-oe/recipes-support/libharu/libharu_2.3.0.bb
@@ -0,0 +1,24 @@
+SUMMARY = "free PDF library"
+HOMEPAGE = "http://libharu.org;
+DESCRIPTION = "libHaru is a library for generating PDF files. \
+   It is free, open source, written in ANSI C and cross platform. "
+
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://README;md5=3ee6bc1f64d9cc7907f44840c8e50cb1"
+
+SRC_URI = 
"https://github.com/libharu/${BPN}/archive/RELEASE_${@d.getVar('PV').replace('.','_')}.tar.gz
 \
+   file://libharu-RELEASE_2_3_0_cmake.patch \
+  "
+
+SRC_URI[md5sum] = "4f916aa49c3069b3a10850013c507460"
+SRC_URI[sha256sum] = 
"8f9e68cc5d5f7d53d1bc61a1ed876add1faf4f91070dbc360d8b259f46d9a4d2"
+
+S = "${WORKDIR}/${BPN}-RELEASE_${@d.getVar('PV').replace('.','_')}"
+
+inherit cmake
+DEPENDS += "libpng zlib"
+
+do_install_append() {
+ mkdir -p ${D}/${datadir}/libharu
+ mv ${D}/libharu ${D}/${datadir}
+}
-- 
2.7.4



-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel