Skip to contentSkip to conversation

wayland-fits: Add recipe

PATCH Superseded Manuel Bachmann 3 participants 5 messages Sep 19, 2015 – Sep 22, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wayland-fits: Add recipe

wayland-fits is a functional integration test suite for Wayland and Weston.

---
 .../recipes-graphics/wayland/wayland-fits_git.bb   | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/wayland/wayland-fits_git.bb
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +30 -0
new file mode 100644
index 0000000..550e171
@@ -0,0 +1,30 @@
+SUMMARY = "Wayland-fits, the Wayland Functional Integration Test Suite"
+DESCRIPTION = "Wayland-fits is a fully automated functional integration \
+test suite. Its main purpose is to test the functionality and integration of \
+client-side (i.e. toolkit) and server-side (compositor) implementations of \
+the Wayland protocol."
+HOMEPAGE = "https://github.com/01org/wayland-fits"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f8d34cadaf891753c0f00c6cd48f08f5 \
+                    file://src/extensions/weston/weston-wfits.cpp;endline=21;md5=848c81e55cf3a30a9f6ed75f0dba7a97"
+
+SRC_URI = "git://github.com/01org/wayland-fits.git"
+SRCREV = "f30dfa9fceb438d3687c5215093fffc21a7852fc"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+DEPENDS = "libcheck boost wayland weston"
+RDEPENDS_${PN} = "weston"
+
+EXTRA_OECONF = "--enable-shared --disable-static \
+                --disable-efl-tests --disable-gtk-tests \
+                --with-boost-libdir=${STAGING_LIBDIR}"
+
+do_install_append() {
+	rm -f ${D}/${libdir}/weston/*.la
+}
+
+FILES_${PN} = "${bindir}/wfits ${libdir}/weston/*.so"
+FILES_${PN}-dbg = "${bindir}/.debug ${libdir}/weston/.debug ${prefix}/src"
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 24 lines · Manuel Bachmann

wayland-fits is a functional integration test suite for Wayland and Weston.

---
 .../recipes-graphics/wayland/wayland-fits_git.bb   | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/wayland/wayland-fits_git.bb
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +9 -0
new file mode 100644
index 0000000..550e171
@@ -0,0 +1,30 @@
+SUMMARY = "Wayland-fits, the Wayland Functional Integration Test Suite"
+DESCRIPTION = "Wayland-fits is a fully automated functional integration \
+test suite. Its main purpose is to test the functionality and integration of \
+client-side (i.e. toolkit) and server-side (compositor) implementations of \
+the Wayland protocol."
+HOMEPAGE = "https://github.com/01org/wayland-fits"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f8d34cadaf891753c0f00c6cd48f08f5 \
+                    file://src/extensions/weston/weston-wfits.cpp;endline=21;md5=848c81e55cf3a30a9f6ed75f0dba7a97"

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 19

Quoted 10 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +10 -0
+
+SRC_URI = "git://github.com/01org/wayland-fits.git"
+SRCREV = "f30dfa9fceb438d3687c5215093fffc21a7852fc"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+DEPENDS = "libcheck boost wayland weston"
+RDEPENDS_${PN} = "weston"

may be better to use += here

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 23

Quoted 4 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +4 -0
+
+EXTRA_OECONF = "--enable-shared --disable-static \
+                --disable-efl-tests --disable-gtk-tests \
+                --with-boost-libdir=${STAGING_LIBDIR}"

We do have EFL and GTK support in OE, would it make sense to turn it into some sort of PACKAGECONFIG ?

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 30

Quoted 7 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +7 -0
+
+do_install_append() {
+       rm -f ${D}/${libdir}/weston/*.la
+}
+
+FILES_${PN} = "${bindir}/wfits ${libdir}/weston/*.so"
+FILES_${PN}-dbg = "${bindir}/.debug ${libdir}/weston/.debug ${prefix}/src"

this could be += as well.

Quoted 8 lines

--
1.8.3.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw

Hi Khem, and thanks a lot for your feedback !

You are definitely right. For this purpose, though, we need Wayland + EGL support in EFL itself (wayland-fits checks for them at configure time).

I just sent the corresponding patch to the mailing list, here it is :

http://lists.openembedded.org/pipermail/openembedded-devel/2015-September/103507.html

Feel free to give feedback. Once it is merged, I will promptly re-submit an updated "wayland-fits" recipe which optionally depends on it.

2015-09-19 22:02 GMT+02:00 Khem Raj <[email protected]>:

Quoted 79 lines
Quoted 6 lines · Manuel Bachmann

wayland-fits is a functional integration test suite for Wayland and Weston.

---
 .../recipes-graphics/wayland/wayland-fits_git.bb   | 30

++++++++++++++++++++++

Review

Quoted 4 lines
 1 file changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/wayland/wayland-fits_git.bb
(quoted diff) +0 -0

b/meta-oe/recipes-graphics/wayland/wayland-fits_git.bb

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 2

Quoted 7 lines

new file mode 100644
index 0000000..550e171

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +2 -0
@@ -0,0 +1,30 @@
+SUMMARY = "Wayland-fits, the Wayland Functional Integration Test Suite"
+DESCRIPTION = "Wayland-fits is a fully automated functional integration

\

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 3

Quoted 1 line
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +1 -0
+test suite. Its main purpose is to test the functionality and

integration of \

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 4

Quoted 1 line
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +1 -0
+client-side (i.e. toolkit) and server-side (compositor) implementations

of \

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb

Quoted 4 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +4 -0
+the Wayland protocol."
+HOMEPAGE = "https://github.com/01org/wayland-fits"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f8d34cadaf891753c0f00c6cd48f08f5

\

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 9

Quoted 1 line
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +1 -0
+

file://src/extensions/weston/weston-wfits.cpp;endline=21;md5=848c81e55cf3a30a9f6ed75f0dba7a97"

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 19

Quoted 10 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +10 -0
+
+SRC_URI = "git://github.com/01org/wayland-fits.git"
+SRCREV = "f30dfa9fceb438d3687c5215093fffc21a7852fc"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+DEPENDS = "libcheck boost wayland weston"
+RDEPENDS_${PN} = "weston"

may be better to use += here

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 23

Quoted 4 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +4 -0
+
+EXTRA_OECONF = "--enable-shared --disable-static \
+                --disable-efl-tests --disable-gtk-tests \
+                --with-boost-libdir=${STAGING_LIBDIR}"

We do have EFL and GTK support in OE, would it make sense to turn it into some sort of PACKAGECONFIG ?

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb

Quoted 7 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +7 -0
+
+do_install_append() {
+       rm -f ${D}/${libdir}/weston/*.la
+}
+
+FILES_${PN} = "${bindir}/wfits ${libdir}/weston/*.so"
+FILES_${PN}-dbg = "${bindir}/.debug ${libdir}/weston/.debug

${prefix}/src"

this could be += as well.

Quoted 8 lines

--
1.8.3.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 3 lines
Regards,

*Manuel Bachmann, Graphics Engineer www.iot.bzh <http://iot.bzh> *
#3 lore raw
Quoted 11 lines · Manuel Bachmann

Hi Khem, and thanks a lot for your feedback !

You are definitely right. For this purpose, though, we need Wayland + EGL support in EFL itself (wayland-fits checks for them at configure time).

I just sent the corresponding patch to the mailing list, here it is :

http://lists.openembedded.org/pipermail/openembedded-devel/2015-September/103507.html

Feel free to give feedback. Once it is merged, I will promptly re-submit an updated "wayland-fits" recipe which optionally depends on it.

You can send PATCHv2 now, and I'll test them both together.

Thanks

Quoted 93 lines

2015-09-19 22:02 GMT+02:00 Khem Raj <[email protected]>:

Quoted 79 lines
Quoted 6 lines · Manuel Bachmann

wayland-fits is a functional integration test suite for Wayland and Weston.

---
 .../recipes-graphics/wayland/wayland-fits_git.bb   | 30

++++++++++++++++++++++

Review

Quoted 4 lines
 1 file changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/wayland/wayland-fits_git.bb
(quoted diff) +0 -0

b/meta-oe/recipes-graphics/wayland/wayland-fits_git.bb

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 2

Quoted 7 lines

new file mode 100644
index 0000000..550e171

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +2 -0
@@ -0,0 +1,30 @@
+SUMMARY = "Wayland-fits, the Wayland Functional Integration Test Suite"
+DESCRIPTION = "Wayland-fits is a fully automated functional integration

\

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 3

Quoted 1 line
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +1 -0
+test suite. Its main purpose is to test the functionality and

integration of \

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 4

Quoted 1 line
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +1 -0
+client-side (i.e. toolkit) and server-side (compositor) implementations

of \

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb

Quoted 4 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +4 -0
+the Wayland protocol."
+HOMEPAGE = "https://github.com/01org/wayland-fits"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f8d34cadaf891753c0f00c6cd48f08f5

\

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 9

Quoted 1 line
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +1 -0
+

file://src/extensions/weston/weston-wfits.cpp;endline=21;md5=848c81e55cf3a30a9f6ed75f0dba7a97"

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 19

Quoted 10 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +10 -0
+
+SRC_URI = "git://github.com/01org/wayland-fits.git"
+SRCREV = "f30dfa9fceb438d3687c5215093fffc21a7852fc"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+DEPENDS = "libcheck boost wayland weston"
+RDEPENDS_${PN} = "weston"

may be better to use += here

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 23

Quoted 4 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +4 -0
+
+EXTRA_OECONF = "--enable-shared --disable-static \
+                --disable-efl-tests --disable-gtk-tests \
+                --with-boost-libdir=${STAGING_LIBDIR}"

We do have EFL and GTK support in OE, would it make sense to turn it into some sort of PACKAGECONFIG ?

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb

Quoted 7 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +7 -0
+
+do_install_append() {
+       rm -f ${D}/${libdir}/weston/*.la
+}
+
+FILES_${PN} = "${bindir}/wfits ${libdir}/weston/*.so"
+FILES_${PN}-dbg = "${bindir}/.debug ${libdir}/weston/.debug

${prefix}/src"

this could be += as well.

Quoted 8 lines

--
1.8.3.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 8 lines
Regards,

*Manuel Bachmann, Graphics Engineer www.iot.bzh <http://iot.bzh> *
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#4 lore raw

Hi Martin,

Thanks, sending it right now.

2015-09-22 21:10 GMT+02:00 Martin Jansa <[email protected]>:

Quoted 129 lines · Manuel Bachmann
Quoted 8 lines

Hi Khem, and thanks a lot for your feedback !

You are definitely right. For this purpose, though, we need Wayland + EGL support in EFL itself (wayland-fits checks for them at configure time).

I just sent the corresponding patch to the mailing list, here it is :

http://lists.openembedded.org/pipermail/openembedded-devel/2015-September/103507.html

Quoted 2 lines

Feel free to give feedback. Once it is merged, I will promptly re-submit

an

Quoted 1 line

updated "wayland-fits" recipe which optionally depends on it.

You can send PATCHv2 now, and I'll test them both together.

Thanks

Quoted 13 lines

2015-09-19 22:02 GMT+02:00 Khem Raj <[email protected]>:

Quoted 11 lines
Quoted 6 lines · Manuel Bachmann

wayland-fits is a functional integration test suite for Wayland and Weston.

---
 .../recipes-graphics/wayland/wayland-fits_git.bb   | 30

++++++++++++++++++++++

Quoted 2 lines
 1 file changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/wayland/

wayland-fits_git.bb

Quoted 9 lines
Quoted 9 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-oe/recipes-graphics/wayland/wayland-fits_git.bb

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 1

Quoted 6 lines

new file mode 100644
index 0000000..550e171

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +1 -0
@@ -0,0 +1,30 @@
+SUMMARY = "Wayland-fits, the Wayland Functional Integration Test

Suite"

Quoted 1 line
Quoted 1 line

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 2

Quoted 1 line
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +1 -0
+DESCRIPTION = "Wayland-fits is a fully automated functional

integration

Quoted 4 lines
Quoted 4 lines

\

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 3

Quoted 1 line
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +1 -0
+test suite. Its main purpose is to test the functionality and

integration of \

Quoted 1 line
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +1 -0
+client-side (i.e. toolkit) and server-side (compositor)

implementations

Quoted 5 lines
Quoted 5 lines

of \

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb

Quoted 4 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +4 -0
+the Wayland protocol."
+HOMEPAGE = "https://github.com/01org/wayland-fits"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://COPYING;md5=f8d34cadaf891753c0f00c6cd48f08f5

Quoted 3 lines
Quoted 3 lines

\

Quoted 1 line
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +1 -0
+

file://src/extensions/weston/weston-wfits.cpp;endline=21;md5=848c81e55cf3a30a9f6ed75f0dba7a97"

Quoted 52 lines
Quoted 40 lines

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 19

Quoted 10 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +10 -0
+
+SRC_URI = "git://github.com/01org/wayland-fits.git"
+SRCREV = "f30dfa9fceb438d3687c5215093fffc21a7852fc"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+DEPENDS = "libcheck boost wayland weston"
+RDEPENDS_${PN} = "weston"

may be better to use += here

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb line 23

Quoted 4 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +4 -0
+
+EXTRA_OECONF = "--enable-shared --disable-static \
+                --disable-efl-tests --disable-gtk-tests \
+                --with-boost-libdir=${STAGING_LIBDIR}"

We do have EFL and GTK support in OE, would it make sense to turn it into some sort of PACKAGECONFIG ?

meta-oe/recipes-graphics/wayland/wayland-fits_git.bb

Quoted 7 lines
meta-oe/recipes-graphics/wayland/wayland-fits_git.bb new file +7 -0
+
+do_install_append() {
+       rm -f ${D}/${libdir}/weston/*.la
+}
+
+FILES_${PN} = "${bindir}/wfits ${libdir}/weston/*.so"
+FILES_${PN}-dbg = "${bindir}/.debug ${libdir}/weston/.debug

${prefix}/src"

this could be += as well.

Quoted 8 lines

--
1.8.3.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Quoted 6 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Regards,

Quoted 6 lines

*Manuel Bachmann, Graphics Engineer www.iot.bzh <http://iot.bzh> * --
_______________________________________________
Openembedded-devel mailing list [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa jabber: [email protected]

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 3 lines
Regards,

*Manuel Bachmann, Graphics Engineer www.iot.bzh <http://iot.bzh> *