All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/8] libevdev: Add libdevdev which is a dependency for libinput
@ 2014-08-19 16:45 Franklin S. Cooper Jr
  2014-08-19 16:45 ` [PATCH 2/8] libinput: Add new library which is a optional dependency for Weston Franklin S. Cooper Jr
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Franklin S. Cooper Jr @ 2014-08-19 16:45 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

From: "Franklin S. Cooper Jr" <fcooper@ti.com>

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../recipes-devtools/libevdev/libevdev_git.bb      |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/libevdev/libevdev_git.bb

diff --git a/meta-arago-extras/recipes-devtools/libevdev/libevdev_git.bb b/meta-arago-extras/recipes-devtools/libevdev/libevdev_git.bb
new file mode 100644
index 0000000..508beb3
--- /dev/null
+++ b/meta-arago-extras/recipes-devtools/libevdev/libevdev_git.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "libevdev is a wrapper library for evdev devices"
+HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libevdev/"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=75aae0d38feea6fda97ca381cb9132eb"
+
+inherit autotools pkgconfig
+
+PR = "r0"
+
+BRANCH = "master"
+SRCREV = "a5f150ef57a1a5c67e94163f6f5a60687049413f"
+PV = "1.2.99.901"
+SRC_URI = "git://anongit.freedesktop.org/libevdev;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/8] libinput: Add new library which is a optional dependency for Weston
  2014-08-19 16:45 [PATCH 1/8] libevdev: Add libdevdev which is a dependency for libinput Franklin S. Cooper Jr
@ 2014-08-19 16:45 ` Franklin S. Cooper Jr
  2014-08-19 16:45 ` [PATCH 3/8] weston: Pull in Weston 1.5.0 from oe-core master Franklin S. Cooper Jr
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Franklin S. Cooper Jr @ 2014-08-19 16:45 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

From: "Franklin S. Cooper Jr" <fcooper@ti.com>

* Libinput separates some of the input handling from Weston.
* Also it has newer features and bug fixes that the Weston built in variant
  doesn't have.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../recipes-graphics/wayland/libinput_git.bb       |   22 ++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-arago-extras/recipes-graphics/wayland/libinput_git.bb

diff --git a/meta-arago-extras/recipes-graphics/wayland/libinput_git.bb b/meta-arago-extras/recipes-graphics/wayland/libinput_git.bb
new file mode 100644
index 0000000..a3e121e
--- /dev/null
+++ b/meta-arago-extras/recipes-graphics/wayland/libinput_git.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "libinput is a library to handle input devices in Wayland compositors"
+HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libinput/"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=673e626420c7f859fbe2be3a9c13632d"
+
+inherit autotools pkgconfig
+
+DEPENDS = "libevdev"
+
+PR = "r0"
+
+BRANCH = "master"
+SRCREV = "bb10ec84d3704fc0fb40591bcbffe90f6c77966d"
+
+PV = "0.5.0"
+
+SRC_URI = "git://anongit.freedesktop.org/wayland/libinput;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/8] weston: Pull in Weston 1.5.0 from oe-core master
  2014-08-19 16:45 [PATCH 1/8] libevdev: Add libdevdev which is a dependency for libinput Franklin S. Cooper Jr
  2014-08-19 16:45 ` [PATCH 2/8] libinput: Add new library which is a optional dependency for Weston Franklin S. Cooper Jr
@ 2014-08-19 16:45 ` Franklin S. Cooper Jr
  2014-08-19 16:45 ` [PATCH 4/8] wayland: Pull in wayland " Franklin S. Cooper Jr
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Franklin S. Cooper Jr @ 2014-08-19 16:45 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

From: "Franklin S. Cooper Jr" <fcooper@ti.com>

* This version is required to fix a Qt 5 issue.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../weston/disable-wayland-scanner-pkg-check.patch |   13 +++
 .../weston/make-lcms-explicitly-configurable.patch |   43 ++++++++++
 .../make-libwebp-explicitly-configurable.patch     |   37 +++++++++
 .../recipes-graphics/wayland/weston/weston.desktop |    9 ++
 .../recipes-graphics/wayland/weston/weston.png     |  Bin 0 -> 2383 bytes
 .../recipes-graphics/wayland/weston_1.5.0.bb       |   87 ++++++++++++++++++++
 6 files changed, 189 insertions(+)
 create mode 100644 meta-arago-extras/recipes-graphics/wayland/weston/disable-wayland-scanner-pkg-check.patch
 create mode 100644 meta-arago-extras/recipes-graphics/wayland/weston/make-lcms-explicitly-configurable.patch
 create mode 100644 meta-arago-extras/recipes-graphics/wayland/weston/make-libwebp-explicitly-configurable.patch
 create mode 100644 meta-arago-extras/recipes-graphics/wayland/weston/weston.desktop
 create mode 100644 meta-arago-extras/recipes-graphics/wayland/weston/weston.png
 create mode 100644 meta-arago-extras/recipes-graphics/wayland/weston_1.5.0.bb

