From: ifreund <ifreund@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] wlroots: update to 0.11.0
Date: Thu, 16 Jul 2020 22:15:30 +0200 [thread overview]
Message-ID: <20200716201530._1F9C6gbmXUPq0mcwbV9SMvI8c9HlIGOne_CComosM4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23598@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 498 bytes --]
There is an updated pull request by ifreund against master on the void-packages repository
https://github.com/ifreund/void-packages wlroots11
https://github.com/void-linux/void-packages/pull/23598
wlroots: update to 0.11.0
This version has breaking changes, so we need to wait on new releases for the following programs and include bumps in this PR:
- [x] sway
- [x] cage
- [x] hikari
- [ ] wayfire
A patch file from https://github.com/void-linux/void-packages/pull/23598.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wlroots11-23598.patch --]
[-- Type: text/x-diff, Size: 9797 bytes --]
From 103656c6a92602cf0aebd1532fa0a64c12a17ab5 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Thu, 16 Jul 2020 17:51:15 +0200
Subject: [PATCH 1/5] wlroots: update to 0.11.0.
---
common/shlibs | 2 +-
srcpkgs/wlroots/template | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index ba4d41130a5..887f160d5fd 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3572,7 +3572,7 @@ libcodecore.so.0 libio.elementary.code-3.0_1
libio.elementary.music-core.so.0 libio.elementary.music-5.0_1
libpantheon-files-core.so.4 libio.elementary.files-4.1.4_1
libpantheon-files-widgets.so.4 libio.elementary.files-4.1.4_1
-libwlroots.so.5 wlroots-0.10.0_1
+libwlroots.so.6 wlroots-0.11.0_1
libbaseencode.so.1 libbaseencode-1.0.9_1
libcotp.so.12 libcotp-1.2.1_1
libunarr.so.1 libunarr-1.0.1_1
diff --git a/srcpkgs/wlroots/template b/srcpkgs/wlroots/template
index eae5dd60566..5a171277978 100644
--- a/srcpkgs/wlroots/template
+++ b/srcpkgs/wlroots/template
@@ -1,6 +1,6 @@
# Template file for 'wlroots'
pkgname=wlroots
-version=0.10.1
+version=0.11.0
revision=1
build_style=meson
configure_args="-Dlibcap=enabled -Dlogind=enabled -Dlogind-provider=elogind
@@ -13,11 +13,11 @@ makedepends="elogind-devel libcap-devel wayland-devel wayland-protocols
xcb-util-keysyms-devel xcb-util-renderutil-devel xcb-util-wm-devel
xcb-util-errors-devel xcb-util-xrm-devel"
short_desc="Modular Wayland compositor library"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
license="MIT"
homepage="https://github.com/swaywm/wlroots"
distfiles="https://github.com/swaywm/wlroots/archive/${version}.tar.gz"
-checksum=b84baefbaff7bb04b3d2c43cbacef1a433e2cd65111f8fbf4bfc5faaa4b34b08
+checksum=a7645e77229aab4942748c621be8bdb8b073d94f35f3e032b867246862bf2d01
post_install() {
vlicense LICENSE
From 8691bf7f5aa93a1e43ca3fd12dabdcdd88f55dd3 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Thu, 16 Jul 2020 17:54:09 +0200
Subject: [PATCH 2/5] sway: update to 1.5.
---
srcpkgs/sway/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/sway/template b/srcpkgs/sway/template
index 49f50cd191a..3835a0c8866 100644
--- a/srcpkgs/sway/template
+++ b/srcpkgs/sway/template
@@ -1,7 +1,7 @@
# Template file for 'sway'
pkgname=sway
-version=1.4
-revision=4
+version=1.5
+revision=1
build_style=meson
conf_files="/etc/sway/config"
hostmakedepends="pkg-config wayland-devel scdoc git"
@@ -14,7 +14,7 @@ maintainer="Érico Nogueira <ericonr@disroot.org>"
license="MIT"
homepage="https://swaywm.org"
distfiles="https://github.com/swaywm/${pkgname}/archive/${version}.tar.gz"
-checksum=e2805291fc01d49e21dda4b273e38170d1fff4e1757215439729edbed880dfbe
+checksum=c80644774d612d7d377093d4990061d36c36673862c06318a7b0e37fa47b0178
build_options="elogind"
desc_option_elogind="Uses elogind instead of setuid for privilege escalation"
From 524202c643cc18091ce7461ea8ce9ed5f429dfe3 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Thu, 16 Jul 2020 18:03:40 +0200
Subject: [PATCH 3/5] cage: update to 0.1.2.1.
---
...1.1-fix-building-with-wlroots-0.10.0.patch | 41 -------------------
srcpkgs/cage/template | 9 ++--
2 files changed, 4 insertions(+), 46 deletions(-)
delete mode 100644 srcpkgs/cage/patches/cage-0.1.1-fix-building-with-wlroots-0.10.0.patch
diff --git a/srcpkgs/cage/patches/cage-0.1.1-fix-building-with-wlroots-0.10.0.patch b/srcpkgs/cage/patches/cage-0.1.1-fix-building-with-wlroots-0.10.0.patch
deleted file mode 100644
index 111aa937dfb..00000000000
--- a/srcpkgs/cage/patches/cage-0.1.1-fix-building-with-wlroots-0.10.0.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- output.c
-+++ output.c
-@@ -386,6 +386,9 @@
- /* Place the cursor in the center of the screen. */
- wlr_cursor_warp(server->seat->cursor, NULL, wlr_output->width / 2, wlr_output->height / 2);
- wlr_output_damage_add_whole(server->output->damage);
-+
-+ wlr_output_enable(wlr_output, true);
-+ wlr_output_commit(wlr_output);
- }
-
- void
---- meson.build
-+++ meson.build
-@@ -35,7 +35,7 @@
- )
- endif
-
--wlroots = dependency('wlroots', version: '>= 0.6.0')
-+wlroots = dependency('wlroots', version: '>= 0.10.0')
- wayland_protos = dependency('wayland-protocols', version: '>=1.14')
- wayland_server = dependency('wayland-server')
- pixman = dependency('pixman-1')
---- cage.c
-+++ cage.c
-@@ -374,15 +374,6 @@
- wl_event_source_remove(sigint_source);
- wl_event_source_remove(sigterm_source);
- seat_destroy(server.seat);
-- wlr_server_decoration_manager_destroy(server_decoration_manager);
-- wlr_xdg_decoration_manager_v1_destroy(xdg_decoration_manager);
-- wlr_xdg_shell_destroy(xdg_shell);
-- wlr_idle_inhibit_v1_destroy(server.idle_inhibit_v1);
-- if (server.idle) {
-- wlr_idle_destroy(server.idle);
-- }
-- wlr_data_device_manager_destroy(data_device_mgr);
-- wlr_compositor_destroy(compositor);
- wlr_output_layout_destroy(server.output_layout);
- /* This function is not null-safe, but we only ever get here
- with a proper wl_display. */
diff --git a/srcpkgs/cage/template b/srcpkgs/cage/template
index 49342bf81c7..76ba731cc58 100644
--- a/srcpkgs/cage/template
+++ b/srcpkgs/cage/template
@@ -1,18 +1,17 @@
# Template file for 'cage'
pkgname=cage
-version=0.1.1
-revision=2
+version=0.1.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config wayland-devel"
+hostmakedepends="pkg-config wayland-devel scdoc"
makedepends="xcb-util-wm-devel xcb-util-errors-devel libxkbcommon-devel pixman-devel wayland-devel wlroots-devel"
short_desc="Kiosk compositor for Wayland"
maintainer="Illia Shestakov <ishestakov@airmail.cc>"
license="MIT"
homepage="https://www.hjdskes.nl/projects/cage/"
distfiles="https://github.com/Hjdskes/cage/archive/v${version}.tar.gz"
-checksum=63efbe96cf307381f2bedf9b80153343e255970a70d612515da7dc325dd49478
+checksum=38a3e3968f00cc58fe1d9448e972cfac7d1efa30c48699f09032f264101a55ac
post_install() {
vlicense LICENSE
- vdoc README.md
}
From b575afb320366574a199973de30f86a48a4a304d Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Thu, 16 Jul 2020 18:12:43 +0200
Subject: [PATCH 4/5] hikari: update to 2.0.5.
---
srcpkgs/hikari/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/hikari/template b/srcpkgs/hikari/template
index 50f1f6fad4e..a2691d87140 100644
--- a/srcpkgs/hikari/template
+++ b/srcpkgs/hikari/template
@@ -1,7 +1,7 @@
# Template file for 'hikari'
pkgname=hikari
version=2.0.5
-revision=1
+revision=2
build_style=gnu-makefile
make_cmd=bmake
make_use_env=yes
From 9b55b41e879b366c7f04bd1a07cb7eb0c7ee89cd Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Thu, 16 Jul 2020 22:14:04 +0200
Subject: [PATCH 5/5] wayfire: patch for wlroots 0.11.0 compatibility
---
srcpkgs/wayfire/patches/wlroots_0.11.0.patch | 39 ++++++++++++++++++++
srcpkgs/wayfire/template | 3 +-
2 files changed, 41 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/wayfire/patches/wlroots_0.11.0.patch
diff --git a/srcpkgs/wayfire/patches/wlroots_0.11.0.patch b/srcpkgs/wayfire/patches/wlroots_0.11.0.patch
new file mode 100644
index 00000000000..a8033aea9f8
--- /dev/null
+++ b/srcpkgs/wayfire/patches/wlroots_0.11.0.patch
@@ -0,0 +1,39 @@
+diff --git a/meson.build b/meson.build
+index d1fe6a6..03d2cad 100644
+--- a/meson.build
++++ b/meson.build
+@@ -29,7 +29,7 @@ libinput = dependency('libinput', version: '>=1.7.0')
+ pixman = dependency('pixman-1')
+ threads = dependency('threads')
+ xkbcommon = dependency('xkbcommon')
+-wlroots = dependency('wlroots', version: ['>=0.9.0', '<0.11.0'], required: get_option('use_system_wlroots'))
++wlroots = dependency('wlroots', version: ['>=0.11.0', '<0.12.0'], required: get_option('use_system_wlroots'))
+ wfconfig = dependency('wf-config', version: ['>=0.4.0', '<0.5.0'], required: get_option('use_system_wfconfig'))
+
+ use_system_wlroots = not get_option('use_system_wlroots').disabled() and wlroots.found()
+diff --git a/src/view/surface.cpp b/src/view/surface.cpp
+index 50c0f09..50edd1e 100644
+--- a/src/view/surface.cpp
++++ b/src/view/surface.cpp
+@@ -322,7 +322,7 @@ void wf::wlr_surface_base_t::unmap()
+ wlr_buffer* wf::wlr_surface_base_t::get_buffer()
+ {
+ if (surface && wlr_surface_has_buffer(surface))
+- return surface->buffer;
++ return &surface->buffer->base;
+
+ return nullptr;
+ }
+diff --git a/src/view/xwayland.cpp b/src/view/xwayland.cpp
+index c095b28..1f02a0f 100644
+--- a/src/view/xwayland.cpp
++++ b/src/view/xwayland.cpp
+@@ -570,7 +570,7 @@ void wf::xwayland_set_seat(wlr_seat *seat)
+ int wf::xwayland_get_display()
+ {
+ #if WLR_HAS_XWAYLAND
+- return xwayland_handle ? xwayland_handle->display : -1;
++ return xwayland_handle ? xwayland_handle->server->display : -1;
+ #else
+ return -1;
+ #endif
diff --git a/srcpkgs/wayfire/template b/srcpkgs/wayfire/template
index 0298848a39e..e560b128eba 100644
--- a/srcpkgs/wayfire/template
+++ b/srcpkgs/wayfire/template
@@ -1,7 +1,7 @@
# Template file for 'wayfire'
pkgname=wayfire
version=0.4.0
-revision=2
+revision=3
build_style=meson
hostmakedepends="pkg-config wayland-devel"
makedepends="xcb-util-wm-devel xcb-util-errors-devel glm cairo-devel wf-config-devel"
@@ -12,6 +12,7 @@ license="MIT"
homepage="https://wayfire.org"
distfiles="https://github.com/WayfireWM/wayfire/archive/${version}.tar.gz"
checksum=9c009c01bccce97149d0695b5429cf44787fdc1423c58425ba8e8de601019e97
+patch_args=-Np1
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"
next prev parent reply other threads:[~2020-07-16 20:15 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-16 15:56 [PR PATCH] " ifreund
2020-07-16 15:59 ` ericonr
2020-07-16 16:00 ` ericonr
2020-07-16 16:03 ` [PR PATCH] [Updated] " ifreund
2020-07-16 16:11 ` ahesford
2020-07-16 16:13 ` [PR PATCH] [Updated] " ifreund
2020-07-16 19:42 ` ahesford
2020-07-16 19:44 ` ericonr
2020-07-16 20:15 ` ifreund [this message]
2020-07-16 20:21 ` ifreund
2020-07-16 20:23 ` ericonr
2020-07-16 20:30 ` [PR PATCH] [Updated] " ifreund
2020-07-16 20:49 ` jbeich
2020-07-16 20:56 ` ifreund
2020-07-16 21:25 ` [PR PATCH] [Updated] " ifreund
2020-07-16 23:15 ` ifreund
2020-07-16 23:16 ` ifreund
2020-07-16 23:38 ` ahesford
2020-07-16 23:39 ` [PR PATCH] [Closed]: " ahesford
2020-07-17 11:35 ` ifreund
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=20200716201530._1F9C6gbmXUPq0mcwbV9SMvI8c9HlIGOne_CComosM4@z \
--to=ifreund@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).