public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/weston/
Date: Sun, 14 Apr 2019 14:17:35 +0000 (UTC)	[thread overview]
Message-ID: <1555251444.9789e20605e5313ab874b67c9cf9c71f2f5f0f17.chewi@gentoo> (raw)

commit:     9789e20605e5313ab874b67c9cf9c71f2f5f0f17
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 14:15:47 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Apr 14 14:17:24 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9789e206

dev-libs/weston: Version bump to 6.0.0, EAPI 7

The "devices" test fails most of the time but I haven't been able to
figure out why. It seems to work fine other than that.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 dev-libs/weston/Manifest                           |  1 +
 dev-libs/weston/metadata.xml                       |  2 ++
 .../{weston-9999.ebuild => weston-6.0.0.ebuild}    | 25 ++++++++++++----------
 dev-libs/weston/weston-9999.ebuild                 | 22 +++++++++----------
 4 files changed, 28 insertions(+), 22 deletions(-)

diff --git a/dev-libs/weston/Manifest b/dev-libs/weston/Manifest
index 2c30fde70a9..b383b67e848 100644
--- a/dev-libs/weston/Manifest
+++ b/dev-libs/weston/Manifest
@@ -1,2 +1,3 @@
 DIST weston-3.0.0.tar.xz 1300340 BLAKE2B 38b46ecca03ffee7832a561348cb1d6604db7e0add8b5629141ce61593ae250625d71c6716f02296157ea5a61764ff10561fa7ffc8f3c1426a4c86589b13b5c3 SHA512 b824c39f2a884f6d50d607613f447090621f684c96f7d905f25f6e500dabd03ecb2b1cd1030babc193c3417223cb220103abb792437e1a5ead7229a76b5c7a58
 DIST weston-5.0.0.tar.xz 1467496 BLAKE2B 514bc4c4f09dc8bc5b068c66cf14b86687bee1e691f7dfcb251a5ae7fe02389b48626ed02c97eff9334b43e227ea8b83beef48c53a83b4691f59a65af53ad61d SHA512 b6f97eca014ea47f3de0c5ddd89712f896cd66423d0eb499e1d88d35aab616cef1e735ebb8e0cefd8b60085314b6ec3d56b39d7c4776188bb56d58efc84a52cf
+DIST weston-6.0.0.tar.xz 1517032 BLAKE2B 598c525598f877715320d8b468618595d1f7b10ed56aa82c3535b05c369216d1a938d32354e3a8cc9077a0d910d0dbfdcf504fb687c73942d8ad92b13a124bd2 SHA512 127ab64b689f202acca4d9461e4decfd42357e4bbb63493af257b3b20b693a8ab4207b3c6b97663cefeed200505aad5f32b6a064db2e53fa1e201877613b394f

diff --git a/dev-libs/weston/metadata.xml b/dev-libs/weston/metadata.xml
index c976a4437cf..c98075bd2fe 100644
--- a/dev-libs/weston/metadata.xml
+++ b/dev-libs/weston/metadata.xml
@@ -7,9 +7,11 @@
 </maintainer>
 <use>
 	<flag name="colord">Allow setting color managment</flag>
+	<flag name="desktop">Enable the desktop shell</flag>
 	<flag name="drm">Enable drm compositor support</flag>
 	<flag name="editor">Install wayland-editor example application</flag>
 	<flag name="fbdev">Enable fbdev compositor support</flag>
+	<flag name="fullscreen">Enable fullscreen/kiosk shell</flag>
 	<flag name="gles2">Use GLESv2 cairo instead of full GL</flag>
 	<flag name="headless">Headless backend and a noop renderer, mainly for testing purposes</flag>
 	<flag name="ivi">Enable the IVI shell</flag>

diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-6.0.0.ebuild
similarity index 81%
copy from dev-libs/weston/weston-9999.ebuild
copy to dev-libs/weston/weston-6.0.0.ebuild
index b06805e2e15..70df71207df 100644
--- a/dev-libs/weston/weston-9999.ebuild
+++ b/dev-libs/weston/weston-6.0.0.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 if [[ ${PV} = 9999* ]]; then
 	EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/weston.git"
@@ -9,7 +9,7 @@ if [[ ${PV} = 9999* ]]; then
 	EXPERIMENTAL="true"
 fi
 
-inherit meson readme.gentoo-r1 toolchain-funcs $GIT_ECLASS
+inherit meson readme.gentoo-r1 toolchain-funcs xdg-utils $GIT_ECLASS
 
 DESCRIPTION="Wayland reference compositor"
 HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/weston"
