All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] packagegroups: conditionally disable dual-camera and image-gallery for Qt5 builds
@ 2014-08-06 22:53 Denys Dmytriyenko
  2014-08-06 22:53 ` [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms Denys Dmytriyenko
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Denys Dmytriyenko @ 2014-08-06 22:53 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb    | 5 ++---
 .../packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb    | 5 ++---
 .../packagegroups/packagegroup-arago-tisdk-multimedia.bb             | 5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
index ae502f1..109e1ad 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to include Matrix v2"
 LICENSE = "MIT"
-PR = "r29"
+PR = "r30"
 
 inherit packagegroup
 
@@ -77,8 +77,7 @@ MATRIX_APPS_append_ti43x = "        \
     matrix-multimedia-demo-mpeg4aacdec \
     matrix-multimedia-demo-mpeg4dec \
                                     \
-    matrix-gui-apps-dual-camera     \
-    matrix-gui-apps-image-gallery   \
+    ${@base_conditional('QT_PROVIDER', 'qt5', '', 'matrix-gui-apps-dual-camera matrix-gui-apps-image-gallery', d)} \
                                     \
     matrix-gui-generic-pm           \
     matrix-gui-pm-demos-suspend     \
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb
index 307e712..40aa486 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to add multimedia related sources into the SDK"
 LICENSE = "MIT"
-PR = "r4"
+PR = "r5"
 
 inherit packagegroup
 
@@ -17,8 +17,7 @@ MULTIMEDIA_append_am3517-evm = " \
 "
 
 MULTIMEDIA_append_ti43x = " \
-    dual-camera-demo-src \
-    image-gallery-src \
+    ${@base_conditional('QT_PROVIDER', 'qt5', '', 'dual-camera-demo-src image-gallery-src', d)} \
 "
 
 RDEPENDS_${PN} = "\
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb
index 417b0a8..7016ec0 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to add multimedia related packages"
 LICENSE = "MIT"
-PR = "r8"
+PR = "r9"
 
 inherit packagegroup
 
@@ -18,8 +18,7 @@ MULTIMEDIA_append_ti33x = " \
 
 MULTIMEDIA_append_ti43x = " \
     amsdk-av-files \
-    dual-camera-demo \
-    image-gallery \
+    ${@base_conditional('QT_PROVIDER', 'qt5', '', 'dual-camera-demo image-gallery', d)} \
 "
 
 MULTIMEDIA_append_omap-a15 = " \
-- 
2.0.4



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

* [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms
  2014-08-06 22:53 [PATCH 1/4] packagegroups: conditionally disable dual-camera and image-gallery for Qt5 builds Denys Dmytriyenko
@ 2014-08-06 22:53 ` Denys Dmytriyenko
  2014-08-06 23:30   ` Cooper Jr., Franklin
  2014-08-07 12:50   ` Maupin, Chase
  2014-08-06 22:53 ` [PATCH 3/4] wayland: remove overlayed recipes, use bbappend for weston instead Denys Dmytriyenko
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 15+ messages in thread
From: Denys Dmytriyenko @ 2014-08-06 22:53 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

GLES libraries for omap-a15 platforms come in binary form and are pre-built
against libdrm and libwayland libraries. When qtbase tries to do a check
for GLES support, it fails to link the test app, when libdrm and libwayland
are not yet available in sysroots:

| OpenGL ES 2.x auto-detection... ()
| ...-g++ ... -o opengles2.o .../qtbase-opensource-src-5.2.1/config.tests/unix/opengles2/opengles2.cpp
| ...-g++ ... -o opengles2 opengles2.o -lsrv_um -lGLESv2
| .../bin/ld: warning: libdrm.so.2, needed by .../usr/lib/libsrv_um.so, not found (try using -rpath or -rpath-link)
| .../bin/ld: warning: libwayland-server.so.0, needed by .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link)
| .../bin/ld: warning: libdrm_omap.so.1, needed by .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link)
| ...
| collect2: error: ld returned 1 exit status
| Makefile:103: recipe for target 'opengles2' failed
| make: *** [opengles2] Error 1
| OpenGL ES 2.x disabled.
| The OpenGL ES 2.0 functionality test failed!

Add libdrm and wayland as extra dependencies for qtbase when building on
omap-a15 with gles flag enabled.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend

diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend b/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
new file mode 100644
index 0000000..c879313
--- /dev/null
+++ b/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
@@ -0,0 +1,6 @@
+GLES_EXTRA_DEPS = ""
+GLES_EXTRA_DEPS_omap-a15 = "libdrm wayland"
+
+PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl ${GLES_EXTRA_DEPS}"
+
+PR_append = "-arago0"
-- 
2.0.4



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

* [PATCH 3/4] wayland: remove overlayed recipes, use bbappend for weston instead
  2014-08-06 22:53 [PATCH 1/4] packagegroups: conditionally disable dual-camera and image-gallery for Qt5 builds Denys Dmytriyenko
  2014-08-06 22:53 ` [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms Denys Dmytriyenko
@ 2014-08-06 22:53 ` Denys Dmytriyenko
  2014-08-06 23:25   ` Denys Dmytriyenko
  2014-08-06 22:53 ` [PATCH 4/4] arago.conf: cleanup and document additional package configuration Denys Dmytriyenko
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 15+ messages in thread
From: Denys Dmytriyenko @ 2014-08-06 22:53 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Latest versions 1.4.0 of wayland and weston are not in or-core/daisy, while
they weren't in dora. Remove the overlayed complete recipes and replace with
simple bbappend for weston to set the default compositor.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../wayland/wayland/just-scanner.patch             |  49 -------------
 .../recipes-graphics/wayland/wayland_1.4.0.bb      |  40 -----------
 ...emove-dependence-on-wayland-scanner-flags.patch |  30 --------
 .../recipes-graphics/wayland/weston/weston.desktop |   9 ---
 .../recipes-graphics/wayland/weston/weston.png     | Bin 2383 -> 0 bytes
 .../recipes-graphics/wayland/weston_1.4.0.bb       |  80 ---------------------
 .../recipes-graphics/wayland/weston_1.4.0.bbappend |   4 ++
 7 files changed, 4 insertions(+), 208 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-graphics/wayland/wayland/just-scanner.patch
 delete mode 100644 meta-arago-extras/recipes-graphics/wayland/wayland_1.4.0.bb
 delete mode 100644 meta-arago-extras/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch
 delete mode 100644 meta-arago-extras/recipes-graphics/wayland/weston/weston.desktop
 delete mode 100644 meta-arago-extras/recipes-graphics/wayland/weston/weston.png
 delete mode 100644 meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bb
 create mode 100644 meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bbappend

diff --git a/meta-arago-extras/recipes-graphics/wayland/wayland/just-scanner.patch b/meta-arago-extras/recipes-graphics/wayland/wayland/just-scanner.patch
deleted file mode 100644
index ae9935e..0000000
--- a/meta-arago-extras/recipes-graphics/wayland/wayland/just-scanner.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From f674544d4f6f5f763e449207da77a561b22eff97 Mon Sep 17 00:00:00 2001
-From: Valentin Popa <valentin.popa@intel.com>
-Date: Fri, 7 Feb 2014 16:36:47 +0200
-Subject: [PATCH] just scanner
-
-We only build wayland-native for the scanner, so disable the bits we don't
-actually need.  This gives us a small speed up but importantly should allow
-wayland-native to compile on older hosts such as CentOS 5 which currently fails:
-
-| wayland-1.0.6/src/wayland-server.c:1245: error: 'O_CLOEXEC' undeclared (first use in this function)
-| wayland-1.0.6/src/event-loop.c:34:25: error: sys/timerfd.h: No such file or directory
-| wayland-1.0.6/src/event-loop.c:199: error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
-| wayland-1.0.6/src/event-loop.c:199: error: 'TFD_CLOEXEC' undeclared (first use in this function)
-| wayland-1.0.6/src/event-loop.c:268: error: 'SFD_CLOEXEC' undeclared (first use in this function)
-
-Upstream-Status: Inappropriate
-Signed-off-by: Ross Burton <ross.burton@intel.com>
-Signed-off-by: Valentin Popa <valentin.popa@intel.com>
----
- Makefile.am     | 2 +-
- src/Makefile.am | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 99607b0..ecce1f1 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -2,7 +2,7 @@ if BUILD_DOCS
- doc_subdir = doc
- endif
- 
--SUBDIRS = protocol src $(doc_subdir) tests cursor
-+SUBDIRS = protocol src $(doc_subdir)
- 
- ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
- 
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 15f44a5..b938d17 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -1,4 +1,4 @@
--lib_LTLIBRARIES = libwayland-server.la libwayland-client.la
-+#lib_LTLIBRARIES = libwayland-server.la libwayland-client.la
- noinst_LTLIBRARIES = libwayland-util.la
- 
- include_HEADERS =				\
--- 
-1.8.3.2
-
diff --git a/meta-arago-extras/recipes-graphics/wayland/wayland_1.4.0.bb b/meta-arago-extras/recipes-graphics/wayland/wayland_1.4.0.bb
deleted file mode 100644
index 604b7f4..0000000
--- a/meta-arago-extras/recipes-graphics/wayland/wayland_1.4.0.bb
+++ /dev/null
@@ -1,40 +0,0 @@
-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] = "332cf9191837be12638a29265ed7cf46"
-SRC_URI[sha256sum] = "18f33b9f15b4c8b662fb1968e7636e7926b419dfc48de8a164b3a3d7095c5a58"
-
-SRC_URI_append_class-native = " file://just-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/
-}
diff --git a/meta-arago-extras/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch b/meta-arago-extras/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch
deleted file mode 100644
index 14606c8..0000000
--- a/meta-arago-extras/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From a0335393ddde2228c84eda1081b5d7b175f78a94 Mon Sep 17 00:00:00 2001
-From: Valentin Popa <valentin.popa@intel.com>
-Date: Fri, 7 Feb 2014 16:59:58 +0200
-Subject: [PATCH] remove dependence on wayland-scanner flags
-
-weston doesn't make use of wayland-scanner flags,
-it only uses the -native- wayland-scanner for protocol.
-
-Upstream-Status: Pending
-Signed-off-by: Valentin Popa <valentin.popa@intel.com>
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index cce1850..8775eb9 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -482,7 +482,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_PATH_PROG(XMLLINT, xmllint)
- AC_ARG_WITH([dtddir],
- 	    AS_HELP_STRING([--with-dtddir],
--- 
-1.8.3.2
-
diff --git a/meta-arago-extras/recipes-graphics/wayland/weston/weston.desktop b/meta-arago-extras/recipes-graphics/wayland/weston/weston.desktop
deleted file mode 100644
index 1086ae8..0000000
--- a/meta-arago-extras/recipes-graphics/wayland/weston/weston.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[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
deleted file mode 100644
index ea8b7e0e233c86301a88e5bc925f09b3de2f9dec..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

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(K8TaQAIv`TZz|Bxum)5TtSMNUjQ2;fGmFtMN@?<0
z6bIO{uSoaK6~L3geZaSYXFL*=*7|YaH^9jddm6Y2c%Djbj^m%2qjdHGoN^0h3nbcL
z@wm(*-47}O)+|`l*N74gkO%g%#1q`F*8+cV!(b2a4G&ZTcnz5J8gvj;p9Y375;mz`
zn0?6%bcY;YI9(M83etU0o(64sf#H430J})Bg-gF4XXWS9Zu?Yt3I=d6>`z8lfl}Zs
zt(P8+CIeqHN%sZD!;$E}D=->`wJ4A{*-ZKJL!lV-N%25gfT6XP%v!n#FS3o9;k$el
zEw@6~y|s39h@#XAXucVg0ZW%aSL#DjK(fo5S{d|YSh)e1F0G!WRlt)hzVZG*NdkI5
z15N8gicM(04cdm>n3{&%QE--6R?H@77?5XY$sl)Z6)5!lt3D_jSY$*2q=0V$cTzkZ
zbwTT`kn9Y_lnM4C<o_eAXa}_IPPI`Iz@LBtW@Er^W;3*Gm3M0<&8bJf!m#S+$aWd7
zl!6iEnYstq1wiQ>*!e(lq7zo`f|f1r49k!^0hMem6S^$f=)Y@ltl+)tUPyMy^Xv%B
zzBojZFQY3;9}=c~E`YBhg%g%8L=7qvdLD*Eb8QCtFK&aj!6{1pY8wJ09mH6&4LU#O
z_OoDSKRA{Gz61;c7@=ijJ8*}u-<p+x4U1EP(#2Y48rQ*1dtl(}0>Bp=3hxMW$`r+!
zjnKSFK9{dT?sc#8YTywsra*%IA;JM~=b<uJ6`-vF?VcD7u<i#iup8Ds1|1&}CRI}Y
ztr>|oWlBP{-2sUX7u0202?EA<0ylV|`hAvyK#*9d29WHCbRpF%B?F|=_k9k`2FX+-
zCF~dt0@7@Tj-b*|7=y|}*un<jcCXS60yjo6*`TY^+iVaJVQIe;8rKBxZMRG2<=+<6
ziB`yL5<s0Fh4#CHzS+azRKiSUfV(`VHUf<iV=5`MN2v<x3qT?x^-Cp#wuXLT&SSZf
zgN4H|_h)3?Y>{?r4zhnEMz(sO*4BP=#OKx0xL%eajTmqLu-m;X*{V{|`$$li(87AM
z6WVTzx~?!5cgS09$n@!suwgVxWsa*sO&fyQc6}TY?eaXc4=(&vo;&V_)@?!Q&_LUV
z#EqWhPe5fpj;T%$RN%ViO|pj7TTh$TLHb5W_dwTu(q=Eh#51sPRBBJM6Z$?2h8c`&
z{h$QAC&kmXiR1==;m#u{x0MAbjJq?mYlkFzgo*A?2K6TU56F%}aa^`60NoD=s~RxV
z(0of&Pu;y2mbdE+{8Ty@d@f(99ij|a`>6Zu2Ke-TsN|t|O2G9zEE(9n6Bgfs^bL?1
z40KeokbkQlsGP^t`Pk2;v+=8bs!x6%vkR}eZd`(^e{`1=1uMS@P49!2ZQ^p@?7ty*
zyxvX5gjc6dBAfX{<a6<q1Y>n=3QPG?l-=AhaZRdEmXr-oO9eMlQMOZEP+W-9_@-A9
zP5@V<ZURaZ0_<8c_gC2%rhDaQT@B(2CCSh>6djY<C<l((IJbaN57b%USWTBo7P9}W
z4@lb*Lt4AVw(PE%v)3MT{wbJ$HO_q#VNeBNAHgw8B-JO?*e=8ysAOe<PIU>Z)|`OK
z9lZv%3aLU)+{c%JF+=U}8}<XylyHjTK5Hsof9?oe`JHTO3{&cmMmBCvF@8*WQc6ed
z9)1CM0kFcGyz{`XknOR{#Jns8#j|xly)F#dd6~UR2oVd1Wt&{%ItR}E7_R&_PTPK9
z6qiRrY&{SBCDPT(!tB8q9S#&ihP5S?9iTh~GsCq*^2cH3PjQv}Jn$59+>dOBK{D{W
zNWcX$b5JrYEOxPeW@^NEcx`ivaBdIePgVzb3HT9mC`RoFfeNwp3h)?Sl~+jMp80-s
zLuO5j>*7QqZV!K-ABE|C)qrf^7f9In7$Qtnx$!$bFf>d)2jjbgLYX@v?A5#MwdSGV
zUQgILnE085LLe33IpBLhA!NJ8eIBq1@HDU+_ehPl1laKh;p`I<uy%>M;*?=-ME);6
zEA9*?kOzJOd=r=p1M-ND759{*kW<d%$R6H|KVH?5<O<o?&A$?kuQA|<$W2eF8ql(;
zL&vWk;0wsvY(pHw^_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

diff --git a/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bb b/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bb
deleted file mode 100644
index 7a3d2ae..0000000
--- a/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bb
+++ /dev/null
@@ -1,80 +0,0 @@
-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://0001-remove-dependence-on-wayland-scanner-flags.patch"
-SRC_URI[md5sum] = "4438d2b1f3c9ba9a4a2b10d89fac6fd0"
-SRC_URI[sha256sum] = "74a2319d98e9cdb1acf24659699719aa89ac268cf549759271e326edc5f9ed64"
-
-
-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 ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \
-                   ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
-                   ${@base_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 WESTON_NATIVE_BACKEND="fbdev-backend.so",--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"
-
-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 [ "${@base_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"
diff --git a/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bbappend b/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bbappend
new file mode 100644
index 0000000..d9e6108
--- /dev/null
+++ b/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bbappend
@@ -0,0 +1,4 @@
+# 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"
-- 
2.0.4



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

* [PATCH 4/4] arago.conf: cleanup and document additional package configuration
  2014-08-06 22:53 [PATCH 1/4] packagegroups: conditionally disable dual-camera and image-gallery for Qt5 builds Denys Dmytriyenko
  2014-08-06 22:53 ` [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms Denys Dmytriyenko
  2014-08-06 22:53 ` [PATCH 3/4] wayland: remove overlayed recipes, use bbappend for weston instead Denys Dmytriyenko
@ 2014-08-06 22:53 ` Denys Dmytriyenko
  2014-08-06 23:26   ` Cooper Jr., Franklin
  2014-08-07 12:51   ` Maupin, Chase
  2014-08-06 23:30 ` [PATCH 1/4] packagegroups: conditionally disable dual-camera and image-gallery for Qt5 builds Cooper Jr., Franklin
  2014-08-07 12:48 ` Maupin, Chase
  4 siblings, 2 replies; 15+ messages in thread
From: Denys Dmytriyenko @ 2014-08-06 22:53 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 meta-arago-distro/conf/distro/arago.conf | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
index 4927fe9..0074b8b 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -19,17 +19,20 @@ NO32LIBS = "0"
 # Set our distro features, don't forget all the standard libc ones
 DISTRO_FEATURES = "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g ipv4 ipv6 pulseaudio ${DISTRO_FEATURES_LIBC}"
 
-# Set additional distro features to enable Wayland and Weston
+# Set additional distro features
 DISTRO_FEATURES += "opengl pam"
+
+# Set preferred Qt version
+QT_PROVIDER = "qt5"
+
+# Distro-specific package configuration
+# Weston - use fbdev compositor and provide launcher
 PACKAGECONFIG_pn-weston = "fbdev launch"
 
 # Configure Qt5 flags (GLES is still required for qtdeclarative and qtwebkit)
 PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb"
 PACKAGECONFIG_DISTRO_pn-qtbase = "icu"
 
-# Set preferred Qt version
-QT_PROVIDER = "qt5"
-
 # ARM9 is not supported by the Linaro toolchain so default back to the Arago
 # toolchain for ARM9 based SOCs.
 TC_SANE_DEFAULT := "${@bb.utils.contains('SOC_FAMILY','omapl138','arago','linaro',d)}"
-- 
2.0.4



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

* Re: [PATCH 3/4] wayland: remove overlayed recipes, use bbappend for weston instead
  2014-08-06 22:53 ` [PATCH 3/4] wayland: remove overlayed recipes, use bbappend for weston instead Denys Dmytriyenko
@ 2014-08-06 23:25   ` Denys Dmytriyenko
  0 siblings, 0 replies; 15+ messages in thread
From: Denys Dmytriyenko @ 2014-08-06 23:25 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-arago

On Wed, Aug 06, 2014 at 06:53:46PM -0400, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Latest versions 1.4.0 of wayland and weston are not in or-core/daisy, while

"are now in oe-core/daisy" - will be sending v2...


> they weren't in dora. Remove the overlayed complete recipes and replace with
> simple bbappend for weston to set the default compositor.
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  .../wayland/wayland/just-scanner.patch             |  49 -------------
>  .../recipes-graphics/wayland/wayland_1.4.0.bb      |  40 -----------
>  ...emove-dependence-on-wayland-scanner-flags.patch |  30 --------
>  .../recipes-graphics/wayland/weston/weston.desktop |   9 ---
>  .../recipes-graphics/wayland/weston/weston.png     | Bin 2383 -> 0 bytes
>  .../recipes-graphics/wayland/weston_1.4.0.bb       |  80 ---------------------
>  .../recipes-graphics/wayland/weston_1.4.0.bbappend |   4 ++
>  7 files changed, 4 insertions(+), 208 deletions(-)
>  delete mode 100644 meta-arago-extras/recipes-graphics/wayland/wayland/just-scanner.patch
>  delete mode 100644 meta-arago-extras/recipes-graphics/wayland/wayland_1.4.0.bb
>  delete mode 100644 meta-arago-extras/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch
>  delete mode 100644 meta-arago-extras/recipes-graphics/wayland/weston/weston.desktop
>  delete mode 100644 meta-arago-extras/recipes-graphics/wayland/weston/weston.png
>  delete mode 100644 meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bb
>  create mode 100644 meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bbappend
> 
> diff --git a/meta-arago-extras/recipes-graphics/wayland/wayland/just-scanner.patch b/meta-arago-extras/recipes-graphics/wayland/wayland/just-scanner.patch
> deleted file mode 100644
> index ae9935e..0000000
> --- a/meta-arago-extras/recipes-graphics/wayland/wayland/just-scanner.patch
> +++ /dev/null
> @@ -1,49 +0,0 @@
> -From f674544d4f6f5f763e449207da77a561b22eff97 Mon Sep 17 00:00:00 2001
> -From: Valentin Popa <valentin.popa@intel.com>
> -Date: Fri, 7 Feb 2014 16:36:47 +0200
> -Subject: [PATCH] just scanner
> -
> -We only build wayland-native for the scanner, so disable the bits we don't
> -actually need.  This gives us a small speed up but importantly should allow
> -wayland-native to compile on older hosts such as CentOS 5 which currently fails:
> -
> -| wayland-1.0.6/src/wayland-server.c:1245: error: 'O_CLOEXEC' undeclared (first use in this function)
> -| wayland-1.0.6/src/event-loop.c:34:25: error: sys/timerfd.h: No such file or directory
> -| wayland-1.0.6/src/event-loop.c:199: error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
> -| wayland-1.0.6/src/event-loop.c:199: error: 'TFD_CLOEXEC' undeclared (first use in this function)
> -| wayland-1.0.6/src/event-loop.c:268: error: 'SFD_CLOEXEC' undeclared (first use in this function)
> -
> -Upstream-Status: Inappropriate
> -Signed-off-by: Ross Burton <ross.burton@intel.com>
> -Signed-off-by: Valentin Popa <valentin.popa@intel.com>
> ----
> - Makefile.am     | 2 +-
> - src/Makefile.am | 2 +-
> - 2 files changed, 2 insertions(+), 2 deletions(-)
> -
> -diff --git a/Makefile.am b/Makefile.am
> -index 99607b0..ecce1f1 100644
> ---- a/Makefile.am
> -+++ b/Makefile.am
> -@@ -2,7 +2,7 @@ if BUILD_DOCS
> - doc_subdir = doc
> - endif
> - 
> --SUBDIRS = protocol src $(doc_subdir) tests cursor
> -+SUBDIRS = protocol src $(doc_subdir)
> - 
> - ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
> - 
> -diff --git a/src/Makefile.am b/src/Makefile.am
> -index 15f44a5..b938d17 100644
> ---- a/src/Makefile.am
> -+++ b/src/Makefile.am
> -@@ -1,4 +1,4 @@
> --lib_LTLIBRARIES = libwayland-server.la libwayland-client.la
> -+#lib_LTLIBRARIES = libwayland-server.la libwayland-client.la
> - noinst_LTLIBRARIES = libwayland-util.la
> - 
> - include_HEADERS =				\
> --- 
> -1.8.3.2
> -
> diff --git a/meta-arago-extras/recipes-graphics/wayland/wayland_1.4.0.bb b/meta-arago-extras/recipes-graphics/wayland/wayland_1.4.0.bb
> deleted file mode 100644
> index 604b7f4..0000000
> --- a/meta-arago-extras/recipes-graphics/wayland/wayland_1.4.0.bb
> +++ /dev/null
> @@ -1,40 +0,0 @@
> -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] = "332cf9191837be12638a29265ed7cf46"
> -SRC_URI[sha256sum] = "18f33b9f15b4c8b662fb1968e7636e7926b419dfc48de8a164b3a3d7095c5a58"
> -
> -SRC_URI_append_class-native = " file://just-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/
> -}
> diff --git a/meta-arago-extras/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch b/meta-arago-extras/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch
> deleted file mode 100644
> index 14606c8..0000000
> --- a/meta-arago-extras/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch
> +++ /dev/null
> @@ -1,30 +0,0 @@
> -From a0335393ddde2228c84eda1081b5d7b175f78a94 Mon Sep 17 00:00:00 2001
> -From: Valentin Popa <valentin.popa@intel.com>
> -Date: Fri, 7 Feb 2014 16:59:58 +0200
> -Subject: [PATCH] remove dependence on wayland-scanner flags
> -
> -weston doesn't make use of wayland-scanner flags,
> -it only uses the -native- wayland-scanner for protocol.
> -
> -Upstream-Status: Pending
> -Signed-off-by: Valentin Popa <valentin.popa@intel.com>
> ----
> - configure.ac | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/configure.ac b/configure.ac
> -index cce1850..8775eb9 100644
> ---- a/configure.ac
> -+++ b/configure.ac
> -@@ -482,7 +482,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_PATH_PROG(XMLLINT, xmllint)
> - AC_ARG_WITH([dtddir],
> - 	    AS_HELP_STRING([--with-dtddir],
> --- 
> -1.8.3.2
> -
> diff --git a/meta-arago-extras/recipes-graphics/wayland/weston/weston.desktop b/meta-arago-extras/recipes-graphics/wayland/weston/weston.desktop
> deleted file mode 100644
> index 1086ae8..0000000
> --- a/meta-arago-extras/recipes-graphics/wayland/weston/weston.desktop
> +++ /dev/null
> @@ -1,9 +0,0 @@
> -[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
> deleted file mode 100644
> index ea8b7e0e233c86301a88e5bc925f09b3de2f9dec..0000000000000000000000000000000000000000
> GIT binary patch
> literal 0
> HcmV?d00001
> 
> literal 2383
> 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
> BD_j5o
> 
> diff --git a/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bb b/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bb
> deleted file mode 100644
> index 7a3d2ae..0000000
> --- a/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bb
> +++ /dev/null
> @@ -1,80 +0,0 @@
> -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://0001-remove-dependence-on-wayland-scanner-flags.patch"
> -SRC_URI[md5sum] = "4438d2b1f3c9ba9a4a2b10d89fac6fd0"
> -SRC_URI[sha256sum] = "74a2319d98e9cdb1acf24659699719aa89ac268cf549759271e326edc5f9ed64"
> -
> -
> -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 ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \
> -                   ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
> -                   ${@base_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 WESTON_NATIVE_BACKEND="fbdev-backend.so",--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"
> -
> -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 [ "${@base_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"
> diff --git a/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bbappend b/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bbappend
> new file mode 100644
> index 0000000..d9e6108
> --- /dev/null
> +++ b/meta-arago-extras/recipes-graphics/wayland/weston_1.4.0.bbappend
> @@ -0,0 +1,4 @@
> +# 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"
> -- 
> 2.0.4
> 


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

* Re: [PATCH 4/4] arago.conf: cleanup and document additional package configuration
  2014-08-06 22:53 ` [PATCH 4/4] arago.conf: cleanup and document additional package configuration Denys Dmytriyenko
@ 2014-08-06 23:26   ` Cooper Jr., Franklin
  2014-08-07 12:51   ` Maupin, Chase
  1 sibling, 0 replies; 15+ messages in thread
From: Cooper Jr., Franklin @ 2014-08-06 23:26 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago

Acked-by: Franklin Cooper Jr. <fcooper@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> Sent: Wednesday, August 06, 2014 5:54 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH 4/4] arago.conf: cleanup and document
> additional package configuration
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  meta-arago-distro/conf/distro/arago.conf | 11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)
> 
> diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-
> distro/conf/distro/arago.conf
> index 4927fe9..0074b8b 100644
> --- a/meta-arago-distro/conf/distro/arago.conf
> +++ b/meta-arago-distro/conf/distro/arago.conf
> @@ -19,17 +19,20 @@ NO32LIBS = "0"
>  # Set our distro features, don't forget all the standard libc ones
> DISTRO_FEATURES = "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget
> usbhost wifi xattr nfs zeroconf pci 3g ipv4 ipv6 pulseaudio
> ${DISTRO_FEATURES_LIBC}"
> 
> -# Set additional distro features to enable Wayland and Weston
> +# Set additional distro features
>  DISTRO_FEATURES += "opengl pam"
> +
> +# Set preferred Qt version
> +QT_PROVIDER = "qt5"
> +
> +# Distro-specific package configuration # Weston - use fbdev compositor
> +and provide launcher
>  PACKAGECONFIG_pn-weston = "fbdev launch"
> 
>  # Configure Qt5 flags (GLES is still required for qtdeclarative and qtwebkit)
> PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb"
>  PACKAGECONFIG_DISTRO_pn-qtbase = "icu"
> 
> -# Set preferred Qt version
> -QT_PROVIDER = "qt5"
> -
>  # ARM9 is not supported by the Linaro toolchain so default back to the Arago
> # toolchain for ARM9 based SOCs.
>  TC_SANE_DEFAULT :=
> "${@bb.utils.contains('SOC_FAMILY','omapl138','arago','linaro',d)}"
> --
> 2.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms
  2014-08-06 22:53 ` [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms Denys Dmytriyenko
@ 2014-08-06 23:30   ` Cooper Jr., Franklin
  2014-08-06 23:34     ` Denys Dmytriyenko
  2014-08-07 12:50   ` Maupin, Chase
  1 sibling, 1 reply; 15+ messages in thread
From: Cooper Jr., Franklin @ 2014-08-06 23:30 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago

If the graphics SDK provides libdrm and libwayland libraries why isn't the dependency on virtual/libgles2 and  virtual/egl enough? I see that omap5-sgx-ddk-um-linux already provides libgles2 and egl.

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> Sent: Wednesday, August 06, 2014 5:54 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH 2/4] qtbase: add additional dependencies for
> GLES check on omap-a15 platforms
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> GLES libraries for omap-a15 platforms come in binary form and are pre-built
> against libdrm and libwayland libraries. When qtbase tries to do a check for
> GLES support, it fails to link the test app, when libdrm and libwayland are not
> yet available in sysroots:
> 
> | OpenGL ES 2.x auto-detection... ()
> | ...-g++ ... -o opengles2.o
> | .../qtbase-opensource-src-5.2.1/config.tests/unix/opengles2/opengles2.
> | cpp ...-g++ ... -o opengles2 opengles2.o -lsrv_um -lGLESv2
> | .../bin/ld: warning: libdrm.so.2, needed by .../usr/lib/libsrv_um.so,
> | not found (try using -rpath or -rpath-link)
> | .../bin/ld: warning: libwayland-server.so.0, needed by
> | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link)
> | .../bin/ld: warning: libdrm_omap.so.1, needed by
> | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link) ...
> | collect2: error: ld returned 1 exit status
> | Makefile:103: recipe for target 'opengles2' failed
> | make: *** [opengles2] Error 1
> | OpenGL ES 2.x disabled.
> | The OpenGL ES 2.0 functionality test failed!
> 
> Add libdrm and wayland as extra dependencies for qtbase when building on
> omap-a15 with gles flag enabled.
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend | 6 ++++++
>  1 file changed, 6 insertions(+)
>  create mode 100644 meta-arago-distro/recipes-
> qt/qt5/qtbase_5.2.1.bbappend
> 
> diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend b/meta-
> arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> new file mode 100644
> index 0000000..c879313
> --- /dev/null
> +++ b/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> @@ -0,0 +1,6 @@
> +GLES_EXTRA_DEPS = ""
> +GLES_EXTRA_DEPS_omap-a15 = "libdrm wayland"
> +
> +PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl
> ${GLES_EXTRA_DEPS}"
> +
> +PR_append = "-arago0"
> --
> 2.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 1/4] packagegroups: conditionally disable dual-camera and image-gallery for Qt5 builds
  2014-08-06 22:53 [PATCH 1/4] packagegroups: conditionally disable dual-camera and image-gallery for Qt5 builds Denys Dmytriyenko
                   ` (2 preceding siblings ...)
  2014-08-06 22:53 ` [PATCH 4/4] arago.conf: cleanup and document additional package configuration Denys Dmytriyenko
@ 2014-08-06 23:30 ` Cooper Jr., Franklin
  2014-08-07 12:48 ` Maupin, Chase
  4 siblings, 0 replies; 15+ messages in thread
From: Cooper Jr., Franklin @ 2014-08-06 23:30 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago

Acked-by: Franklin Cooper Jr. <fcooper@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> Sent: Wednesday, August 06, 2014 5:54 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH 1/4] packagegroups: conditionally disable
> dual-camera and image-gallery for Qt5 builds
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  .../recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb    | 5
> ++---
>  .../packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb    | 5
> ++---
>  .../packagegroups/packagegroup-arago-tisdk-multimedia.bb             | 5 ++---
>  3 files changed, 6 insertions(+), 9 deletions(-)
> 
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-
> arago-tisdk-matrix.bb b/meta-arago-distro/recipes-
> core/packagegroups/packagegroup-arago-tisdk-matrix.bb
> index ae502f1..109e1ad 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> tisdk-matrix.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-
> arago-ti
> +++ sdk-matrix.bb
> @@ -1,6 +1,6 @@
>  DESCRIPTION = "Task to include Matrix v2"
>  LICENSE = "MIT"
> -PR = "r29"
> +PR = "r30"
> 
>  inherit packagegroup
> 
> @@ -77,8 +77,7 @@ MATRIX_APPS_append_ti43x = "        \
>      matrix-multimedia-demo-mpeg4aacdec \
>      matrix-multimedia-demo-mpeg4dec \
>                                      \
> -    matrix-gui-apps-dual-camera     \
> -    matrix-gui-apps-image-gallery   \
> +    ${@base_conditional('QT_PROVIDER', 'qt5', '',
> + 'matrix-gui-apps-dual-camera matrix-gui-apps-image-gallery', d)} \
>                                      \
>      matrix-gui-generic-pm           \
>      matrix-gui-pm-demos-suspend     \
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-
> arago-tisdk-multimedia-sdk-host.bb b/meta-arago-distro/recipes-
> core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb
> index 307e712..40aa486 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> tisdk-multimedia-sdk-host.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-
> arago-ti
> +++ sdk-multimedia-sdk-host.bb
> @@ -1,6 +1,6 @@
>  DESCRIPTION = "Task to add multimedia related sources into the SDK"
>  LICENSE = "MIT"
> -PR = "r4"
> +PR = "r5"
> 
>  inherit packagegroup
> 
> @@ -17,8 +17,7 @@ MULTIMEDIA_append_am3517-evm = " \  "
> 
>  MULTIMEDIA_append_ti43x = " \
> -    dual-camera-demo-src \
> -    image-gallery-src \
> +    ${@base_conditional('QT_PROVIDER', 'qt5', '', 'dual-camera-demo-src
> + image-gallery-src', d)} \
>  "
> 
>  RDEPENDS_${PN} = "\
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-
> arago-tisdk-multimedia.bb b/meta-arago-distro/recipes-
> core/packagegroups/packagegroup-arago-tisdk-multimedia.bb
> index 417b0a8..7016ec0 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> tisdk-multimedia.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-
> arago-ti
> +++ sdk-multimedia.bb
> @@ -1,6 +1,6 @@
>  DESCRIPTION = "Task to add multimedia related packages"
>  LICENSE = "MIT"
> -PR = "r8"
> +PR = "r9"
> 
>  inherit packagegroup
> 
> @@ -18,8 +18,7 @@ MULTIMEDIA_append_ti33x = " \
> 
>  MULTIMEDIA_append_ti43x = " \
>      amsdk-av-files \
> -    dual-camera-demo \
> -    image-gallery \
> +    ${@base_conditional('QT_PROVIDER', 'qt5', '', 'dual-camera-demo
> + image-gallery', d)} \
>  "
> 
>  MULTIMEDIA_append_omap-a15 = " \
> --
> 2.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms
  2014-08-06 23:30   ` Cooper Jr., Franklin
@ 2014-08-06 23:34     ` Denys Dmytriyenko
  2014-08-06 23:45       ` Cooper Jr., Franklin
  0 siblings, 1 reply; 15+ messages in thread
From: Denys Dmytriyenko @ 2014-08-06 23:34 UTC (permalink / raw)
  To: Cooper Jr., Franklin; +Cc: meta-arago

On Wed, Aug 06, 2014 at 11:30:12PM +0000, Cooper Jr., Franklin wrote:
> If the graphics SDK provides libdrm and libwayland libraries

Huh? Those libs are not provided by the graphics SDK.


> why isn't the 
> dependency on virtual/libgles2 and virtual/egl enough? I see that 
> omap5-sgx-ddk-um-linux already provides libgles2 and egl.

Because omap5-sgx-ddk-um-linux does not have libdrm and libwayland. Those are 
provided by the corresponding packages I'm adding into the dependency.


> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> > Sent: Wednesday, August 06, 2014 5:54 PM
> > To: meta-arago@arago-project.org
> > Subject: [meta-arago] [PATCH 2/4] qtbase: add additional dependencies for
> > GLES check on omap-a15 platforms
> > 
> > From: Denys Dmytriyenko <denys@ti.com>
> > 
> > GLES libraries for omap-a15 platforms come in binary form and are pre-built
> > against libdrm and libwayland libraries. When qtbase tries to do a check for
> > GLES support, it fails to link the test app, when libdrm and libwayland are not
> > yet available in sysroots:
> > 
> > | OpenGL ES 2.x auto-detection... ()
> > | ...-g++ ... -o opengles2.o
> > | .../qtbase-opensource-src-5.2.1/config.tests/unix/opengles2/opengles2.
> > | cpp ...-g++ ... -o opengles2 opengles2.o -lsrv_um -lGLESv2
> > | .../bin/ld: warning: libdrm.so.2, needed by .../usr/lib/libsrv_um.so,
> > | not found (try using -rpath or -rpath-link)
> > | .../bin/ld: warning: libwayland-server.so.0, needed by
> > | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link)
> > | .../bin/ld: warning: libdrm_omap.so.1, needed by
> > | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link) ...
> > | collect2: error: ld returned 1 exit status
> > | Makefile:103: recipe for target 'opengles2' failed
> > | make: *** [opengles2] Error 1
> > | OpenGL ES 2.x disabled.
> > | The OpenGL ES 2.0 functionality test failed!
> > 
> > Add libdrm and wayland as extra dependencies for qtbase when building on
> > omap-a15 with gles flag enabled.
> > 
> > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > ---
> >  meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend | 6 ++++++
> >  1 file changed, 6 insertions(+)
> >  create mode 100644 meta-arago-distro/recipes-
> > qt/qt5/qtbase_5.2.1.bbappend
> > 
> > diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend b/meta-
> > arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > new file mode 100644
> > index 0000000..c879313
> > --- /dev/null
> > +++ b/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > @@ -0,0 +1,6 @@
> > +GLES_EXTRA_DEPS = ""
> > +GLES_EXTRA_DEPS_omap-a15 = "libdrm wayland"
> > +
> > +PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl
> > ${GLES_EXTRA_DEPS}"
> > +
> > +PR_append = "-arago0"
> > --
> > 2.0.4
> > 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms
  2014-08-06 23:34     ` Denys Dmytriyenko
@ 2014-08-06 23:45       ` Cooper Jr., Franklin
  2014-08-06 23:54         ` Denys Dmytriyenko
  0 siblings, 1 reply; 15+ messages in thread
From: Cooper Jr., Franklin @ 2014-08-06 23:45 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago

Ahh I think I get it now. I was getting confused since I didn't have this issue with AM335x. But it seems like this is a dependency on the Graphics package since libIMGegl needs drm and wayland.
Although the omap15 graphics SDK is weird since it's a prebuilt but wouldn't it be better to add that dependency on the Graphics package? We can avoid situations like this for any package that needs egl/gles2.




> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Wednesday, August 06, 2014 6:34 PM
> To: Cooper Jr., Franklin
> Cc: Denys Dmytriyenko; meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH 2/4] qtbase: add additional dependencies
> for GLES check on omap-a15 platforms
> 
> On Wed, Aug 06, 2014 at 11:30:12PM +0000, Cooper Jr., Franklin wrote:
> > If the graphics SDK provides libdrm and libwayland libraries
> 
> Huh? Those libs are not provided by the graphics SDK.
> 
> 
> > why isn't the
> > dependency on virtual/libgles2 and virtual/egl enough? I see that
> > omap5-sgx-ddk-um-linux already provides libgles2 and egl.
> 
> Because omap5-sgx-ddk-um-linux does not have libdrm and libwayland.
> Those are provided by the corresponding packages I'm adding into the
> dependency.
> 
> 
> > > -----Original Message-----
> > > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > > bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> > > Sent: Wednesday, August 06, 2014 5:54 PM
> > > To: meta-arago@arago-project.org
> > > Subject: [meta-arago] [PATCH 2/4] qtbase: add additional dependencies
> for
> > > GLES check on omap-a15 platforms
> > >
> > > From: Denys Dmytriyenko <denys@ti.com>
> > >
> > > GLES libraries for omap-a15 platforms come in binary form and are pre-
> built
> > > against libdrm and libwayland libraries. When qtbase tries to do a check
> for
> > > GLES support, it fails to link the test app, when libdrm and libwayland are
> not
> > > yet available in sysroots:
> > >
> > > | OpenGL ES 2.x auto-detection... ()
> > > | ...-g++ ... -o opengles2.o
> > > | .../qtbase-opensource-src-
> 5.2.1/config.tests/unix/opengles2/opengles2.
> > > | cpp ...-g++ ... -o opengles2 opengles2.o -lsrv_um -lGLESv2
> > > | .../bin/ld: warning: libdrm.so.2, needed by .../usr/lib/libsrv_um.so,
> > > | not found (try using -rpath or -rpath-link)
> > > | .../bin/ld: warning: libwayland-server.so.0, needed by
> > > | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link)
> > > | .../bin/ld: warning: libdrm_omap.so.1, needed by
> > > | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link) ...
> > > | collect2: error: ld returned 1 exit status
> > > | Makefile:103: recipe for target 'opengles2' failed
> > > | make: *** [opengles2] Error 1
> > > | OpenGL ES 2.x disabled.
> > > | The OpenGL ES 2.0 functionality test failed!
> > >
> > > Add libdrm and wayland as extra dependencies for qtbase when building
> on
> > > omap-a15 with gles flag enabled.
> > >
> > > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > > ---
> > >  meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend | 6 ++++++
> > >  1 file changed, 6 insertions(+)
> > >  create mode 100644 meta-arago-distro/recipes-
> > > qt/qt5/qtbase_5.2.1.bbappend
> > >
> > > diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> b/meta-
> > > arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > > new file mode 100644
> > > index 0000000..c879313
> > > --- /dev/null
> > > +++ b/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > > @@ -0,0 +1,6 @@
> > > +GLES_EXTRA_DEPS = ""
> > > +GLES_EXTRA_DEPS_omap-a15 = "libdrm wayland"
> > > +
> > > +PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl
> > > ${GLES_EXTRA_DEPS}"
> > > +
> > > +PR_append = "-arago0"
> > > --
> > > 2.0.4
> > >
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms
  2014-08-06 23:45       ` Cooper Jr., Franklin
@ 2014-08-06 23:54         ` Denys Dmytriyenko
  2014-08-07  0:00           ` Cooper Jr., Franklin
  0 siblings, 1 reply; 15+ messages in thread
From: Denys Dmytriyenko @ 2014-08-06 23:54 UTC (permalink / raw)
  To: Cooper Jr., Franklin; +Cc: meta-arago

On Wed, Aug 06, 2014 at 07:45:18PM -0400, Cooper Jr., Franklin wrote:
> Ahh I think I get it now. I was getting confused since I didn't have this 
> issue with AM335x. But it seems like this is a dependency on the Graphics 
> package since libIMGegl needs drm and wayland.
> Although the omap15 graphics SDK is weird since it's a prebuilt but wouldn't 
> it be better to add that dependency on the Graphics package? We can avoid 
> situations like this for any package that needs egl/gles2.

I thought about that at first, but it's rather weird, as graphics SDK doesn't 
have build dependency on those packages, mostly because it's already 
pre-built...

I was going to experiment with it a bit to see if it would be possible to use 
this graphics SDK w/o wayland libs, hence I just wanted to unblock qtbase for 
now, as it's configure test fails.


> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Wednesday, August 06, 2014 6:34 PM
> > To: Cooper Jr., Franklin
> > Cc: Denys Dmytriyenko; meta-arago@arago-project.org
> > Subject: Re: [meta-arago] [PATCH 2/4] qtbase: add additional dependencies
> > for GLES check on omap-a15 platforms
> > 
> > On Wed, Aug 06, 2014 at 11:30:12PM +0000, Cooper Jr., Franklin wrote:
> > > If the graphics SDK provides libdrm and libwayland libraries
> > 
> > Huh? Those libs are not provided by the graphics SDK.
> > 
> > 
> > > why isn't the
> > > dependency on virtual/libgles2 and virtual/egl enough? I see that
> > > omap5-sgx-ddk-um-linux already provides libgles2 and egl.
> > 
> > Because omap5-sgx-ddk-um-linux does not have libdrm and libwayland.
> > Those are provided by the corresponding packages I'm adding into the
> > dependency.
> > 
> > 
> > > > -----Original Message-----
> > > > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > > > bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> > > > Sent: Wednesday, August 06, 2014 5:54 PM
> > > > To: meta-arago@arago-project.org
> > > > Subject: [meta-arago] [PATCH 2/4] qtbase: add additional dependencies
> > for
> > > > GLES check on omap-a15 platforms
> > > >
> > > > From: Denys Dmytriyenko <denys@ti.com>
> > > >
> > > > GLES libraries for omap-a15 platforms come in binary form and are pre-
> > built
> > > > against libdrm and libwayland libraries. When qtbase tries to do a check
> > for
> > > > GLES support, it fails to link the test app, when libdrm and libwayland are
> > not
> > > > yet available in sysroots:
> > > >
> > > > | OpenGL ES 2.x auto-detection... ()
> > > > | ...-g++ ... -o opengles2.o
> > > > | .../qtbase-opensource-src-
> > 5.2.1/config.tests/unix/opengles2/opengles2.
> > > > | cpp ...-g++ ... -o opengles2 opengles2.o -lsrv_um -lGLESv2
> > > > | .../bin/ld: warning: libdrm.so.2, needed by .../usr/lib/libsrv_um.so,
> > > > | not found (try using -rpath or -rpath-link)
> > > > | .../bin/ld: warning: libwayland-server.so.0, needed by
> > > > | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link)
> > > > | .../bin/ld: warning: libdrm_omap.so.1, needed by
> > > > | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link) ...
> > > > | collect2: error: ld returned 1 exit status
> > > > | Makefile:103: recipe for target 'opengles2' failed
> > > > | make: *** [opengles2] Error 1
> > > > | OpenGL ES 2.x disabled.
> > > > | The OpenGL ES 2.0 functionality test failed!
> > > >
> > > > Add libdrm and wayland as extra dependencies for qtbase when building
> > on
> > > > omap-a15 with gles flag enabled.
> > > >
> > > > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > > > ---
> > > >  meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend | 6 ++++++
> > > >  1 file changed, 6 insertions(+)
> > > >  create mode 100644 meta-arago-distro/recipes-
> > > > qt/qt5/qtbase_5.2.1.bbappend
> > > >
> > > > diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > b/meta-
> > > > arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > > > new file mode 100644
> > > > index 0000000..c879313
> > > > --- /dev/null
> > > > +++ b/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > > > @@ -0,0 +1,6 @@
> > > > +GLES_EXTRA_DEPS = ""
> > > > +GLES_EXTRA_DEPS_omap-a15 = "libdrm wayland"
> > > > +
> > > > +PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl
> > > > ${GLES_EXTRA_DEPS}"
> > > > +
> > > > +PR_append = "-arago0"
> > > > --
> > > > 2.0.4
> > > >
> > > > _______________________________________________
> > > > meta-arago mailing list
> > > > meta-arago@arago-project.org
> > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms
  2014-08-06 23:54         ` Denys Dmytriyenko
@ 2014-08-07  0:00           ` Cooper Jr., Franklin
  0 siblings, 0 replies; 15+ messages in thread
From: Cooper Jr., Franklin @ 2014-08-07  0:00 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago



> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Wednesday, August 06, 2014 6:55 PM
> To: Cooper Jr., Franklin
> Cc: Denys Dmytriyenko; meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH 2/4] qtbase: add additional dependencies
> for GLES check on omap-a15 platforms
> 
> On Wed, Aug 06, 2014 at 07:45:18PM -0400, Cooper Jr., Franklin wrote:
> > Ahh I think I get it now. I was getting confused since I didn't have
> > this issue with AM335x. But it seems like this is a dependency on the
> > Graphics package since libIMGegl needs drm and wayland.
> > Although the omap15 graphics SDK is weird since it's a prebuilt but
> > wouldn't it be better to add that dependency on the Graphics package?
> > We can avoid situations like this for any package that needs egl/gles2.
> 
> I thought about that at first, but it's rather weird, as graphics SDK doesn't
> have build dependency on those packages, mostly because it's already pre-
> built...
> 
> I was going to experiment with it a bit to see if it would be possible to use
> this graphics SDK w/o wayland libs, hence I just wanted to unblock qtbase for
> now, as it's configure test fails.
[Franklin] I'm always for unblocking. I'm ok with this as is for now but once things stabilize it would be good to bring this up again to see what makes sense.
> 
> 
> > > -----Original Message-----
> > > From: Dmytriyenko, Denys
> > > Sent: Wednesday, August 06, 2014 6:34 PM
> > > To: Cooper Jr., Franklin
> > > Cc: Denys Dmytriyenko; meta-arago@arago-project.org
> > > Subject: Re: [meta-arago] [PATCH 2/4] qtbase: add additional
> > > dependencies for GLES check on omap-a15 platforms
> > >
> > > On Wed, Aug 06, 2014 at 11:30:12PM +0000, Cooper Jr., Franklin wrote:
> > > > If the graphics SDK provides libdrm and libwayland libraries
> > >
> > > Huh? Those libs are not provided by the graphics SDK.
> > >
> > >
> > > > why isn't the
> > > > dependency on virtual/libgles2 and virtual/egl enough? I see that
> > > > omap5-sgx-ddk-um-linux already provides libgles2 and egl.
> > >
> > > Because omap5-sgx-ddk-um-linux does not have libdrm and libwayland.
> > > Those are provided by the corresponding packages I'm adding into the
> > > dependency.
> > >
> > >
> > > > > -----Original Message-----
> > > > > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > > > > bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> > > > > Sent: Wednesday, August 06, 2014 5:54 PM
> > > > > To: meta-arago@arago-project.org
> > > > > Subject: [meta-arago] [PATCH 2/4] qtbase: add additional
> > > > > dependencies
> > > for
> > > > > GLES check on omap-a15 platforms
> > > > >
> > > > > From: Denys Dmytriyenko <denys@ti.com>
> > > > >
> > > > > GLES libraries for omap-a15 platforms come in binary form and
> > > > > are pre-
> > > built
> > > > > against libdrm and libwayland libraries. When qtbase tries to do
> > > > > a check
> > > for
> > > > > GLES support, it fails to link the test app, when libdrm and
> > > > > libwayland are
> > > not
> > > > > yet available in sysroots:
> > > > >
> > > > > | OpenGL ES 2.x auto-detection... () ...-g++ ... -o opengles2.o
> > > > > | .../qtbase-opensource-src-
> > > 5.2.1/config.tests/unix/opengles2/opengles2.
> > > > > | cpp ...-g++ ... -o opengles2 opengles2.o -lsrv_um -lGLESv2
> > > > > | .../bin/ld: warning: libdrm.so.2, needed by
> > > > > | .../usr/lib/libsrv_um.so, not found (try using -rpath or
> > > > > | -rpath-link)
> > > > > | .../bin/ld: warning: libwayland-server.so.0, needed by
> > > > > | .../usr/lib/libIMGegl.so, not found (try using -rpath or
> > > > > | -rpath-link)
> > > > > | .../bin/ld: warning: libdrm_omap.so.1, needed by
> > > > > | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link) ...
> > > > > | collect2: error: ld returned 1 exit status
> > > > > | Makefile:103: recipe for target 'opengles2' failed
> > > > > | make: *** [opengles2] Error 1
> > > > > | OpenGL ES 2.x disabled.
> > > > > | The OpenGL ES 2.0 functionality test failed!
> > > > >
> > > > > Add libdrm and wayland as extra dependencies for qtbase when
> > > > > building
> > > on
> > > > > omap-a15 with gles flag enabled.
> > > > >
> > > > > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > > > > ---
> > > > >  meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend | 6
> > > > > ++++++
> > > > >  1 file changed, 6 insertions(+)  create mode 100644
> > > > > meta-arago-distro/recipes- qt/qt5/qtbase_5.2.1.bbappend
> > > > >
> > > > > diff --git
> > > > > a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > > b/meta-
> > > > > arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > > > > new file mode 100644
> > > > > index 0000000..c879313
> > > > > --- /dev/null
> > > > > +++ b/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > > > > @@ -0,0 +1,6 @@
> > > > > +GLES_EXTRA_DEPS = ""
> > > > > +GLES_EXTRA_DEPS_omap-a15 = "libdrm wayland"
> > > > > +
> > > > > +PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2
> > > > > +virtual/egl
> > > > > ${GLES_EXTRA_DEPS}"
> > > > > +
> > > > > +PR_append = "-arago0"
> > > > > --
> > > > > 2.0.4
> > > > >
> > > > > _______________________________________________
> > > > > meta-arago mailing list
> > > > > meta-arago@arago-project.org
> > > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > > _______________________________________________
> > > > meta-arago mailing list
> > > > meta-arago@arago-project.org
> > > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 1/4] packagegroups: conditionally disable dual-camera and image-gallery for Qt5 builds
  2014-08-06 22:53 [PATCH 1/4] packagegroups: conditionally disable dual-camera and image-gallery for Qt5 builds Denys Dmytriyenko
                   ` (3 preceding siblings ...)
  2014-08-06 23:30 ` [PATCH 1/4] packagegroups: conditionally disable dual-camera and image-gallery for Qt5 builds Cooper Jr., Franklin
@ 2014-08-07 12:48 ` Maupin, Chase
  4 siblings, 0 replies; 15+ messages in thread
From: Maupin, Chase @ 2014-08-07 12:48 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago

Acked-by: Chase Maupin <chase.maupin@ti.com>


>-----Original Message-----
>From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
>Sent: Wednesday, August 06, 2014 5:54 PM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [PATCH 1/4] packagegroups: conditionally
>disable dual-camera and image-gallery for Qt5 builds
>
>From: Denys Dmytriyenko <denys@ti.com>
>
>Signed-off-by: Denys Dmytriyenko <denys@ti.com>
>---
> .../recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
>| 5 ++---
> .../packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb
>| 5 ++---
> .../packagegroups/packagegroup-arago-tisdk-multimedia.bb
>| 5 ++---
> 3 files changed, 6 insertions(+), 9 deletions(-)
>
>diff --git a/meta-arago-distro/recipes-
>core/packagegroups/packagegroup-arago-tisdk-matrix.bb b/meta-
>arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-
>matrix.bb
>index ae502f1..109e1ad 100644
>--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-
>arago-tisdk-matrix.bb
>+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-
>arago-tisdk-matrix.bb
>@@ -1,6 +1,6 @@
> DESCRIPTION = "Task to include Matrix v2"
> LICENSE = "MIT"
>-PR = "r29"
>+PR = "r30"
>
> inherit packagegroup
>
>@@ -77,8 +77,7 @@ MATRIX_APPS_append_ti43x = "        \
>     matrix-multimedia-demo-mpeg4aacdec \
>     matrix-multimedia-demo-mpeg4dec \
>                                     \
>-    matrix-gui-apps-dual-camera     \
>-    matrix-gui-apps-image-gallery   \
>+    ${@base_conditional('QT_PROVIDER', 'qt5', '', 'matrix-gui-
>apps-dual-camera matrix-gui-apps-image-gallery', d)} \
>                                     \
>     matrix-gui-generic-pm           \
>     matrix-gui-pm-demos-suspend     \
>diff --git a/meta-arago-distro/recipes-
>core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb
>b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
>tisdk-multimedia-sdk-host.bb
>index 307e712..40aa486 100644
>--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-
>arago-tisdk-multimedia-sdk-host.bb
>+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-
>arago-tisdk-multimedia-sdk-host.bb
>@@ -1,6 +1,6 @@
> DESCRIPTION = "Task to add multimedia related sources into the
>SDK"
> LICENSE = "MIT"
>-PR = "r4"
>+PR = "r5"
>
> inherit packagegroup
>
>@@ -17,8 +17,7 @@ MULTIMEDIA_append_am3517-evm = " \
> "
>
> MULTIMEDIA_append_ti43x = " \
>-    dual-camera-demo-src \
>-    image-gallery-src \
>+    ${@base_conditional('QT_PROVIDER', 'qt5', '', 'dual-camera-
>demo-src image-gallery-src', d)} \
> "
>
> RDEPENDS_${PN} = "\
>diff --git a/meta-arago-distro/recipes-
>core/packagegroups/packagegroup-arago-tisdk-multimedia.bb b/meta-
>arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-
>multimedia.bb
>index 417b0a8..7016ec0 100644
>--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-
>arago-tisdk-multimedia.bb
>+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-
>arago-tisdk-multimedia.bb
>@@ -1,6 +1,6 @@
> DESCRIPTION = "Task to add multimedia related packages"
> LICENSE = "MIT"
>-PR = "r8"
>+PR = "r9"
>
> inherit packagegroup
>
>@@ -18,8 +18,7 @@ MULTIMEDIA_append_ti33x = " \
>
> MULTIMEDIA_append_ti43x = " \
>     amsdk-av-files \
>-    dual-camera-demo \
>-    image-gallery \
>+    ${@base_conditional('QT_PROVIDER', 'qt5', '', 'dual-camera-
>demo image-gallery', d)} \
> "
>
> MULTIMEDIA_append_omap-a15 = " \
>--
>2.0.4
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms
  2014-08-06 22:53 ` [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms Denys Dmytriyenko
  2014-08-06 23:30   ` Cooper Jr., Franklin
@ 2014-08-07 12:50   ` Maupin, Chase
  1 sibling, 0 replies; 15+ messages in thread
From: Maupin, Chase @ 2014-08-07 12:50 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago

Acked-by: Chase Maupin <chase.maupin@ti.com>

>-----Original Message-----
>From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
>Sent: Wednesday, August 06, 2014 5:54 PM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [PATCH 2/4] qtbase: add additional
>dependencies for GLES check on omap-a15 platforms
>
>From: Denys Dmytriyenko <denys@ti.com>
>
>GLES libraries for omap-a15 platforms come in binary form and are
>pre-built
>against libdrm and libwayland libraries. When qtbase tries to do a
>check
>for GLES support, it fails to link the test app, when libdrm and
>libwayland
>are not yet available in sysroots:
>
>| OpenGL ES 2.x auto-detection... ()
>| ...-g++ ... -o opengles2.o .../qtbase-opensource-src-
>5.2.1/config.tests/unix/opengles2/opengles2.cpp
>| ...-g++ ... -o opengles2 opengles2.o -lsrv_um -lGLESv2
>| .../bin/ld: warning: libdrm.so.2, needed by
>.../usr/lib/libsrv_um.so, not found (try using -rpath or -rpath-
>link)
>| .../bin/ld: warning: libwayland-server.so.0, needed by
>.../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-
>link)
>| .../bin/ld: warning: libdrm_omap.so.1, needed by
>.../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-
>link)
>| ...
>| collect2: error: ld returned 1 exit status
>| Makefile:103: recipe for target 'opengles2' failed
>| make: *** [opengles2] Error 1
>| OpenGL ES 2.x disabled.
>| The OpenGL ES 2.0 functionality test failed!
>
>Add libdrm and wayland as extra dependencies for qtbase when
>building on
>omap-a15 with gles flag enabled.
>
>Signed-off-by: Denys Dmytriyenko <denys@ti.com>
>---
> meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend | 6 ++++++
> 1 file changed, 6 insertions(+)
> create mode 100644 meta-arago-distro/recipes-
>qt/qt5/qtbase_5.2.1.bbappend
>
>diff --git a/meta-arago-distro/recipes-
>qt/qt5/qtbase_5.2.1.bbappend b/meta-arago-distro/recipes-
>qt/qt5/qtbase_5.2.1.bbappend
>new file mode 100644
>index 0000000..c879313
>--- /dev/null
>+++ b/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
>@@ -0,0 +1,6 @@
>+GLES_EXTRA_DEPS = ""
>+GLES_EXTRA_DEPS_omap-a15 = "libdrm wayland"
>+
>+PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2
>virtual/egl ${GLES_EXTRA_DEPS}"
>+
>+PR_append = "-arago0"
>--
>2.0.4
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 4/4] arago.conf: cleanup and document additional package configuration
  2014-08-06 22:53 ` [PATCH 4/4] arago.conf: cleanup and document additional package configuration Denys Dmytriyenko
  2014-08-06 23:26   ` Cooper Jr., Franklin
@ 2014-08-07 12:51   ` Maupin, Chase
  1 sibling, 0 replies; 15+ messages in thread
From: Maupin, Chase @ 2014-08-07 12:51 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago

Acked-by: Chase Maupin <chase.maupin@ti.com>

>-----Original Message-----
>From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
>Sent: Wednesday, August 06, 2014 5:54 PM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [PATCH 4/4] arago.conf: cleanup and document
>additional package configuration
>
>From: Denys Dmytriyenko <denys@ti.com>
>
>Signed-off-by: Denys Dmytriyenko <denys@ti.com>
>---
> meta-arago-distro/conf/distro/arago.conf | 11 +++++++----
> 1 file changed, 7 insertions(+), 4 deletions(-)
>
>diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-
>arago-distro/conf/distro/arago.conf
>index 4927fe9..0074b8b 100644
>--- a/meta-arago-distro/conf/distro/arago.conf
>+++ b/meta-arago-distro/conf/distro/arago.conf
>@@ -19,17 +19,20 @@ NO32LIBS = "0"
> # Set our distro features, don't forget all the standard libc
>ones
> DISTRO_FEATURES = "alsa argp bluetooth ext2 irda largefile pcmcia
>usbgadget usbhost wifi xattr nfs zeroconf pci 3g ipv4 ipv6
>pulseaudio ${DISTRO_FEATURES_LIBC}"
>
>-# Set additional distro features to enable Wayland and Weston
>+# Set additional distro features
> DISTRO_FEATURES += "opengl pam"
>+
>+# Set preferred Qt version
>+QT_PROVIDER = "qt5"
>+
>+# Distro-specific package configuration
>+# Weston - use fbdev compositor and provide launcher
> PACKAGECONFIG_pn-weston = "fbdev launch"
>
> # Configure Qt5 flags (GLES is still required for qtdeclarative
>and qtwebkit)
> PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb"
> PACKAGECONFIG_DISTRO_pn-qtbase = "icu"
>
>-# Set preferred Qt version
>-QT_PROVIDER = "qt5"
>-
> # ARM9 is not supported by the Linaro toolchain so default back
>to the Arago
> # toolchain for ARM9 based SOCs.
> TC_SANE_DEFAULT :=
>"${@bb.utils.contains('SOC_FAMILY','omapl138','arago','linaro',d)}
>"
>--
>2.0.4
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

end of thread, other threads:[~2014-08-07 12:51 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-06 22:53 [PATCH 1/4] packagegroups: conditionally disable dual-camera and image-gallery for Qt5 builds Denys Dmytriyenko
2014-08-06 22:53 ` [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms Denys Dmytriyenko
2014-08-06 23:30   ` Cooper Jr., Franklin
2014-08-06 23:34     ` Denys Dmytriyenko
2014-08-06 23:45       ` Cooper Jr., Franklin
2014-08-06 23:54         ` Denys Dmytriyenko
2014-08-07  0:00           ` Cooper Jr., Franklin
2014-08-07 12:50   ` Maupin, Chase
2014-08-06 22:53 ` [PATCH 3/4] wayland: remove overlayed recipes, use bbappend for weston instead Denys Dmytriyenko
2014-08-06 23:25   ` Denys Dmytriyenko
2014-08-06 22:53 ` [PATCH 4/4] arago.conf: cleanup and document additional package configuration Denys Dmytriyenko
2014-08-06 23:26   ` Cooper Jr., Franklin
2014-08-07 12:51   ` Maupin, Chase
2014-08-06 23:30 ` [PATCH 1/4] packagegroups: conditionally disable dual-camera and image-gallery for Qt5 builds Cooper Jr., Franklin
2014-08-07 12:48 ` Maupin, Chase

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.