Skip to contentSkip to conversation

python-pybind11: add pybind11 for operability between C++11 and Python

PATCH New Denys Dmytriyenko 1 participant 4 messages Oct 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 python-pybind11: add pybind11 for operability between C++11 and Python

From: Denys Dmytriyenko <[email protected]>

---
 meta-arago-extras/recipes-devtools/python/python-pybind11.inc    | 9 +++++++++
 .../recipes-devtools/python/python-pybind11_1.8.1.bb             | 2 ++
 .../recipes-devtools/python/python3-pybind11_1.8.1.bb            | 2 ++
 3 files changed, 13 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/python/python-pybind11.inc
 create mode 100644 meta-arago-extras/recipes-devtools/python/python-pybind11_1.8.1.bb
 create mode 100644 meta-arago-extras/recipes-devtools/python/python3-pybind11_1.8.1.bb
meta-arago-extras/recipes-devtools/python/python-pybind11.inc new file +9 -0
new file mode 100644
index 0000000..e13f6a5
@@ -0,0 +1,9 @@
+SUMMARY = "Seamless operability between C++11 and Python"
+HOMEPAGE = "https://github.com/wjakob/pybind11"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1e9383cd3e97753d7dd6067d079519ea"
+PR = "r0"
+
+SRC_URI = "https://pypi.python.org/packages/89/0b/f3a25633e49be5fae17ed2c7751c8106a08199db70e3c82e8cc043388ba9/pybind11-1.8.1.tar.gz"
+SRC_URI[md5sum] = "67845d8fd89a1c400dc7c61ccdee14d6"
+SRC_URI[sha256sum] = "358d4b7d8c38cd1dde66064178c6bbaaa2c479a44e67e642820fe0f329a4fff8"
meta-arago-extras/recipes-devtools/python/python-pybind11_1.8.1.bb new file +2 -0
new file mode 100644
index 0000000..e567430
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-pybind11.inc
meta-arago-extras/recipes-devtools/python/python3-pybind11_1.8.1.bb new file +2 -0
new file mode 100644
index 0000000..355e284
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pybind11.inc
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/4 libdrm: setup kmstest binary to be alternative provider

From: Denys Dmytriyenko <[email protected]>

---
 meta-arago-distro/recipes-graphics/drm/libdrm_%.bbappend | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-graphics/drm/libdrm_%.bbappend +7 -1
index 0ef183e..978231f 100644
@@ -2,4 +2,10 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 SRC_URI += "file://0001-Add-option-to-run-a-test-indefinitely.patch"
 
-PR_append = ".arago0"
+PR_append = ".arago1"
+
+inherit update-alternatives
+
+ALTERNATIVE_PRIORITY = "10"
+ALTERNATIVE_${PN} = "kmstest"
+ALTERNATIVE_LINK_NAME[kmstest] = "${bindir}/kmstest"
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/4 kms++: add C++ library for kernel mode setting

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 .../recipes-graphics/kms++/kms++_git.bb             | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-arago-extras/recipes-graphics/kms++/kms++_git.bb
meta-arago-extras/recipes-graphics/kms++/kms++_git.bb new file +21 -0
new file mode 100644
index 0000000..c8f3854
@@ -0,0 +1,21 @@
+SUMMARY = "C++ library for kernel mode setting"
+HOMEPAGE = "https://github.com/tomba/kmsxx"
+LICENSE = "MPL-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c670e18272184fc0e86e1648678b4f2a"
+
+PV = "1.0"
+PR = "r0"
+
+BRANCH = "master"
+SRC_URI = "git://github.com/tomba/kmsxx.git;protocol=http;branch=${BRANCH}"
+SRCREV = "546e8d16dbc4dc74038dbcf86567186dbd80c3ab"
+
+DEPENDS = "drm python3 python3-pybind11"
+
+S = "${WORKDIR}/git"
+
+inherit cmake update-alternatives
+
+ALTERNATIVE_PRIORITY = "100"
+ALTERNATIVE_${PN} = "kmstest"
+ALTERNATIVE_LINK_NAME[kmstest] = "${bindir}/kmstest"
Signature · 1 line
2.7.4
#3 lore raw

PATCH 4/4 packagegroup-*-addons: include kms++

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 .../recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +2 -1
index f02f062..ccfad61 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to install additional utilities/demos for SDKs"
 LICENSE = "MIT"
-PR = "r53"
+PR = "r54"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -21,6 +21,7 @@ UTILS = " \
     openssh-sftp-server \
     ptpd \
     libdrm-kms \
+    kms++ \
     ${@bb.utils.contains('TUNE_FEATURES', 'armv7a', 'valgrind', '', d)} \
     stream \
     strongswan \
Signature · 1 line
2.7.4