Skip to contentSkip to conversation

frame: initial add 2.5.0

PATCH In review Andreas Müller 2 participants 7 messages Jan 26, 2016 – Feb 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 frame: initial add 2.5.0

Note: configure.ac asks for xorg-server explicitly.

---
 .../canonical-multitouch/frame_2.5.0.bb             | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb
meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb new file +21 -0
new file mode 100644
index 0000000..ecc9524
@@ -0,0 +1,21 @@
+SUMMARY = "Frame handles simultaneous touches"
+
+HOMEPAGE = "https://launchpad.net/frame"
+
+LICENSE = "GPLv3 & LGPLv3"
+LIC_FILES_CHKSUM = " \
+    file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02 \
+    file://COPYING.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
+"
+
+inherit autotools pkgconfig
+
+SRC_URI = "https://launchpad.net/${BPN}/trunk/v${PV}/+download/${BPN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "02baa941091c5d198cd1623b3ad36e68"
+SRC_URI[sha256sum] = "cfb9ab52cdccd926f1822a457264d0014c7eb9f4600a72626063dd073b26256f"
+
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
+PACKAGECONFIG[x11] = "--enable-x11, --disable-x11, libxi xext virtual/xserver"
+
+PACKAGE_BEFORE_PN += "${PN}-test"
+FILES_${PN}-test = "${bindir}/frame-test*"
Signature · 1 line
2.5.0
#1 lore raw

PATCH 2/3 grail: initial add 3.1.0

---
 .../canonical-multitouch/grail_3.1.0.bb            | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-oe/recipes-support/canonical-multitouch/grail_3.1.0.bb
meta-oe/recipes-support/canonical-multitouch/grail_3.1.0.bb new file +23 -0
new file mode 100644
index 0000000..6ea10d6
@@ -0,0 +1,23 @@
+SUMMARY = "Gesture Recognition And Instantiation Library"
+
+HOMEPAGE = "https://launchpad.net/grail"
+
+LICENSE = "GPLv3 & LGPLv3"
+LIC_FILES_CHKSUM = " \
+    file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02 \
+    file://COPYING.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
+"
+
+inherit autotools pkgconfig
+
+DEPENDS = "frame"
+
+SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.bz2"
+SRC_URI[md5sum] = "2ac56af5f6f466b433c99ca12f34c34f"
+SRC_URI[sha256sum] = "c26dced1b3f4317ecf6af36db0e90294d87e43966d56aecc4e97b65368ab78b9"
+
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
+PACKAGECONFIG[x11] = "--with-x11, --without-x11, libxi"
+
+PACKAGE_BEFORE_PN += "${PN}-test"
+FILES_${PN}-test = "${bindir}/grail-test*"
Signature · 1 line
2.5.0
#2 lore raw

PATCH 3/3 geis: initial add 2.2.17

In reply to Andreas Müller
---
 .../canonical-multitouch/geis_2.2.17.bb            | 52 ++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb new file +52 -0
new file mode 100644
index 0000000..9403bdf
@@ -0,0 +1,52 @@
+SUMMARY = "An implementation of the GEIS interface"
+DESCRIPTION = "An implementation of the GEIS (Gesture Engine Interface and Support) \
+interface\
+GEIS is a library for applications and toolkit programmers which \
+provides a consistent platform independent interface for any \
+system-wide input gesture recognition mechanism."
+
+HOMEPAGE = "https://launchpad.net/geis"
+
+LICENSE = "GPLv3 & LGPLv3"
+LIC_FILES_CHKSUM = " \
+    file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6 \
+    file://COPYING.GPL;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
+"
+
+inherit autotools pkgconfig python3native lib_package
+
+DEPENDS += "grail dbus-glib python3"
+
+SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.xz"
+SRC_URI[md5sum] = "2ff9d76a3ea5794516bb02c9d1924faf"
+SRC_URI[sha256sum] = "8a60f5683852094038904e690d23cc5a90a980fc52da67f0f28890baa25c70eb"
+
+EXTRA_OECONF = "--disable-integration-tests"
+
+FILES_${PN}-bin = "${bindir}"
+RDEPENDS_${PN}-bin = " \
+    python3-compression \
+    python3-core \
+    python3-crypt \
+    python3-ctypes \
+    python3-fcntl \
+    python3-misc \
+    python3-pickle \
+    python3-shell \
+    python3-stringold \
+    python3-subprocess \
+    python3-textutils \
+    python3-threading \
+"
+
+FILES_${PN} += " \
+    ${datadir}/geisview \
+    ${libdir}/${PYTHON_DIR}/site-packages/geis* \
+    ${libdir}/${PYTHON_DIR}/site-packages/_*.so \
+"
+
+FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug"
+
+FILES_${PN}-dev += "${libdir}/${PYTHON_DIR}/site-packages/_*.la"
+
+FILES_${PN}-staticdev += "${libdir}/${PYTHON_DIR}/site-packages/_*.a"
Signature · 1 line
2.5.0
#3 lore raw

Re: [PATCH 3/3] geis: initial add 2.2.17

Quoted 20 lines · Andreas Müller
---
 .../canonical-multitouch/geis_2.2.17.bb            | 52 ++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb new file +8 -0
new file mode 100644
index 0000000..9403bdf
@@ -0,0 +1,52 @@
+SUMMARY = "An implementation of the GEIS interface"
+DESCRIPTION = "An implementation of the GEIS (Gesture Engine Interface and Support) \
+interface\
+GEIS is a library for applications and toolkit programmers which \
+provides a consistent platform independent interface for any \
+system-wide input gesture recognition mechanism."
+
+HOMEPAGE = "https://launchpad.net/geis"

meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb line 18

Quoted 10 lines
meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb new file +10 -0
+
+LICENSE = "GPLv3 & LGPLv3"
+LIC_FILES_CHKSUM = " \
+    file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6 \
+    file://COPYING.GPL;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
+"
+
+inherit autotools pkgconfig python3native lib_package
+
+DEPENDS += "grail dbus-glib python3"

Fails to build without XCB (building in DISTRO without x11 in DISTRO_FEATURES)

| configure: error: XCB development libraries not found

Quoted 42 lines
meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb new file +34 -0
+
+SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.xz"
+SRC_URI[md5sum] = "2ff9d76a3ea5794516bb02c9d1924faf"
+SRC_URI[sha256sum] = "8a60f5683852094038904e690d23cc5a90a980fc52da67f0f28890baa25c70eb"
+
+EXTRA_OECONF = "--disable-integration-tests"
+
+FILES_${PN}-bin = "${bindir}"
+RDEPENDS_${PN}-bin = " \
+    python3-compression \
+    python3-core \
+    python3-crypt \
+    python3-ctypes \
+    python3-fcntl \
+    python3-misc \
+    python3-pickle \
+    python3-shell \
+    python3-stringold \
+    python3-subprocess \
+    python3-textutils \
+    python3-threading \
+"
+
+FILES_${PN} += " \
+    ${datadir}/geisview \
+    ${libdir}/${PYTHON_DIR}/site-packages/geis* \
+    ${libdir}/${PYTHON_DIR}/site-packages/_*.so \
+"
+
+FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug"
+
+FILES_${PN}-dev += "${libdir}/${PYTHON_DIR}/site-packages/_*.la"
+
+FILES_${PN}-staticdev += "${libdir}/${PYTHON_DIR}/site-packages/_*.a"
Signature · 7 lines
2.5.0

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#4 lore raw

Re: [PATCH 3/3] geis: initial add 2.2.17

Quoted 74 lines · Martin Jansa
Quoted 20 lines · Andreas Müller
---
 .../canonical-multitouch/geis_2.2.17.bb            | 52 ++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb new file +8 -0
new file mode 100644
index 0000000..9403bdf
@@ -0,0 +1,52 @@
+SUMMARY = "An implementation of the GEIS interface"
+DESCRIPTION = "An implementation of the GEIS (Gesture Engine Interface and Support) \
+interface\
+GEIS is a library for applications and toolkit programmers which \
+provides a consistent platform independent interface for any \
+system-wide input gesture recognition mechanism."
+
+HOMEPAGE = "https://launchpad.net/geis"

meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb line 18

Quoted 10 lines
meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb new file +10 -0
+
+LICENSE = "GPLv3 & LGPLv3"
+LIC_FILES_CHKSUM = " \
+    file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6 \
+    file://COPYING.GPL;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
+"
+
+inherit autotools pkgconfig python3native lib_package
+
+DEPENDS += "grail dbus-glib python3"

Fails to build without XCB (building in DISTRO without x11 in DISTRO_FEATURES)

| configure: error: XCB development libraries not found

Quoted 37 lines
meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb new file +34 -1
+
+SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.xz"
+SRC_URI[md5sum] = "2ff9d76a3ea5794516bb02c9d1924faf"
+SRC_URI[sha256sum] = "8a60f5683852094038904e690d23cc5a90a980fc52da67f0f28890baa25c70eb"
+
+EXTRA_OECONF = "--disable-integration-tests"
+
+FILES_${PN}-bin = "${bindir}"
+RDEPENDS_${PN}-bin = " \
+    python3-compression \
+    python3-core \
+    python3-crypt \
+    python3-ctypes \
+    python3-fcntl \
+    python3-misc \
+    python3-pickle \
+    python3-shell \
+    python3-stringold \
+    python3-subprocess \
+    python3-textutils \
+    python3-threading \
+"
+
+FILES_${PN} += " \
+    ${datadir}/geisview \
+    ${libdir}/${PYTHON_DIR}/site-packages/geis* \
+    ${libdir}/${PYTHON_DIR}/site-packages/_*.so \
+"
+
+FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug"
+
+FILES_${PN}-dev += "${libdir}/${PYTHON_DIR}/site-packages/_*.la"
+
+FILES_${PN}-staticdev += "${libdir}/${PYTHON_DIR}/site-packages/_*.a"
--

2.5.0

Quoted 1 line
Quoted 1 line

--

Will check if is possible to be modified to build x-less (unlikely) or add REQUIRED_DISTRO_FEATURES in a lollow up.

Andreas

#5 lore raw

PATCH 1/2 zsh: Explicitly set EXTRA_OEMAKE as required

* This recipe currently relies on EXTRA_OEMAKE having been to set to "-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this explicit so that the default in bitbake.conf can be changed.
* Unfortunately the build doesn't fail, it just produces almost empty output and QA warning is shown:
WARNING: zsh-5.0.5-r0 do_package: QA Issue: zsh: Files/directories were installed but not shipped in any package:
/usr
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
zsh: 1 installed and not shipped files. [installed-vs-shipped]

---
 meta-oe/recipes-extended/zsh/zsh_5.0.5.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-extended/zsh/zsh_5.0.5.bb +2 -0
index 658f3d9..39b2d95 100644
@@ -30,6 +30,8 @@ EXTRA_OECONF = " \
     zsh_cv_shared_environ=yes \
 "
 
+EXTRA_OEMAKE = "-e MAKEFLAGS="
+
 ALTERNATIVE_${PN} = "sh"
 ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh"
 ALTERNATIVE_TARGET[sh] = "${base_bindir}/${BPN}"
Signature · 1 line
2.7.1
#6 lore raw

PATCH 2/2 geis: add missing dependency on virtual/libx11 libxext libxi libxcb dbus frame

* all these are checked by configure.ac with PKG_CHECK_MODULES
* add x11 to required DISTRO_FEATURES

---
 meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb +4 -2
index 9403bdf..bc88143 100644
@@ -13,9 +13,11 @@ LIC_FILES_CHKSUM = " \
     file://COPYING.GPL;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
 "
 
-inherit autotools pkgconfig python3native lib_package
+inherit autotools pkgconfig python3native lib_package distro_features_check
 
-DEPENDS += "grail dbus-glib python3"
+REQUIRED_DISTRO_FEATURES = "x11"
+
+DEPENDS += "grail dbus-glib python3 virtual/libx11 libxext libxi libxcb dbus frame"
 
 SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.xz"
 SRC_URI[md5sum] = "2ff9d76a3ea5794516bb02c9d1924faf"
Signature · 1 line
2.7.1