diff --git a/meta-arago-extras/recipes-graphics/wayland/weston/disable-wayland-scanner-pkg-check.patch b/meta-arago-extras/recipes-graphics/wayland/weston/disable-wayland-scanner-pkg-check.patch
new file mode 100644
index 0000000..062da5c
--- /dev/null
+++ b/meta-arago-extras/recipes-graphics/wayland/weston/disable-wayland-scanner-pkg-check.patch
@@ -0,0 +1,13 @@
+Index: weston-1.5.0/configure.ac
+===================================================================
+--- weston-1.5.0.orig/configure.ac
++++ weston-1.5.0/configure.ac
+@@ -503,7 +503,7 @@ if test x$wayland_scanner = x; then
+ 	AC_MSG_ERROR([wayland-scanner is needed to compile weston])
+ fi
+ 
+-PKG_CHECK_MODULES(WAYLAND_SCANNER, wayland-scanner)
++#PKG_CHECK_MODULES(WAYLAND_SCANNER, wayland-scanner)
+ 
+ AC_CONFIG_FILES([Makefile src/version.h src/weston.pc])
+ 
diff --git a/meta-arago-extras/recipes-graphics/wayland/weston/make-lcms-explicitly-configurable.patch b/meta-arago-extras/recipes-graphics/wayland/weston/make-lcms-explicitly-configurable.patch
new file mode 100644
index 0000000..35e6d6f
--- /dev/null
+++ b/meta-arago-extras/recipes-graphics/wayland/weston/make-lcms-explicitly-configurable.patch
@@ -0,0 +1,43 @@
+weston-1.5.0/configure.ac: make lcms explicitly configurable
+
+The lcms package is outside of openembedded-core, so make it
+explicitly configurable. Make it deterministic, so that if lcms
+dependencies are missing, autoconf throws a fatal error. Follow
+upstream style to make it more likely to be merged.
+
+Upstream-Status: Pending
+
+Index: weston-1.5.0/configure.ac
+===================================================================
+--- weston-1.5.0.orig/configure.ac
++++ weston-1.5.0/configure.ac
+@@ -491,12 +491,24 @@ AC_ARG_ENABLE(demo-clients-install,
+ 			     enable_demo_clients_install=no)
+ AM_CONDITIONAL(INSTALL_DEMO_CLIENTS, [test "x$enable_demo_clients_install" = "xyes"])
+ 
+-PKG_CHECK_MODULES(LCMS, lcms2,
+-                  [have_lcms=yes], [have_lcms=no])
+-if test "x$have_lcms" = xyes; then
+-       AC_DEFINE(HAVE_LCMS, 1, [Have lcms support])
++AC_ARG_ENABLE(lcms,
++              AS_HELP_STRING([--disable-lcms],
++                             [Disable lcms support]),,
++              enable_lcms=auto)
++AM_CONDITIONAL(HAVE_LCMS, [test "x$enable_lcms" = xyes])
++if test "x$enable_lcms" != "xno"; then
++        PKG_CHECK_MODULES(LCMS, 
++                         lcms2,
++                         [have_lcms=yes],
++                         [have_lcms=no])
++        if test "x$have_lcms" = "xno" -a "x$enable_lcms" = "xyes"; then
++          AC_MSG_ERROR([lcms support explicitly requested, but lcms couldn't be found])
++        fi
++        if test "x$have_lcms" = "xyes"; then
++                enable_lcms=yes
++                AC_DEFINE(HAVE_LCMS, 1, [Have lcms support])
++        fi
+ fi
+-AM_CONDITIONAL(HAVE_LCMS, [test "x$have_lcms" = xyes])
+ 
+ AC_PATH_PROG([wayland_scanner], [wayland-scanner])
+ if test x$wayland_scanner = x; then
diff --git a/meta-arago-extras/recipes-graphics/wayland/weston/make-libwebp-explicitly-configurable.patch b/meta-arago-extras/recipes-graphics/wayland/weston/make-libwebp-explicitly-configurable.patch
new file mode 100644
index 0000000..ad07d4f
--- /dev/null
+++ b/meta-arago-extras/recipes-graphics/wayland/weston/make-libwebp-explicitly-configurable.patch
@@ -0,0 +1,37 @@
+
+The libwebp package is outside of openembedded-core, so make it
+explicitly configurable. Make it deterministic, so that if libwebp 
+dependencies are missing, autoconf throws a fatal error.
+
+Upstream-Status: Pending
+
+Index: weston-1.5.0/configure.ac
+===================================================================
+--- weston-1.5.0.orig/configure.ac
++++ weston-1.5.0/configure.ac
+@@ -268,9 +268,22 @@ fi
+ 
+ PKG_CHECK_MODULES(PIXMAN, [pixman-1])
+ PKG_CHECK_MODULES(PNG, [libpng])
+-PKG_CHECK_MODULES(WEBP, [libwebp], [have_webp=yes], [have_webp=no])
+-AS_IF([test "x$have_webp" = "xyes"],
+-      [AC_DEFINE([HAVE_WEBP], [1], [Have webp])])
++AC_ARG_ENABLE(webp,
++              AS_HELP_STRING([--disable-webp],
++                             [Disable libwebp support]),,
++              enable_webp=auto)
++AM_CONDITIONAL(HAVE_WEBP, [test "x$enable_webp" = xyes])
++AS_IF([test "x$enable_webp" != "xno"],
++    PKG_CHECK_MODULES(WEBP,
++                     [libwebp],
++                     [have_webp=yes],
++                     [have_webp=no])
++    AS_IF([test "x$have_webp" = "xno" -a "x$enable_webp" = "xyes"],
++        AC_MSG_ERROR([libwebp support explicitly request, but lipwebp could not be found]))
++    AS_IF([test "x$have_webp" = "xyes"],
++        [enable_webp=yes]
++        [AC_DEFINE([HAVE_WEBP], [1], [Have webp])])
++)
+ 
+ AC_ARG_ENABLE(vaapi-recorder, [  --enable-vaapi-recorder],,
+ 	      enable_vaapi_recorder=auto)
diff --git a/meta-arago-extras/recipes-graphics/wayland/weston/weston.desktop b/meta-arago-extras/recipes-graphics/wayland/weston/weston.desktop
new file mode 100644
index 0000000..1086ae8
--- /dev/null
+++ b/meta-arago-extras/recipes-graphics/wayland/weston/weston.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=Weston
+Comment=Wayland Compostitor
+Exec=weston
+Icon=weston
+Terminal=false
+Categories=Utility;
diff --git a/meta-arago-extras/recipes-graphics/wayland/weston/weston.png b/meta-arago-extras/recipes-graphics/wayland/weston/weston.png
new file mode 100644
index 0000000000000000000000000000000000000000..ea8b7e0e233c86301a88e5bc925f09b3de2f9dec
GIT binary patch
literal 2383
zcmV-V39$BwP)<h;3K|Lk000e1NJLTq001Qb001xu1^@s6mW8t`00004XF*Lt006O%
z3;baP00001b5ch_0Itp)=>Px#AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF*
zm;eA5aGbhPJOBUy24YJ`L;(K){{a7>y{D4^000SaNLh0L00vqB00vqCV0pn~000Od
zNkl<ZSi|j@S!`Ta8OML;-dSvqcRRLIH%>xQqBu<>r2)6lHU)*YGzD6ustAQm;suEZ
zhy*;Kma<erD75fUKvgLcm5Kz2NGK6b8dFMLmXstkO-o}pyW=E|xAAxu&z*Y@58qv9
z?!*;RdCDh^=H7G9`M&@8f6H0mJr=FC_iNW$n_BB-$Eg1YsE9%Jo}0Wb*X6qW&r*}0
z%cZbB<Uck5JwQLu2Q&i)PynWZ3E(o215i7B-D$uAoO<OU(&`Rc2ebi4!=Us5pg@u)
zHlnx(gYCc|nl7LTMZ(o*14SSUyaW6lqj8wlZAVb%B3oZd0u?|58Q0z!Am`aqTI&Sh
zxIcgoxU+j3SOu)WUbL9}<!Yw(K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w^_BQmE&;y>evaII={P{KphDM+LD?Pgu2mQSKH>guL3XT(c-1&a
zK^y}P0DFNqfJ!|u%Yjlr7cd9d{uSdP-&}^)&6_Bm*?_&c205a&x)WIht^lWzg?`-C
zqn88oZkY0~$Z9TQrB4E|smyC$?(h~gMd+&X-GW#aR1B~%z<Oa`U821+msQoSLO%!4
zaW};E;sL}RgUD6%65^H%KqqqT+=>*x0&tFCOWlNI>MZcDkiHCXvpcpM7<R|j$bSK7
zGX0WKUo;y4001R)MObuXVRU6WV{&C-bY%cCFflVNFflDLHdHY(Ix#UiGc+qOFgh?W
z=?fD>0000bbVXQnWMOn=I&E)cX=Zr<GB7bSEif@HF*Z~&GCDCaIx{gVFfckWFv@O(
zSO5S38FWQhbW?9;ba!ELWdL_~cP?peYja~^aAhuUa%Y?FJQ@H1002ovPDHLkV1ms0
BD_j5o

literal 0
HcmV?d00001

diff --git a/meta-arago-extras/recipes-graphics/wayland/weston_1.5.0.bb b/meta-arago-extras/recipes-graphics/wayland/weston_1.5.0.bb
new file mode 100644
index 0000000..4a8584f
--- /dev/null
+++ b/meta-arago-extras/recipes-graphics/wayland/weston_1.5.0.bb
@@ -0,0 +1,87 @@
+SUMMARY = "Weston, a Wayland compositor"
+DESCRIPTION = "Weston is the reference implementation of a Wayland compositor"
+HOMEPAGE = "http://wayland.freedesktop.org"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=275efac2559a224527bd4fd593d38466 \
+                    file://src/compositor.c;endline=23;md5=aa98a8db03480fe7d500d0b1f4b8850c"
+
+SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
+           file://weston.png \
+           file://weston.desktop \
+           file://disable-wayland-scanner-pkg-check.patch \
+           file://make-lcms-explicitly-configurable.patch \
+           file://make-libwebp-explicitly-configurable.patch \
+"
+SRC_URI[md5sum] = "8eb40d230efc2411f083c20656534780"
+SRC_URI[sha256sum] = "06388ba04ac79aa72d685cc1a8e646ddb2b8cfe11fcc742294f9addac48b7684"
+
+inherit autotools pkgconfig useradd
+
+DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg"
+DEPENDS += "wayland virtual/egl pango"
+
+EXTRA_OECONF = "--enable-setuid-install \
+                --disable-xwayland \
+                --enable-simple-clients \
+                --enable-clients \
+                --enable-demo-clients-install \
+                --disable-libunwind \
+                --disable-rpi-compositor \
+                --disable-rdp-compositor \
+                "
+
+
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \
+                   ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
+                   ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'launch', '', d)} \
+                  "
+#
+# Compositor choices
+#
+# Weston on KMS
+PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa mtdev"
+# Weston on Wayland (nested Weston)
+PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa"
+# Weston on X11
+PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
+# Headless Weston
+PACKAGECONFIG[headless] = "--enable-headless-compositor,--disable-headless-compositor"
+# Weston on framebuffer
+PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor,--disable-fbdev-compositor,udev mtdev"
+# weston-launch
+PACKAGECONFIG[launch] = "--enable-weston-launch,--disable-weston-launch,libpam drm"
+# VA-API desktop recorder
+PACKAGECONFIG[vaapi] = "--enable-vaapi-recorder,--disable-vaapi-recorder,libva"
+# Weston with EGL support
+PACKAGECONFIG[egl] = "--enable-egl --enable-simple-egl-clients,--disable-egl --disable-simple-egl-clients,virtual/egl"
+# Weston with cairo glesv2 support
+PACKAGECONFIG[cairo-glesv2] = "--with-cairo-glesv2,--with-cairo=image,cairo"
+# Weston with lcms support
+PACKAGECONFIG[lcms] = "--enable-lcms,--disable-lcms,lcms"
+# Weston with webp support
+PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp"
+
+do_install_append() {
+	# Weston doesn't need the .la files to load modules, so wipe them
+	rm -f ${D}/${libdir}/weston/*.la
+
+	# If X11, ship a desktop file to launch it
+	if [ "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = "x11" ]; then
+		install -d ${D}${datadir}/applications
+		install ${WORKDIR}/weston.desktop ${D}${datadir}/applications
+
+		install -d ${D}${datadir}/icons/hicolor/48x48/apps
+		install ${WORKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps
+        fi
+}
+
+PACKAGES += "${PN}-examples"
+
+FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${datadir}"
+FILES_${PN}-examples = "${bindir}/*"
+
+RDEPENDS_${PN} += "xkeyboard-config"
+RRECOMMENDS_${PN} = "liberation-fonts"
+
+USERADD_PACKAGES = "${PN}"
+GROUPADD_PARAM_${PN} = "--system weston-launch"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 4/8] wayland: Pull in wayland 1.5.0 from oe-core master
  2014-08-19 16:45 [PATCH 1/8] libevdev: Add libdevdev which is a dependency for libinput Franklin S. Cooper Jr
  2014-08-19 16:45 ` [PATCH 2/8] libinput: Add new library which is a optional dependency for Weston Franklin S. Cooper Jr
  2014-08-19 16:45 ` [PATCH 3/8] weston: Pull in Weston 1.5.0 from oe-core master Franklin S. Cooper Jr
@ 2014-08-19 16:45 ` Franklin S. Cooper Jr
  2014-08-19 16:45 ` [PATCH 5/8] wayland/weston: Switch from tarball to git Franklin S. Cooper Jr
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Franklin S. Cooper Jr @ 2014-08-19 16:45 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

From: "Franklin S. Cooper Jr" <fcooper@ti.com>

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 ...disable-macro-checks-not-used-for-scanner.patch |   50 ++++++++++++++++++++
 .../recipes-graphics/wayland/wayland_1.5.0.bb      |   41 ++++++++++++++++
 2 files changed, 91 insertions(+)
 create mode 100644 meta-arago-extras/recipes-graphics/wayland/wayland/disable-macro-checks-not-used-for-scanner.patch
 create mode 100644 meta-arago-extras/recipes-graphics/wayland/wayland_1.5.0.bb

diff --git a/meta-arago-extras/recipes-graphics/wayland/wayland/disable-macro-checks-not-used-for-scanner.patch b/meta-arago-extras/recipes-graphics/wayland/wayland/disable-macro-checks-not-used-for-scanner.patch
new file mode 100644
index 0000000..cd8bc55
--- /dev/null
+++ b/meta-arago-extras/recipes-graphics/wayland/wayland/disable-macro-checks-not-used-for-scanner.patch
@@ -0,0 +1,50 @@
+disable macro checks not used for scanner
+
+We only build wayland-native for the scanner, so disable the bits we don't
+actually need. This avoid build issue on older distro such as Centos 5.x:
+| error: 'O_CLOEXEC' undeclared (first use in this function)
+| error: sys/timerfd.h: No such file or directory
+| error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
+| error: 'TFD_CLOEXEC' undeclared (first use in this function)
+| error: 'SFD_CLOEXEC' undeclared (first use in this function)
+
+Upstream-Status: Pending
+
+Signed-off-by: Ting Liu <b28495@freescale.com>
+---
+ configure.ac | 20 ++++++++++----------
+ 1 file changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+--- a/configure.ac
++++ b/configure.ac
+@@ -41,16 +41,16 @@ AC_SUBST(GCC_CFLAGS)
+ 
+ AC_CHECK_FUNCS([accept4 mkostemp posix_fallocate])
+ 
+-AC_CHECK_DECL(SFD_CLOEXEC,[],
+-	      [AC_MSG_ERROR("SFD_CLOEXEC is needed to compile wayland")],
+-	      [[#include <sys/signalfd.h>]])
+-AC_CHECK_DECL(TFD_CLOEXEC,[],
+-	      [AC_MSG_ERROR("TFD_CLOEXEC is needed to compile wayland")],
+-	      [[#include <sys/timerfd.h>]])
+-AC_CHECK_DECL(CLOCK_MONOTONIC,[],
+-	      [AC_MSG_ERROR("CLOCK_MONOTONIC is needed to compile wayland")],
+-	      [[#include <time.h>]])
+-AC_CHECK_HEADERS([execinfo.h])
++##AC_CHECK_DECL(SFD_CLOEXEC,[],
++#	      [AC_MSG_ERROR("SFD_CLOEXEC is needed to compile wayland")],
++#	      [[#include <sys/signalfd.h>]])
++#AC_CHECK_DECL(TFD_CLOEXEC,[],
++#	      [AC_MSG_ERROR("TFD_CLOEXEC is needed to compile wayland")],
++#	      [[#include <sys/timerfd.h>]])
++#AC_CHECK_DECL(CLOCK_MONOTONIC,[],
++#	      [AC_MSG_ERROR("CLOCK_MONOTONIC is needed to compile wayland")],
++#	      [[#include <time.h>]])
++#AC_CHECK_HEADERS([execinfo.h])
+ 
+ AC_ARG_ENABLE([scanner],
+               [AC_HELP_STRING([--disable-scanner],
+-- 
+1.8.3.2
+
diff --git a/meta-arago-extras/recipes-graphics/wayland/wayland_1.5.0.bb b/meta-arago-extras/recipes-graphics/wayland/wayland_1.5.0.bb
new file mode 100644
index 0000000..b1ae59e
--- /dev/null
+++ b/meta-arago-extras/recipes-graphics/wayland/wayland_1.5.0.bb
@@ -0,0 +1,41 @@
+SUMMARY = "Wayland, a protocol between a compositor and clients"
+DESCRIPTION = "Wayland is a protocol for a compositor to talk to its clients \
+as well as a C library implementation of that protocol. The compositor can be \
+a standalone display server running on Linux kernel modesetting and evdev \
+input devices, an X application, or a wayland client itself. The clients can \
+be traditional applications, X servers (rootless or fullscreen) or other \
+display servers."
+HOMEPAGE = "http://wayland.freedesktop.org"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1d4476a7d98dd5691c53d4d43a510c72 \
+                    file://src/wayland-server.c;endline=21;md5=079ae21dbf98ada52ec23744851b0a5c"
+
+SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
+SRC_URI[md5sum] = "1d882776b27329b91d2d500b6d66dd1d"
+SRC_URI[sha256sum] = "0069e1e9af888b3e05384380ad8cc6c976ea3e81d08ba19b7675ce1d693a41b5"
+SRC_URI_append_class-native = " \
+    file://disable-macro-checks-not-used-for-scanner.patch \
+    "
+EXTRA_OECONF_class-native = "--disable-documentation --enable-scanner"
+
+inherit autotools pkgconfig
+
+# We need wayland-native for the wayland-scanner utility
+BBCLASSEXTEND = "native"
+
+DEPENDS_class-native = "expat-native libffi-native"
+DEPENDS = "expat libffi wayland-native"
+
+EXTRA_OECONF = "--disable-documentation --disable-scanner"
+
+# Wayland installs a M4 macro for other projects to use, which uses the target
+# pkg-config to find files.  Replace pkg-config with pkg-config-native.
+do_install_append_class-native() {
+  sed -e 's,PKG_CHECK_MODULES(.*),,g' \
+      -e 's,$PKG_CONFIG,pkg-config-native,g' \
+      -i ${D}/${datadir}/aclocal/wayland-scanner.m4
+}
+
+sysroot_stage_all_append_class-target () {
+	cp ${STAGING_DATADIR_NATIVE}/aclocal/wayland-scanner.m4 ${SYSROOT_DESTDIR}/${datadir}/aclocal/
+}
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 5/8] wayland/weston: Switch from tarball to git
  2014-08-19 16:45 [PATCH 1/8] libevdev: Add libdevdev which is a dependency for libinput Franklin S. Cooper Jr
                   ` (2 preceding siblings ...)
  2014-08-19 16:45 ` [PATCH 4/8] wayland: Pull in wayland " Franklin S. Cooper Jr
@ 2014-08-19 16:45 ` Franklin S. Cooper Jr
  2014-08-19 16:45 ` [PATCH 6/8] weston: Move distro specific changes to meta-arago-distro Franklin S. Cooper Jr
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Franklin S. Cooper Jr @ 2014-08-19 16:45 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

From: "Franklin S. Cooper Jr" <fcooper@ti.com>

* Allows picking up newer commits between releases alot easier
* The current commit matches the 1.5.0 release
---
 .../recipes-graphics/wayland/wayland_1.5.0.bb      |   11 ++++++++---
 .../recipes-graphics/wayland/weston_1.5.0.bb       |    9 ++++++---
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/meta-arago-extras/recipes-graphics/wayland/wayland_1.5.0.bb b/meta-arago-extras/recipes-graphics/wayland/wayland_1.5.0.bb
index b1ae59e..800ba7a 100644
--- a/meta-arago-extras/recipes-graphics/wayland/wayland_1.5.0.bb
+++ b/meta-arago-extras/recipes-graphics/wayland/wayland_1.5.0.bb
@@ -10,12 +10,17 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1d4476a7d98dd5691c53d4d43a510c72 \
                     file://src/wayland-server.c;endline=21;md5=079ae21dbf98ada52ec23744851b0a5c"
 
-SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
-SRC_URI[md5sum] = "1d882776b27329b91d2d500b6d66dd1d"
-SRC_URI[sha256sum] = "0069e1e9af888b3e05384380ad8cc6c976ea3e81d08ba19b7675ce1d693a41b5"
+BRANCH = "master"
+SRCREV = "3ac62cd6b6012f40e37b1bd7fc1e8178585905ca"
+
+SRC_URI = "git://anongit.freedesktop.org/wayland/wayland;protocol=git;branch=${BRANCH}"
+
 SRC_URI_append_class-native = " \
     file://disable-macro-checks-not-used-for-scanner.patch \
     "
+
+S = "${WORKDIR}/git"
+
 EXTRA_OECONF_class-native = "--disable-documentation --enable-scanner"
 
 inherit autotools pkgconfig
diff --git a/meta-arago-extras/recipes-graphics/wayland/weston_1.5.0.bb b/meta-arago-extras/recipes-graphics/wayland/weston_1.5.0.bb
index 4a8584f..e1ff61b 100644
--- a/meta-arago-extras/recipes-graphics/wayland/weston_1.5.0.bb
+++ b/meta-arago-extras/recipes-graphics/wayland/weston_1.5.0.bb
@@ -5,15 +5,18 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=275efac2559a224527bd4fd593d38466 \
                     file://src/compositor.c;endline=23;md5=aa98a8db03480fe7d500d0b1f4b8850c"
 
-SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
+BRANCH = "master"
+SRCREV = "880193622024d7dc2b36421251d97b08da324570"
+
+SRC_URI = "git://anongit.freedesktop.org/wayland/weston;protocol=git;branch=${BRANCH} \
            file://weston.png \
            file://weston.desktop \
            file://disable-wayland-scanner-pkg-check.patch \
            file://make-lcms-explicitly-configurable.patch \
            file://make-libwebp-explicitly-configurable.patch \
 "
-SRC_URI[md5sum] = "8eb40d230efc2411f083c20656534780"
-SRC_URI[sha256sum] = "06388ba04ac79aa72d685cc1a8e646ddb2b8cfe11fcc742294f9addac48b7684"
+
+S = "${WORKDIR}/git"
 
 inherit autotools pkgconfig useradd
 
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 6/8] weston: Move distro specific changes to meta-arago-distro
  2014-08-19 16:45 [PATCH 1/8] libevdev: Add libdevdev which is a dependency for libinput Franklin S. Cooper Jr
                   ` (3 preceding siblings ...)
  2014-08-19 16:45 ` [PATCH 5/8] wayland/weston: Switch from tarball to git Franklin S. Cooper Jr
@ 2014-08-19 16:45 ` Franklin S. Cooper Jr
  2014-08-19 16:45 ` [PATCH 7/8] weston: Update commit used for weston 1.5.0 Franklin S. Cooper Jr
  2014-08-19 16:45 ` [PATCH 8/8] wayland: Updated commit for Wayland 1.5.0 Franklin S. Cooper Jr
  6 siblings, 0 replies; 8+ messages in thread
From: Franklin S. Cooper Jr @ 2014-08-19 16:45 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

From: "Franklin S. Cooper Jr" <fcooper@ti.com>

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../wayland/weston}/wayland_env.sh                 |    1 +
 .../recipes-graphics/wayland/weston_1.4.0.bbappend |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
 rename {meta-arago-extras/recipes-graphics/wayland/files => meta-arago-distro/recipes-graphics/wayland/weston}/wayland_env.sh (80%)
 rename {meta-arago-extras => meta-arago-distro}/recipes-graphics/wayland/weston_1.4.0.bbappend (88%)

diff --git a/meta-arago-extras/recipes-graphics/wayland/files/wayland_env.sh b/meta-arago-distro/recipes-graphics/wayland/weston/wayland_env.sh
similarity index 80%
rename from meta-arago-extras/recipes-graphics/wayland/files/wayland_env.sh
rename to meta-arago-distro/recipes-graphics/wayland/weston/wayland_env.sh
index 201e264..788024f 100644
--- a/meta-arago-extras/recipes-graphics/wayland/files/wayland_env.sh
+++ b/meta-arago-distro/recipes-graphics/wayland/weston/wayland_env.sh
@@ -2,5 +2,6 @@
 
 ### Wayland Environment Variables ###
 
+export XDG_CONFIG_HOME=/etc/
 export XDG_RUNTIME_DIR=/run/user/root
 export WAYLAND_DISPLAY=wayland-0
diff --git a/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bbappend b/meta-arago-distro/recipes-graphics/wayland/weston_1.4.0.bbappend
similarity index 88%
rename from meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bbappend
rename to meta-arago-distro/recipes-graphics/wayland/weston_1.4.0.bbappend
index 5b499ba..e62cfa3 100644
--- a/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bbappend
+++ b/meta-arago-distro/recipes-graphics/wayland/weston_1.4.0.bbappend
@@ -1,9 +1,9 @@
+PR_append = "-arago2"
+
 # When configured for fbdev compositor, make it the default
 PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor WESTON_NATIVE_BACKEND="fbdev-backend.so",--disable-fbdev-compositor,udev mtdev"
 
-PR_append = "-arago1"
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 SRC_URI += "file://wayland_env.sh"
 
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 7/8] weston: Update commit used for weston 1.5.0
  2014-08-19 16:45 [PATCH 1/8] libevdev: Add libdevdev which is a dependency for libinput Franklin S. Cooper Jr
                   ` (4 preceding siblings ...)
  2014-08-19 16:45 ` [PATCH 6/8] weston: Move distro specific changes to meta-arago-distro Franklin S. Cooper Jr
@ 2014-08-19 16:45 ` Franklin S. Cooper Jr
  2014-08-19 16:45 ` [PATCH 8/8] wayland: Updated commit for Wayland 1.5.0 Franklin S. Cooper Jr
  6 siblings, 0 replies; 8+ messages in thread
From: Franklin S. Cooper Jr @ 2014-08-19 16:45 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

From: "Franklin S. Cooper Jr" <fcooper@ti.com>

* Update the version of Weston to pull in libinput dependency and several
  features and bug fixes.
* Update configure to use libinput instead of using built in input handling
* Copy changes from Weston 1.4.0 append.
* Use ini file to disable unwanted features.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../recipes-graphics/wayland/weston/weston.ini     |   10 ++++++++++
 ...weston_1.4.0.bbappend => weston_1.5.0.bbappend} |   17 +++++++++++++----
 2 files changed, 23 insertions(+), 4 deletions(-)
 create mode 100644 meta-arago-distro/recipes-graphics/wayland/weston/weston.ini
 copy meta-arago-distro/recipes-graphics/wayland/{weston_1.4.0.bbappend => weston_1.5.0.bbappend} (58%)

diff --git a/meta-arago-distro/recipes-graphics/wayland/weston/weston.ini b/meta-arago-distro/recipes-graphics/wayland/weston/weston.ini
new file mode 100644
index 0000000..8caa891
--- /dev/null
+++ b/meta-arago-distro/recipes-graphics/wayland/weston/weston.ini
@@ -0,0 +1,10 @@
+[shell]
+locking=false
+animation=zoom
+panel-location=none
+startup-animation=fade
+
+[screensaver]
+# Uncomment path to disable screensaver
+#path=@libexecdir@/weston-screensaver
+
diff --git a/meta-arago-distro/recipes-graphics/wayland/weston_1.4.0.bbappend b/meta-arago-distro/recipes-graphics/wayland/weston_1.5.0.bbappend
similarity index 58%
copy from meta-arago-distro/recipes-graphics/wayland/weston_1.4.0.bbappend
copy to meta-arago-distro/recipes-graphics/wayland/weston_1.5.0.bbappend
index e62cfa3..4a1e313 100644
--- a/meta-arago-distro/recipes-graphics/wayland/weston_1.4.0.bbappend
+++ b/meta-arago-distro/recipes-graphics/wayland/weston_1.5.0.bbappend
@@ -1,19 +1,28 @@
-PR_append = "-arago2"
-
 # When configured for fbdev compositor, make it the default
 PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor WESTON_NATIVE_BACKEND="fbdev-backend.so",--disable-fbdev-compositor,udev mtdev"
 
+PR_append = "-arago0"
+
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-SRC_URI += "file://wayland_env.sh"
+DEPENDS += "libinput"
+
+SRC_URI += "file://wayland_env.sh \
+            file://weston.ini \
+"
+
+SRCREV = "e67118c80ad411ac46b7096aae2635510c80ea6d"
+
+EXTRA_OECONF += "--enable-libinput-backend"
 
 # Add custom Arago Wayland Environment script file
 do_install_append () {
     install -d ${D}${sysconfdir}/profile.d
+    install -m 0644 ${WORKDIR}/weston.ini ${D}${sysconfdir}
     install -m 0644 ${WORKDIR}/wayland_env.sh ${D}${sysconfdir}/profile.d/
 }
 
 PACKAGES += "${PN}-conf"
 
-FILES_${PN}-conf += "${sysconfdir}/profile.d/*"
+FILES_${PN}-conf += "${sysconfdir}/profile.d/* ${sysconfdir}/weston.ini"
 RDEPENDS_${PN} += "${PN}-conf"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 8/8] wayland: Updated commit for Wayland 1.5.0
  2014-08-19 16:45 [PATCH 1/8] libevdev: Add libdevdev which is a dependency for libinput Franklin S. Cooper Jr
                   ` (5 preceding siblings ...)
  2014-08-19 16:45 ` [PATCH 7/8] weston: Update commit used for weston 1.5.0 Franklin S. Cooper Jr
@ 2014-08-19 16:45 ` Franklin S. Cooper Jr
  6 siblings, 0 replies; 8+ messages in thread
From: Franklin S. Cooper Jr @ 2014-08-19 16:45 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

From: "Franklin S. Cooper Jr" <fcooper@ti.com>

* Newer version of Weston requires newer version of Wayland

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../wayland/wayland_1.5.0.bbappend                 |    3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 meta-arago-distro/recipes-graphics/wayland/wayland_1.5.0.bbappend

diff --git a/meta-arago-distro/recipes-graphics/wayland/wayland_1.5.0.bbappend b/meta-arago-distro/recipes-graphics/wayland/wayland_1.5.0.bbappend
new file mode 100644
index 0000000..47ff4db
--- /dev/null
+++ b/meta-arago-distro/recipes-graphics/wayland/wayland_1.5.0.bbappend
@@ -0,0 +1,3 @@
+PR_append = "-arago0"
+
+SRCREV = "b24fa4c8216e3f0f7b644c7b8c6949925f19ada9"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-08-19 16:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-19 16:45 [PATCH 1/8] libevdev: Add libdevdev which is a dependency for libinput Franklin S. Cooper Jr
2014-08-19 16:45 ` [PATCH 2/8] libinput: Add new library which is a optional dependency for Weston Franklin S. Cooper Jr
2014-08-19 16:45 ` [PATCH 3/8] weston: Pull in Weston 1.5.0 from oe-core master Franklin S. Cooper Jr
2014-08-19 16:45 ` [PATCH 4/8] wayland: Pull in wayland " Franklin S. Cooper Jr
2014-08-19 16:45 ` [PATCH 5/8] wayland/weston: Switch from tarball to git Franklin S. Cooper Jr
2014-08-19 16:45 ` [PATCH 6/8] weston: Move distro specific changes to meta-arago-distro Franklin S. Cooper Jr
2014-08-19 16:45 ` [PATCH 7/8] weston: Update commit used for weston 1.5.0 Franklin S. Cooper Jr
2014-08-19 16:45 ` [PATCH 8/8] wayland: Updated commit for Wayland 1.5.0 Franklin S. Cooper Jr

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.