@@ -25,12 +25,12 @@ fi
 LICENSE="MIT CC-BY-SA-3.0"
 SLOT="0"
 
-IUSE="colord +drm editor examples fbdev +gles2 headless ivi jpeg +launch lcms rdp remoting +resize-optimization screen-sharing static-libs +suid systemd test wayland-compositor webp +X xwayland"
+IUSE="colord +desktop +drm editor examples fbdev fullscreen +gles2 headless ivi jpeg +launch lcms rdp remoting +resize-optimization screen-sharing static-libs +suid systemd test wayland-compositor webp +X xwayland"
 
 REQUIRED_USE="
 	drm? ( gles2 )
 	screen-sharing? ( rdp )
-	test? ( headless xwayland )
+	test? ( desktop headless xwayland )
 	wayland-compositor? ( gles2 )
 "
 
@@ -61,7 +61,7 @@ RDEPEND="
 	gles2? (
 		media-libs/mesa[gles2,wayland]
 	)
-	rdp? ( >=net-misc/freerdp-1.1.0:= )
+	rdp? ( >=net-misc/freerdp-2.0.0_rc2:= )
 	remoting? (
 		media-libs/gstreamer:1.0
 		media-libs/gst-plugins-base:1.0
@@ -83,7 +83,8 @@ RDEPEND="
 		x11-libs/libXcursor
 	)
 "
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
 	virtual/pkgconfig
 "
 
