Github messages for voidlinux
 help / color / mirror / Atom feed
From: Calandracas606 <Calandracas606@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] weston: update to 13.0.0.
Date: Fri, 26 Jan 2024 15:49:30 +0100	[thread overview]
Message-ID: <20240126144930.1C5D728A81@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47965@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1524 bytes --]

There is an updated pull request by Calandracas606 against master on the void-packages repository

https://github.com/Calandracas606/void-packages weston13
https://github.com/void-linux/void-packages/pull/47965

weston: update to 13.0.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**
- Tested the colour management, and HDR features using DRM back-end
- Only tested the DRM, and nested wayland back-ends

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - i686
  - armv6l-musl (crossbuild)
  - armv7l (crossbuild)
  - aarch64 (crossbuild)
  - aarch64-musl (crossbuild)

I would be happy to adopt the weston package if needed.

A patch file from https://github.com/void-linux/void-packages/pull/47965.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-weston13-47965.patch --]
[-- Type: text/x-diff, Size: 6371 bytes --]

From a0455c9c3727425dab53247f81e1c57ac7e505f8 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Thu, 28 Dec 2023 17:47:22 -0500
Subject: [PATCH 1/2] lcms2: update to 2.16.

---
 srcpkgs/lcms2/template | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/lcms2/template b/srcpkgs/lcms2/template
index 4607451d89e24..0116b8698b670 100644
--- a/srcpkgs/lcms2/template
+++ b/srcpkgs/lcms2/template
@@ -1,18 +1,23 @@
 # Template file for 'lcms2'
 pkgname=lcms2
-version=2.15
+version=2.16
 revision=1
 build_style=meson
-makedepends="tiff-devel"
+configure_args="-Dutils=true -Dsamples=true $(vopt_bool plugins fastfloat) $(vopt_bool plugins threaded)"
+hostmakedepends="pkg-config"
+makedepends="tiff-devel libjpeg-turbo-devel"
 short_desc="Small-footprint color management engine, version 2"
 maintainer="skmpz <dem.procopiou@gmail.com>"
-license="MIT"
+license="MIT $(vopt_if plugins GPL-3.0-or-later)"
 homepage="https://littlecms.com"
 distfiles="${SOURCEFORGE_SITE}/lcms/lcms2-${version}.tar.gz"
-checksum=b20cbcbd0f503433be2a4e81462106fa61050a35074dc24a4e356792d971ab39
+checksum=d873d34ad8b9b4cea010631f1a6228d2087475e4dc5e763eb81acc23d9d45a51
+build_options="plugins"
+build_options_default="plugins"
+desc_option_plugins="Build with threaded and fast float plugins (GPL-3.0-or-later)"
 
 post_install() {
-	vlicense COPYING
+	vlicense LICENSE
 }
 
 lcms2-devel_package() {
@@ -21,9 +26,10 @@ lcms2-devel_package() {
 	pkg_install() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
-		vmove "usr/lib/*.so"
+		vmove usr/lib/liblcms2.so
 	}
 }
+
 lcms2-tools_package() {
 	short_desc+=" - bundled tools"
 	pkg_install() {

From 60f497fba6f5b6d85a5b61194f0c6b2664c26432 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Thu, 28 Dec 2023 17:42:53 -0500
Subject: [PATCH 2/2] weston: update to 13.0.0. Adopt.

---
 common/shlibs                           |  1 -
 srcpkgs/{weston-colord => weston-devel} |  0
 srcpkgs/weston/files/README.voidlinux   |  6 ++--
 srcpkgs/weston/template                 | 42 ++++++++++---------------
 4 files changed, 21 insertions(+), 28 deletions(-)
 rename srcpkgs/{weston-colord => weston-devel} (100%)

diff --git a/common/shlibs b/common/shlibs
index 27763bf428b75..82a21cfa274f3 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2939,7 +2939,6 @@ libspectrum.so.8 libspectrum-1.2.2_1
 libbearssl.so.0 bearssl-0.3_1
 libXfont2.so.2 libXfont2-2.0.1_1
 libqalculate.so.22 libqalculate-3.20.1_1
-libweston-9.so.0 weston-9.0.0_1
 libostree-1.so.1 ostree-2023.1_1
 librhash.so.1 rhash-1.4.4_1
 libserialport.so.0 libserialport-0.1.1_1
diff --git a/srcpkgs/weston-colord b/srcpkgs/weston-devel
similarity index 100%
rename from srcpkgs/weston-colord
rename to srcpkgs/weston-devel
diff --git a/srcpkgs/weston/files/README.voidlinux b/srcpkgs/weston/files/README.voidlinux
index 907324979cd8b..85677e8a85fed 100644
--- a/srcpkgs/weston/files/README.voidlinux
+++ b/srcpkgs/weston/files/README.voidlinux
@@ -1,2 +1,4 @@
-Add your user to the "weston-launch" group to be able to run weston
-with a regular user and then execute "weston-launch".
+"weston-launch" was deprecated and has been removed
+To launch weston, enable either elogind, or seatd and run "weston"
+
+For more information on session management: https://docs.voidlinux.org/config/session-management.html
diff --git a/srcpkgs/weston/template b/srcpkgs/weston/template
index d58693b255012..2cd577ee32056 100644
--- a/srcpkgs/weston/template
+++ b/srcpkgs/weston/template
@@ -1,38 +1,35 @@
 # Template file for 'weston'
 pkgname=weston
-version=9.0.0
+version=13.0.0
 revision=1
 build_style=meson
-configure_args="-Dtest-junit-xml=false -Dbackend-rdp=false -Dsystemd=false
- -Dremoting=false -Dlauncher-logind=$(vopt_if elogind true false)
- -Dbackend-drm-screencast-vaapi=$(vopt_if vaapi true false) -Dpipewire=false"
+configure_args=" $(vopt_bool vaapi backend-drm-screencast-vaapi) "
 hostmakedepends="pkg-config wayland-devel wayland-protocols"
 makedepends="libpng-devel wayland-devel wayland-protocols libxkbcommon-devel
  pixman-devel pango-devel cairo-devel mtdev-devel libwebp-devel
  poppler-glib-devel pam-devel lcms2-devel eudev-libudev-devel libdrm-devel
- libinput-devel libxcb-devel libXcursor-devel colord-devel dbus-devel
- $(vopt_if vaapi 'glu-devel libva-devel') $(vopt_if elogind elogind-devel)
- libevdev-devel"
+ libinput-devel libxcb-devel libXcursor-devel dbus-devel libevdev-devel
+ xorg-server-xwayland neatvnc-devel libseat-devel pipewire-devel
+ gst-plugins-base1-devel libdisplay-info-devel freerdp-devel freerdp-server-devel
+ $(vopt_if vaapi 'glu-devel libva-devel')"
 short_desc="Reference implementation of a Wayland compositor"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Daniel Martinez <danielmartinez@cock.li>"
 license="MIT"
 homepage="https://wayland.freedesktop.org/"
 distfiles="https://wayland.freedesktop.org/releases/${pkgname}-${version}.tar.xz"
-checksum=5cf5d6ce192e0eb15c1fc861a436bf21b5bb3b91dbdabbdebe83e1f83aa098fe
-system_groups="weston-launch"
+checksum=52ff1d4aa2394a2e416c85a338b627ce97fa71d43eb762fd4aaf145d36fc795a
 lib32disabled=yes
+replaces="weston-colord>=0"
 
 # Package build options
-build_options="elogind vaapi"
-desc_option_elogind="Use elogind for suidless startup"
+build_options="vaapi"
 
 case "$XBPS_TARGET_MACHINE" in
 	x86_64*|i686*|aarch64*|ppc*)
-		build_options_default+=" vaapi"
-		configure_args+=" -Drenderer-gl=true"
+		build_options_default="vaapi"
 		;;
 	armv*)
-		configure_args+=" -Ddemo-clients=false -Drenderer-gl=false -Dsimple-clients=[]"
+		configure_args+=" -Ddemo-clients=false -Dsimple-clients=[]"
 		;;
 esac
 
@@ -41,21 +38,16 @@ pre_configure() {
 }
 
 post_install() {
-	# weston-launch must be setuid
-	if [ -z "$build_option_elogind" ]; then
-		chmod u+s ${DESTDIR}/usr/bin/weston-launch
-	fi
 	vlicense COPYING LICENSE
-	# Remove development files.
-	rm -rf ${DESTDIR}/usr/include
-	rm -rf ${DESTDIR}/usr/lib/pkgconfig
 	vdoc "${FILESDIR}/README.voidlinux"
 }
 
-weston-colord_package() {
-	short_desc+=" - colord plugin"
+weston-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
 	pkg_install() {
-		vmove /usr/lib/weston/cms-colord.so
+		vmove usr/include
+		vmove usr/lib/pkgconfig
 	}
 }
 

  parent reply	other threads:[~2024-01-26 14:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-28 22:59 [PR PATCH] " Calandracas606
2023-12-28 23:23 ` [PR PATCH] [Updated] " Calandracas606
2023-12-29  0:15 ` Calandracas606
2023-12-29  0:26 ` Calandracas606
2023-12-29  0:43 ` [PR REVIEW] " classabbyamp
2023-12-29  0:44 ` [PR PATCH] [Updated] " Calandracas606
2023-12-29  1:01 ` Calandracas606
2023-12-29  4:28 ` [PR REVIEW] " sgn
2023-12-29  4:30 ` sgn
2023-12-29 16:10 ` [PR PATCH] [Updated] " Calandracas606
2023-12-29 16:11 ` [PR REVIEW] " Calandracas606
2024-01-26 14:39 ` [PR PATCH] [Updated] " Calandracas606
2024-01-26 14:39 ` Calandracas606
2024-01-26 14:44 ` [PR PATCH] [Updated] " Calandracas606
2024-01-26 14:49 ` Calandracas606 [this message]
2024-01-26 15:01 ` Calandracas606
2024-01-27  5:04 ` [PR PATCH] [Updated] " sgn
2024-01-27  5:05 ` sgn
2024-01-27 11:20 ` [PR PATCH] [Merged]: " sgn

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=20240126144930.1C5D728A81@inbox.vuxu.org \
    --to=calandracas606@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).