{"id":809336,"url":"http://patchwork.ozlabs.org/api/patches/809336/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20170903172130.31822-1-bernd.kuhls@t-online.de/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170903172130.31822-1-bernd.kuhls@t-online.de>","list_archive_url":null,"date":"2017-09-03T17:21:30","name":"[1/1] package/waylandpp: new package","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"b10b576ad3818fe39831f31874e7537053b3bbba","submitter":{"id":62613,"url":"http://patchwork.ozlabs.org/api/people/62613/?format=json","name":"Bernd Kuhls","email":"bernd.kuhls@t-online.de"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20170903172130.31822-1-bernd.kuhls@t-online.de/mbox/","series":[{"id":1262,"url":"http://patchwork.ozlabs.org/api/series/1262/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=1262","date":"2017-09-03T17:21:30","name":"[1/1] package/waylandpp: new package","version":1,"mbox":"http://patchwork.ozlabs.org/series/1262/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/809336/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/809336/checks/","tags":{},"related":[],"headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xlfsn2cF2z9t2y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  4 Sep 2017 03:21:48 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id D633686954;\n\tSun,  3 Sep 2017 17:21:41 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id cDtuqpoRnpnv; Sun,  3 Sep 2017 17:21:38 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id D8DEF86944;\n\tSun,  3 Sep 2017 17:21:38 +0000 (UTC)","from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 656CD1C2306\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 17:21:37 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 5DFE188773\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 17:21:37 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 9+rE08MGo+5H for <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 17:21:35 +0000 (UTC)","from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 79BB28853B\n\tfor <buildroot@buildroot.org>; Sun,  3 Sep 2017 17:21:35 +0000 (UTC)","from fwd13.aul.t-online.de (fwd13.aul.t-online.de [172.20.27.62])\n\tby mailout08.t-online.de (Postfix) with SMTP id 238C441DD4EF\n\tfor <buildroot@buildroot.org>; Sun,  3 Sep 2017 19:21:33 +0200 (CEST)","from fli4l.lan.fli4l\n\t(rIXcrqZcZhKAjABWTdHmA+3P-tybSjAtqxPuBtfA768VfBipptKoUhKkrI88DOlQCY@[79.222.100.78])\n\tby fwd13.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted)\n\tesmtp id 1doYaS-1WOzzc0; Sun, 3 Sep 2017 19:21:32 +0200","from mahler.lan.fli4l ([192.168.1.1]:35892 helo=kuhls.lan.fli4l)\n\tby fli4l.lan.fli4l with esmtp (Exim 4.89)\n\t(envelope-from <bernd.kuhls@t-online.de>) id 1doYaR-0005zP-5x\n\tfor buildroot@buildroot.org; Sun, 03 Sep 2017 19:21:31 +0200"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","From":"Bernd Kuhls <bernd.kuhls@t-online.de>","To":"buildroot@buildroot.org","Date":"Sun,  3 Sep 2017 19:21:30 +0200","Message-Id":"<20170903172130.31822-1-bernd.kuhls@t-online.de>","X-Mailer":"git-send-email 2.11.0","X-ID":"rIXcrqZcZhKAjABWTdHmA+3P-tybSjAtqxPuBtfA768VfBipptKoUhKkrI88DOlQCY","X-TOI-MSGID":"54d90c04-292e-4f90-b4a9-dcf23ccc5932","Subject":"[Buildroot] [PATCH 1/1] package/waylandpp: new package","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"},"content":"Needed for Wayland support in the next Kodi release 18-Leia:\n\nhttps://kodi.tv/article/gsoc-2017-update-wayland-support\nhttps://forum.kodi.tv/showthread.php?tid=309254\n\nBuild-tested using latest Kodi master branch:\n\n$ output/host/bin/x86_64-buildroot-linux-uclibc-readelf -a \\\n  output/target/usr/lib/kodi/kodi.bin | grep NEEDED | sort | \\\n  grep wayland\n 0x0000000000000001 (NEEDED)             Shared library: [libwayland-client++.so.0]\n 0x0000000000000001 (NEEDED)             Shared library: [libwayland-cursor++.so.0]\n 0x0000000000000001 (NEEDED)             Shared library: [libwayland-egl++.so.0]\n\nSigned-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n---\nTested with test-pkg using this defconfig:\n\nBR2_PACKAGE_MESA3D=y\nBR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST=y\nBR2_PACKAGE_MESA3D_OPENGL_EGL=y\nBR2_PACKAGE_XORG7=y\nBR2_PACKAGE_WAYLANDPP=y\n\n                armv5-ctng-linux-gnueabi [ 1/47]: SKIPPED\n              armv7-ctng-linux-gnueabihf [ 2/47]: SKIPPED\n                        br-aarch64-glibc [ 3/47]: OK\n                           br-arcle-hs38 [ 4/47]: OK\n                            br-arm-basic [ 5/47]: SKIPPED\n                  br-arm-cortex-a9-glibc [ 6/47]: OK\n                   br-arm-cortex-a9-musl [ 7/47]: OK\n                   br-arm-cortex-m4-full [ 8/47]: SKIPPED\n                             br-arm-full [ 9/47]: OK\n                    br-arm-full-nothread [10/47]: SKIPPED\n                      br-arm-full-static [11/47]: SKIPPED\n                            br-bfin-full [12/47]: SKIPPED\n                   br-i386-pentium4-full [13/47]: OK\n                br-i386-pentium-mmx-musl [14/47]: OK\n                       br-m68k-5208-full [15/47]: SKIPPED\n                      br-m68k-68040-full [16/47]: SKIPPED\n                    br-microblazeel-full [17/47]: SKIPPED\n                 br-mips32r6-el-hf-glibc [18/47]: OK\n                      br-mips64-n64-full [19/47]: OK\n                 br-mips64r6-el-hf-glibc [20/47]: OK\n                      br-mipsel-o32-full [21/47]: OK\n                          br-nios2-glibc [22/47]: OK\n                      br-openrisc-uclibc [23/47]: SKIPPED\n               br-powerpc-603e-basic-cpp [24/47]: SKIPPED\n             br-powerpc64le-power8-glibc [25/47]: OK\n               br-powerpc64-power7-glibc [26/47]: OK\n                  br-powerpc-e500mc-full [27/47]: OK\n                             br-sh4-full [28/47]: OK\n                        br-sparc64-glibc [29/47]: OK\n                         br-sparc-uclibc [30/47]: SKIPPED\n                    br-x86-64-core2-full [31/47]: OK\n                          br-x86-64-musl [32/47]: OK\n                          br-xtensa-full [33/47]: OK\n                     i686-ctng-linux-gnu [34/47]: SKIPPED\n                          linaro-aarch64 [35/47]: OK\n                              linaro-arm [36/47]: OK\n             mips64el-ctng_n32-linux-gnu [37/47]: SKIPPED\n             mips64el-ctng_n64-linux-gnu [38/47]: SKIPPED\n        powerpc-ctng_e500v2-linux-gnuspe [39/47]: SKIPPED\n                     sourcery-arm-armv4t [40/47]: SKIPPED\n                            sourcery-arm [41/47]: SKIPPED\n                     sourcery-arm-thumb2 [42/47]: SKIPPED\n                         sourcery-mips64 [43/47]: OK\n                           sourcery-mips [44/47]: OK\n                          sourcery-nios2 [45/47]: OK\n                         sourcery-x86-64 [46/47]: OK\n           x86_64-ctng_locales-linux-gnu [47/47]: SKIPPED\n47 builds, 21 skipped, 0 build failed, 0 legal-info failed\n\n DEVELOPERS                       |  1 +\n package/Config.in                |  1 +\n package/waylandpp/Config.in      | 13 ++++++++++\n package/waylandpp/waylandpp.hash |  2 ++\n package/waylandpp/waylandpp.mk   | 56 ++++++++++++++++++++++++++++++++++++++++\n 5 files changed, 73 insertions(+)\n create mode 100644 package/waylandpp/Config.in\n create mode 100644 package/waylandpp/waylandpp.hash\n create mode 100644 package/waylandpp/waylandpp.mk","diff":"diff --git a/DEVELOPERS b/DEVELOPERS\nindex cc9c1eeca..279138346 100644\n--- a/DEVELOPERS\n+++ b/DEVELOPERS\n@@ -311,6 +311,7 @@ F:\tpackage/vdr/\n F:\tpackage/vdr-plugin-vnsiserver/\n F:\tpackage/vlc/\n F:\tpackage/vnstat/\n+F:\tpackage/waylandpp/\n F:\tpackage/x11r7/\n F:\tpackage/x264/\n F:\tpackage/x265/\ndiff --git a/package/Config.in b/package/Config.in\nindex 1aba24853..4e8d5df85 100644\n--- a/package/Config.in\n+++ b/package/Config.in\n@@ -1118,6 +1118,7 @@ menu \"Graphics\"\n \tsource \"package/powervr/Config.in\"\n \tsource \"package/tiff/Config.in\"\n \tsource \"package/wayland/Config.in\"\n+\tsource \"package/waylandpp/Config.in\"\n \tsource \"package/wayland-protocols/Config.in\"\n \tsource \"package/webkitgtk/Config.in\"\n \tsource \"package/webp/Config.in\"\ndiff --git a/package/waylandpp/Config.in b/package/waylandpp/Config.in\nnew file mode 100644\nindex 000000000..43df81d3f\n--- /dev/null\n+++ b/package/waylandpp/Config.in\n@@ -0,0 +1,13 @@\n+config BR2_PACKAGE_WAYLANDPP\n+\tbool \"waylandpp\"\n+\tdepends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND\n+\tdepends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9\n+\tselect BR2_PACKAGE_WAYLAND\n+\thelp\n+\t  Wayland C++ bindings\n+\n+\t  https://github.com/NilsBrause/waylandpp\n+\n+comment \"waylandpp needs an OpenGL-EGL/wayland backend, gcc >= 4.9\"\n+\tdepends on !BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \\\n+\t\t!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9\ndiff --git a/package/waylandpp/waylandpp.hash b/package/waylandpp/waylandpp.hash\nnew file mode 100644\nindex 000000000..f2edb10a0\n--- /dev/null\n+++ b/package/waylandpp/waylandpp.hash\n@@ -0,0 +1,2 @@\n+# Locally computed\n+sha256 fabf0b512285abea77678d9e079009569e9eb3fd98c6b851d50bc5b6c781c7d8  waylandpp-0.1.2.tar.gz\ndiff --git a/package/waylandpp/waylandpp.mk b/package/waylandpp/waylandpp.mk\nnew file mode 100644\nindex 000000000..7706ad628\n--- /dev/null\n+++ b/package/waylandpp/waylandpp.mk\n@@ -0,0 +1,56 @@\n+################################################################################\n+#\n+# waylandpp\n+#\n+################################################################################\n+\n+WAYLANDPP_VERSION = 0.1.2\n+WAYLANDPP_SITE = $(call github,NilsBrause,waylandpp,$(WAYLANDPP_VERSION))\n+WAYLANDPP_LICENSE = MIT, GPL-3.0+ (wayland_scanner)\n+WAYLANDPP_LICENSE_FILES = LICENSE scanner/gpl-3.0.txt\n+WAYLANDPP_INSTALL_STAGING = YES\n+WAYLANDPP_DEPENDENCIES = libegl host-pkgconf host-scons wayland\n+\n+WAYLANDPP_SCONS_OPTS = \\\n+\t-j$(PARALLEL_JOBS)\n+\n+WAYLANDPP_SCONS_ENV = \\\n+\tCXX=\"$(HOSTCXX)\" \\\n+\tCXXFLAGS=\"$(HOST_CXXFLAGS)\" \\\n+\tCROSSCXX=\"$(TARGET_CXX)\" \\\n+\tCROSSCXXFLAGS=\"$(TARGET_CXXFLAGS)\"\n+\n+# Waylandpp needs the host binary of wayland-scanner++ during build.\n+# Its build is triggered due to the use of the CROSSCXX* variables.\n+# Unfortunately this host binary gets installed to the target dirs\n+# triggering an error when check-bin-arch is invoked.\n+# To avoid having a host-waylandpp package, which needs host-wayland,\n+# we move this host binary to HOST_DIR to be used by other packages...\n+define WAYLANDPP_INSTALL_STAGING_CMDS\n+\t(cd $(@D); \\\n+\t\t$(TARGET_CONFIGURE_OPTS) \\\n+\t\t$(WAYLANDPP_SCONS_ENV) \\\n+\t\tROOT=\"$(STAGING_DIR)\" \\\n+\t\tPREFIX=\"/usr\" \\\n+\t\t$(SCONS) install \\\n+\t\t$(WAYLANDPP_SCONS_OPTS) \\\n+\t)\n+\trm -v \"$(STAGING_DIR)/usr/lib/pkgconfig/wayland-scanner++.pc\"\n+\tmv \"$(STAGING_DIR)/usr/bin/wayland-scanner++\" \"$(HOST_DIR)/bin/\"\n+endef\n+\n+# ... and delete wayland-scanner++ here.\n+define WAYLANDPP_INSTALL_TARGET_CMDS\n+\t(cd $(@D); \\\n+\t\t$(TARGET_CONFIGURE_OPTS) \\\n+\t\t$(WAYLANDPP_SCONS_ENV) \\\n+\t\tROOT=\"$(TARGET_DIR)\" \\\n+\t\tPREFIX=\"/usr\" \\\n+\t\t$(SCONS) install \\\n+\t\t$(WAYLANDPP_SCONS_OPTS) \\\n+\t)\n+\trm -v \"$(TARGET_DIR)/usr/lib/pkgconfig/wayland-scanner++.pc\" \\\n+\t\t\"$(TARGET_DIR)/usr/bin/wayland-scanner++\"\n+endef\n+\n+$(eval $(generic-package))\n","prefixes":["1/1"]}