@@ -94,6 +95,7 @@ src_configure() {
 		$(meson_use headless backend-headless)
 		$(meson_use rdp backend-rdp)
 		$(meson_use screen-sharing screenshare)
+		$(meson_use wayland-compositor backend-wayland)
 		$(meson_use X backend-x11)
 		$(meson_use fbdev backend-fbdev)
 		$(meson_use gles2 renderer-gl)
@@ -101,7 +103,8 @@ src_configure() {
 		$(meson_use xwayland)
 		$(meson_use systemd)
 		$(meson_use remoting)
-		$(meson_use wayland-compositor shell-desktop)
+		$(meson_use desktop shell-desktop)
+		$(meson_use fullscreen shell-fullscreen)
 		$(meson_use ivi shell-ivi)
 		$(meson_use lcms color-management-lcms)
 		$(meson_use colord color-management-colord)
@@ -120,11 +123,11 @@ src_configure() {
 }
 
 src_test() {
-	export XDG_RUNTIME_DIR="${T}/runtime-dir"
-	mkdir "${XDG_RUNTIME_DIR}" || die
-	chmod 0700 "${XDG_RUNTIME_DIR}" || die
+	xdg_environment_reset
+
+	# devices test usually fails.
 	cd "${BUILD_DIR}" || die
-	meson_src_test
+	meson test $(meson test --list | grep -Fxv devices) || die
 }
 
 src_install() {

diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild
index b06805e2e15..f0ba4e027b7 100644
--- a/dev-libs/weston/weston-9999.ebuild
+++ b/dev-libs/weston/weston-9999.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 if [[ ${PV} = 9999* ]]; then
 	EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/weston.git"
@@ -9,7 +9,7 @@ if [[ ${PV} = 9999* ]]; then
 	EXPERIMENTAL="true"
 fi
 
-inherit meson readme.gentoo-r1 toolchain-funcs $GIT_ECLASS
+inherit meson readme.gentoo-r1 toolchain-funcs xdg-utils $GIT_ECLASS
 
 DESCRIPTION="Wayland reference compositor"
 HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/weston"
@@ -25,12 +25,12 @@ fi
 LICENSE="MIT CC-BY-SA-3.0"
 SLOT="0"
 
-IUSE="colord +drm editor examples fbdev +gles2 headless ivi jpeg +launch lcms rdp remoting +resize-optimization screen-sharing static-libs +suid systemd test wayland-compositor webp +X xwayland"
+IUSE="colord +desktop +drm editor examples fbdev fullscreen +gles2 headless ivi jpeg +launch lcms rdp remoting +resize-optimization screen-sharing static-libs +suid systemd test wayland-compositor webp +X xwayland"
 
 REQUIRED_USE="
 	drm? ( gles2 )
 	screen-sharing? ( rdp )
-	test? ( headless xwayland )
+	test? ( desktop headless xwayland )
 	wayland-compositor? ( gles2 )
 "
 
@@ -61,7 +61,7 @@ RDEPEND="
 	gles2? (
 		media-libs/mesa[gles2,wayland]
 	)
-	rdp? ( >=net-misc/freerdp-1.1.0:= )
+	rdp? ( >=net-misc/freerdp-2.0.0_rc2:= )
 	remoting? (
 		media-libs/gstreamer:1.0
 		media-libs/gst-plugins-base:1.0
@@ -83,7 +83,8 @@ RDEPEND="
 		x11-libs/libXcursor
 	)
 "
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
 	virtual/pkgconfig
 "
 
@@ -94,6 +95,7 @@ src_configure() {
 		$(meson_use headless backend-headless)
 		$(meson_use rdp backend-rdp)
 		$(meson_use screen-sharing screenshare)
+		$(meson_use wayland-compositor backend-wayland)
 		$(meson_use X backend-x11)
 		$(meson_use fbdev backend-fbdev)
 		$(meson_use gles2 renderer-gl)
@@ -101,7 +103,8 @@ src_configure() {
 		$(meson_use xwayland)
 		$(meson_use systemd)
 		$(meson_use remoting)
-		$(meson_use wayland-compositor shell-desktop)
+		$(meson_use desktop shell-desktop)
+		$(meson_use fullscreen shell-fullscreen)
 		$(meson_use ivi shell-ivi)
 		$(meson_use lcms color-management-lcms)
 		$(meson_use colord color-management-colord)
@@ -120,10 +123,7 @@ src_configure() {
 }
 
 src_test() {
-	export XDG_RUNTIME_DIR="${T}/runtime-dir"
-	mkdir "${XDG_RUNTIME_DIR}" || die
-	chmod 0700 "${XDG_RUNTIME_DIR}" || die
-	cd "${BUILD_DIR}" || die
+	xdg_environment_reset
 	meson_src_test
 }
 


             reply	other threads:[~2019-04-14 14:17 UTC|newest]

Thread overview: 141+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-14 14:17 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-15 23:01 [gentoo-commits] repo/gentoo:master commit in: dev-libs/weston/ James Le Cuirot
2024-10-25 21:05 James Le Cuirot
2024-10-15 13:34 James Le Cuirot
2024-09-06 22:37 James Le Cuirot
2024-09-06 22:37 James Le Cuirot
2024-09-05 22:07 James Le Cuirot
2024-09-05 22:07 James Le Cuirot
2024-09-05 22:07 James Le Cuirot
2024-07-01 13:43 James Le Cuirot
2024-06-30 15:05 James Le Cuirot
2024-06-08  9:31 James Le Cuirot
2024-06-08  9:31 James Le Cuirot
2024-05-28 22:28 Ionen Wolkens
2024-04-26 22:07 James Le Cuirot
2024-04-26 22:07 James Le Cuirot
2024-04-26 22:07 James Le Cuirot
2024-04-26 21:58 James Le Cuirot
2024-04-26 21:32 James Le Cuirot
2024-04-26 21:32 James Le Cuirot
2024-04-26  0:14 Sam James
2024-04-26  0:14 Sam James
2024-04-25 22:18 Sam James
2024-04-25 22:18 Sam James
2024-04-25 21:10 James Le Cuirot
2024-04-24 22:59 James Le Cuirot
2024-04-24 17:39 Arthur Zamarin
2024-04-19  8:31 Arthur Zamarin
2024-04-16 22:29 Sam James
2024-03-17 16:35 Mike Gilbert
2023-12-30 18:39 Mike Gilbert
2023-12-17 22:59 James Le Cuirot
2023-11-28 22:56 James Le Cuirot
2023-11-28 22:56 James Le Cuirot
2023-10-17 21:34 James Le Cuirot
2023-08-07 13:45 James Le Cuirot
2023-08-07 12:54 James Le Cuirot
2023-08-04 21:54 James Le Cuirot
2023-06-24 13:41 James Le Cuirot
2023-06-13 18:10 Arthur Zamarin
2023-05-27  9:12 James Le Cuirot
2023-05-27  6:35 Arthur Zamarin
2023-05-27  6:35 Arthur Zamarin
2023-05-27  6:34 Arthur Zamarin
2023-05-22 19:36 James Le Cuirot
2023-05-20 20:22 James Le Cuirot
2023-05-20 20:22 James Le Cuirot
2023-05-05  9:43 Arthur Zamarin
2023-04-26 21:37 James Le Cuirot
2023-03-19 10:46 James Le Cuirot
2023-03-11 17:04 Sam James
2022-12-24 17:12 James Le Cuirot
2022-12-24 17:12 James Le Cuirot
2022-12-21 23:15 James Le Cuirot
2022-12-21 23:15 James Le Cuirot
2022-12-08 22:06 James Le Cuirot
2022-12-05 17:24 WANG Xuerui
2022-12-05 17:24 WANG Xuerui
2022-09-28 21:03 James Le Cuirot
2022-09-25 13:40 James Le Cuirot
2022-08-08 22:57 James Le Cuirot
2022-07-27 22:38 James Le Cuirot
2022-06-24  9:24 James Le Cuirot
2022-06-24  9:24 James Le Cuirot
2022-05-21  9:25 James Le Cuirot
2022-05-15  3:10 Sam James
2022-05-10  4:06 Arthur Zamarin
2022-05-07 18:28 Arthur Zamarin
2022-04-30 12:06 Arthur Zamarin
2022-04-30 12:00 Arthur Zamarin
2022-04-30 12:00 Arthur Zamarin
2022-04-30 12:00 Arthur Zamarin
2022-04-30 12:00 Arthur Zamarin
2022-02-05 22:58 James Le Cuirot
2022-02-05 17:01 James Le Cuirot
2022-01-12  6:24 Georgy Yakovlev
2021-09-24 22:05 James Le Cuirot
2021-09-24 22:05 James Le Cuirot
2021-08-25  0:10 Marek Szuba
2021-08-20  0:28 Sam James
2021-08-18  1:41 Sam James
2021-08-18  1:28 Sam James
2021-08-18  1:28 Sam James
2021-07-26 19:52 Piotr Karbowski
2021-05-29  8:58 James Le Cuirot
2021-05-15  1:59 Sam James
2021-04-11 12:28 James Le Cuirot
2021-04-03 15:44 Sam James
2021-02-18  8:50 Sam James
2021-01-19 19:17 Sam James
2021-01-01 18:25 Andreas Sturmlechner
2020-12-17 11:59 Sam James
2020-12-02 23:31 Thomas Deutschmann
2020-09-05 10:32 James Le Cuirot
2020-09-05 10:32 James Le Cuirot
2020-09-05 10:32 James Le Cuirot
2020-07-25 20:39 James Le Cuirot
2020-03-08 17:21 James Le Cuirot
2020-03-08 10:42 Agostino Sarubbo
2020-03-08 10:37 Agostino Sarubbo
2020-03-08 10:25 Agostino Sarubbo
2020-02-15 23:38 James Le Cuirot
2020-02-15 23:38 James Le Cuirot
2020-01-14 22:39 James Le Cuirot
2019-11-24 23:49 James Le Cuirot
2019-09-14 13:35 James Le Cuirot
2019-08-26  9:00 James Le Cuirot
2019-08-26  9:00 James Le Cuirot
2019-08-18 10:20 James Le Cuirot
2019-08-10  9:21 James Le Cuirot
2019-06-25 19:46 James Le Cuirot
2019-06-25 19:46 James Le Cuirot
2019-04-30 22:00 James Le Cuirot
2019-04-14 21:47 James Le Cuirot
2019-04-14 21:47 James Le Cuirot
2019-04-14 14:17 James Le Cuirot
2019-03-10 13:10 James Le Cuirot
2018-11-16 23:05 James Le Cuirot
2018-11-16 23:05 James Le Cuirot
2018-10-19  8:51 Michał Górny
2018-08-19 20:17 James Le Cuirot
2018-05-13 11:30 Markus Meier
2018-05-06 12:26 Mikle Kolyada
2017-09-14 10:25 James Le Cuirot
2017-09-14 10:25 James Le Cuirot
2017-09-14 10:25 James Le Cuirot
2017-08-17 17:06 Michał Górny
2017-03-09 14:39 Chí-Thanh Christopher Nguyễn
2017-03-09 14:39 Chí-Thanh Christopher Nguyễn
2017-03-03  4:25 Matt Turner
2016-10-04 18:12 Manuel Rüger
2016-08-05 17:23 Markus Meier
2016-06-04 11:18 Chí-Thanh Christopher Nguyễn
2016-03-10 18:20 Chí-Thanh Christopher Nguyễn
2015-12-19 19:56 Markus Meier
2015-09-22 16:33 Matt Turner
2015-08-31 21:24 Matt Turner
2015-08-30 20:00 Matt Turner
2015-08-30  0:43 Matt Turner
2015-08-30  0:43 Matt Turner
2015-08-30  0:08 Matt Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1555251444.9789e20605e5313ab874b67c9cf9c71f2f5f0f17.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox