Skip to contentSkip to conversation

jasper: add PACKAGECONFIG for opengl

PATCH New Martin Jansa 1 participant 5 messages Sep 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 jasper: add PACKAGECONFIG for opengl

* fixed 3 autodetected dependencies:
WARN: jasper: jasper-bin rdepends on freeglut, but it isn't a build dependency?
WARN: jasper: jasper-bin rdepends on libgl-mesa, but it isn't a build dependency?
WARN: jasper: jasper-bin rdepends on libglu, but it isn't a build dependency?

---
 meta-oe/recipes-graphics/jasper/jasper_1.900.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-graphics/jasper/jasper_1.900.1.bb +1 -0
index 2c51319..cc6a694 100644
@@ -10,6 +10,7 @@ inherit autotools lib_package
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[jpeg] = "--enable-libjpeg,--disable-libjpeg,jpeg"
+PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,freeglut"
 
 EXTRA_OECONF = "--enable-shared"
 
Signature · 1 line
2.10.0
#1 lore raw

PATCH 2/5 gammu: add dependency on unixodbc

* autodetected for smsd as reported in bitbake world status e-mails:
gammu-1.32.0: libgsmsd rdepends on unixodbc, but it isn't a build dependency, missing unixodbc in DEPENDS or PACKAGECONFIG? [build-deps]

* log.do_package:
DEBUG: libgsmsd: Dependency libodbc.so.2 requires package unixodbc (used by files: /OE/build/oe-core/tmp-glibc/work/i586-oe-linux/gammu/1.32.0-r0/packages-split/libgsmsd/usr/lib/libgsmsd.so.7.1.32.0)

---
 meta-oe/recipes-connectivity/gammu/gammu_1.32.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/gammu/gammu_1.32.0.bb +1 -1
index f33b435..4441175 100644
@@ -1,6 +1,6 @@
 SUMMARY = "GNU All Mobile Managment Utilities"
 SECTION = "console/network"
-DEPENDS = "cmake-native virtual/libiconv libdbi mysql5 glib-2.0 udev libgudev"
+DEPENDS = "cmake-native virtual/libiconv libdbi mysql5 glib-2.0 udev libgudev unixodbc"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a17cb0a873d252440acfdf9b3d0e7fbf"
 HOMEPAGE = "http://www.gammu.org/"
Signature · 1 line
2.10.0
#2 lore raw

PATCH 3/5 libgit2: add dependency on libssh2

In reply to Martin Jansa

* autodetected as reported in bitbake world status e-mails:
libgit2-0.24.1: libgit2 rdepends on libssh2, but it isn't a build dependency, missing libssh2 in DEPENDS or PACKAGECONFIG? [build-deps]
* log.do_package:
DEBUG: libgit2: Dependency libssh2.so.1 requires package libssh2 (used by files: /OE/build/oe-core/tmp-glibc/work/i586-oe-linux/libgit2/0.24.1-r0/packages-split/libgit2/usr/lib/libgit2.so.0.24.0)

---
 meta-oe/recipes-support/libgit2/libgit2_0.24.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/libgit2/libgit2_0.24.1.bb +1 -1
index dbcbb7a..092a674 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://libgit2.github.com/"
 LICENSE = "GPL-2.0-with-GCC-exception"
 LIC_FILES_CHKSUM = "file://COPYING;md5=34197a479f637beb9e09e56893f48bc2"
 
-DEPENDS = "curl openssl zlib"
+DEPENDS = "curl openssl zlib libssh2"
 
 SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v0.24"
 SRCREV = "211e117a0590583a720c53172406f34186c543bd"
Signature · 1 line
2.10.0
#3 lore raw

PATCH 4/5 mpv: include PACKAGECONFIG_CONFARGS in EXTRA_OECONF

In reply to Martin Jansa

* otherwise jack is autodetected:
mpv-0.15.0: mpv rdepends on libjack, but it isn't a build dependency, missing jack in DEPENDS or PACKAGECONFIG? [build-deps]

---
 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb +1 -0
index 768c87a..292c701 100644
@@ -49,6 +49,7 @@ EXTRA_OECONF = " \
     --disable-lcms2 \
     --disable-vapoursynth \
     --disable-vapoursynth-lazy \
+    ${PACKAGECONFIG_CONFARGS} \
 "
 
 do_configure_prepend () {
Signature · 1 line
2.10.0
#4 lore raw

PATCH 5/5 chrony: add PACKAGECONFIG for nss, libcap

In reply to Martin Jansa

* fixes autodetected dependencies
http://logs.nslu2-linux.org/buildlogs/oe/world/log.report.20160905_011801.log
chrony-2.4: chronyc rdepends on nss, but it isn't a build dependency, missing nss in DEPENDS or PACKAGECONFIG? [build-deps] chrony-2.4: chrony rdepends on libcap, but it isn't a build dependency, missing libcap in DEPENDS or PACKAGECONFIG? [build-deps] chrony-2.4: chrony rdepends on nss, but it isn't a build dependency, missing nss in DEPENDS or PACKAGECONFIG? [build-deps]
* also use PACKAGECONFIG_CONFARGS instead of EXTRA_OECONF in do_configure

---
 meta-networking/recipes-support/chrony/chrony_2.4.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-networking/recipes-support/chrony/chrony_2.4.bb +3 -1
index 4bc4ce0..a8898dc 100644
@@ -67,6 +67,8 @@ PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss"
 PACKAGECONFIG[privdrop] = ",--disable-privdrop,libcap"
 PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp"
 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
+PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss"
+PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap"
 
 # --disable-static isn't supported by chrony's configure script.
 DISABLE_STATIC = ""
@@ -74,7 +76,7 @@ DISABLE_STATIC = ""
 do_configure() {
     ./configure --sysconfdir=${sysconfdir} --bindir=${bindir} --sbindir=${sbindir} \
                 --localstatedir=${localstatedir} --datarootdir=${datadir} \
-                ${EXTRA_OECONF}
+                ${PACKAGECONFIG_CONFARGS}
 }
 
 do_install() {
Signature · 1 line
2.10.0