public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: gui-wm/dwl/, gui-wm/dwl/files/
@ 2023-09-24 22:08 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2023-09-24 22:08 UTC (permalink / raw
  To: gentoo-commits

commit:     25bcb9b11173c1a10a8b200684d0f4342ed94962
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Sun Sep 24 19:36:55 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 22:07:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25bcb9b1

gui-wm/dwl: new package, migrated from ::guru, add 0.4, 9999, 9999-r1

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Closes: https://github.com/gentoo/gentoo/pull/33039
Signed-off-by: Sam James <sam <AT> gentoo.org>

 gui-wm/dwl/Manifest           |  1 +
 gui-wm/dwl/dwl-0.4.ebuild     | 74 +++++++++++++++++++++++++++++++++++++++++++
 gui-wm/dwl/dwl-9999-r1.ebuild | 74 +++++++++++++++++++++++++++++++++++++++++++
 gui-wm/dwl/dwl-9999.ebuild    | 74 +++++++++++++++++++++++++++++++++++++++++++
 gui-wm/dwl/files/dwl.desktop  |  5 +++
 gui-wm/dwl/metadata.xml       | 16 ++++++++++
 6 files changed, 244 insertions(+)

diff --git a/gui-wm/dwl/Manifest b/gui-wm/dwl/Manifest
new file mode 100644
index 000000000000..bd68566cf4f6
--- /dev/null
+++ b/gui-wm/dwl/Manifest
@@ -0,0 +1 @@
+DIST dwl-0.4.tar.gz 54718 BLAKE2B 22aac990ed71bcb0be0e2ded7d335c3fb2ffa56d0185e4f15119f54d7dd28ce34c3d8888320f0d448d66c0dd829c036f22367706c4db1bd4a7e2db2dadf410fd SHA512 8db7e4d9559f57232f9dedc1645458cf504c1d56af93bfe3930ab4734dfe898b0ef7b86c987ec908afa43473fab4bef424abd0036645461dbefeb6ac3e2d0c5f

diff --git a/gui-wm/dwl/dwl-0.4.ebuild b/gui-wm/dwl/dwl-0.4.ebuild
new file mode 100644
index 000000000000..a80953766ba4
--- /dev/null
+++ b/gui-wm/dwl/dwl-0.4.ebuild
@@ -0,0 +1,74 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit savedconfig toolchain-funcs
+
+WLROOTS_SLOT="0/16"
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://github.com/djpohly/dwl"
+	inherit git-r3
+
+	# 9999-r0: main (latest stable wlroots release)
+	# 9999-r1: wlroots-next (wlroots-9999)
+	case ${PVR} in
+		9999)
+			EGIT_BRANCH=main
+			;;
+		9999-r1)
+			EGIT_BRANCH=wlroots-next
+			WLROOTS_SLOT="0/9999"
+			;;
+	esac
+else
+	SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="dwm for Wayland"
+HOMEPAGE="https://github.com/djpohly/dwl"
+
+LICENSE="CC0-1.0 GPL-3+ MIT"
+SLOT="0"
+IUSE="X"
+
+RDEPEND="
+	dev-libs/libinput:=
+	dev-libs/wayland
+	gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?]
+	x11-libs/libxkbcommon
+	X? (
+		x11-libs/libxcb:=
+		x11-libs/xcb-util-wm
+	)
+"
+
+# uses <linux/input-event-codes.h>
+DEPEND="
+	${RDEPEND}
+	sys-kernel/linux-headers
+"
+BDEPEND="
+	dev-libs/wayland-protocols
+	dev-util/wayland-scanner
+	virtual/pkgconfig
+"
+
+src_prepare() {
+	restore_config config.h
+
+	default
+}
+
+src_compile() {
+	emake PKG_CONFIG="$(tc-getPKG_CONFIG)" CC="$(tc-getCC)" \
+		XWAYLAND="$(usev X -DXWAYLAND)" XLIBS="$(usev X "xcb xcb-icccm")" dwl
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+	dodoc README.md
+
+	save_config config.h
+}

diff --git a/gui-wm/dwl/dwl-9999-r1.ebuild b/gui-wm/dwl/dwl-9999-r1.ebuild
new file mode 100644
index 000000000000..9e7a7bdcfaf3
--- /dev/null
+++ b/gui-wm/dwl/dwl-9999-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit savedconfig toolchain-funcs
+
+WLROOTS_SLOT="0/16"
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://github.com/djpohly/dwl"
+	inherit git-r3
+
+	# 9999-r0: main (latest stable wlroots release)
+	# 9999-r1: wlroots-next (wlroots-9999)
+	case ${PVR} in
+		9999)
+			EGIT_BRANCH=main
+			;;
+		9999-r1)
+			EGIT_BRANCH=wlroots-next
+			WLROOTS_SLOT="0/9999"
+			;;
+	esac
+else
+	SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="dwm for Wayland"
+HOMEPAGE="https://github.com/djpohly/dwl"
+
+LICENSE="CC0-1.0 GPL-3+ MIT"
+SLOT="0"
+IUSE="X"
+
+RDEPEND="
+	dev-libs/libinput:=
+	dev-libs/wayland
+	gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?]
+	x11-libs/libxkbcommon
+	X? (
+		x11-libs/libxcb:=
+		x11-libs/xcb-util-wm
+	)
+"
+
+# uses <linux/input-event-codes.h>
+DEPEND="
+	${RDEPEND}
+	sys-kernel/linux-headers
+"
+BDEPEND="
+	>=dev-libs/wayland-protocols-1.32
+	dev-util/wayland-scanner
+	virtual/pkgconfig
+"
+
+src_prepare() {
+	restore_config config.h
+
+	default
+}
+
+src_compile() {
+	emake PKG_CONFIG="$(tc-getPKG_CONFIG)" CC="$(tc-getCC)" \
+		XWAYLAND="$(usev X -DXWAYLAND)" XLIBS="$(usev X "xcb xcb-icccm")" dwl
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+	dodoc README.md
+
+	save_config config.h
+}

diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-9999.ebuild
new file mode 100644
index 000000000000..a80953766ba4
--- /dev/null
+++ b/gui-wm/dwl/dwl-9999.ebuild
@@ -0,0 +1,74 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit savedconfig toolchain-funcs
+
+WLROOTS_SLOT="0/16"
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://github.com/djpohly/dwl"
+	inherit git-r3
+
+	# 9999-r0: main (latest stable wlroots release)
+	# 9999-r1: wlroots-next (wlroots-9999)
+	case ${PVR} in
+		9999)
+			EGIT_BRANCH=main
+			;;
+		9999-r1)
+			EGIT_BRANCH=wlroots-next
+			WLROOTS_SLOT="0/9999"
+			;;
+	esac
+else
+	SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="dwm for Wayland"
+HOMEPAGE="https://github.com/djpohly/dwl"
+
+LICENSE="CC0-1.0 GPL-3+ MIT"
+SLOT="0"
+IUSE="X"
+
+RDEPEND="
+	dev-libs/libinput:=
+	dev-libs/wayland
+	gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?]
+	x11-libs/libxkbcommon
+	X? (
+		x11-libs/libxcb:=
+		x11-libs/xcb-util-wm
+	)
+"
+
+# uses <linux/input-event-codes.h>
+DEPEND="
+	${RDEPEND}
+	sys-kernel/linux-headers
+"
+BDEPEND="
+	dev-libs/wayland-protocols
+	dev-util/wayland-scanner
+	virtual/pkgconfig
+"
+
+src_prepare() {
+	restore_config config.h
+
+	default
+}
+
+src_compile() {
+	emake PKG_CONFIG="$(tc-getPKG_CONFIG)" CC="$(tc-getCC)" \
+		XWAYLAND="$(usev X -DXWAYLAND)" XLIBS="$(usev X "xcb xcb-icccm")" dwl
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+	dodoc README.md
+
+	save_config config.h
+}

diff --git a/gui-wm/dwl/files/dwl.desktop b/gui-wm/dwl/files/dwl.desktop
new file mode 100644
index 000000000000..e1380f7aa20d
--- /dev/null
+++ b/gui-wm/dwl/files/dwl.desktop
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Name=dwl
+Comment=dwm for Wayland
+Exec=dwl
+Type=Application

diff --git a/gui-wm/dwl/metadata.xml b/gui-wm/dwl/metadata.xml
new file mode 100644
index 000000000000..4ebf54b3ad36
--- /dev/null
+++ b/gui-wm/dwl/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+    <maintainer type="person" proxied="yes">
+        <email>leohdz172@proton.me</email>
+        <name>Leonardo Hernández Hernández</name>
+        <description>Additionally the upstream maintainer</description>
+    </maintainer>
+    <maintainer type="project" proxied="proxy">
+      <email>proxy-maint@gentoo.org</email>
+      <name>Proxy Maintainers</name>
+    </maintainer>
+    <upstream>
+        <remote-id type="github">djpohly/dwl</remote-id>
+    </upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: gui-wm/dwl/, gui-wm/dwl/files/
@ 2023-10-14 10:30 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2023-10-14 10:30 UTC (permalink / raw
  To: gentoo-commits

commit:     614c75933d33c278bf77a69f87931e7a35c9d719
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Tue Oct 10 04:49:46 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 14 10:24:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=614c7593

gui-wm/dwl: backport patch to use libxcb headers instead of libX11

no revbump because there is no functional change

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Closes: https://github.com/gentoo/gentoo/pull/33274
Signed-off-by: Sam James <sam <AT> gentoo.org>

 gui-wm/dwl/dwl-0.4-r1.ebuild                     |  2 +
 gui-wm/dwl/files/dwl-0.4-do-not-use-libX11.patch | 60 ++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/gui-wm/dwl/dwl-0.4-r1.ebuild b/gui-wm/dwl/dwl-0.4-r1.ebuild
index 13123b384a95..14e10e810266 100644
--- a/gui-wm/dwl/dwl-0.4-r1.ebuild
+++ b/gui-wm/dwl/dwl-0.4-r1.ebuild
@@ -35,6 +35,8 @@ LICENSE="CC0-1.0 GPL-3+ MIT"
 SLOT="0"
 IUSE="X"
 
+PATCHES=( "${FILESDIR}/${P}-do-not-use-libX11.patch" )
+
 RDEPEND="
 	dev-libs/libinput:=
 	dev-libs/wayland

diff --git a/gui-wm/dwl/files/dwl-0.4-do-not-use-libX11.patch b/gui-wm/dwl/files/dwl-0.4-do-not-use-libX11.patch
new file mode 100644
index 000000000000..65ef8a5b8186
--- /dev/null
+++ b/gui-wm/dwl/files/dwl-0.4-do-not-use-libX11.patch
@@ -0,0 +1,60 @@
+From 1a1ca779c7d79747dea355d03db74cd1d73787c7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?=
+ <leohdz172@proton.me>
+Date: Mon, 9 Oct 2023 21:35:49 -0600
+Subject: [PATCH] use <xcb/xcb.h> instead of <X11/Xlib.h>
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
+---
+ dwl.c | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/dwl.c b/dwl.c
+index 19bb6ce..92a1d3e 100644
+--- a/dwl.c
++++ b/dwl.c
+@@ -54,7 +54,7 @@
+ #include <xkbcommon/xkbcommon.h>
+ #ifdef XWAYLAND
+ #include <wlr/xwayland.h>
+-#include <X11/Xlib.h>
++#include <xcb/xcb.h>
+ #include <xcb/xcb_icccm.h>
+ #endif
+ 
+@@ -387,14 +387,14 @@ static struct wl_listener session_lock_mgr_destroy = {.notify = destroysessionmg
+ static void activatex11(struct wl_listener *listener, void *data);
+ static void configurex11(struct wl_listener *listener, void *data);
+ static void createnotifyx11(struct wl_listener *listener, void *data);
+-static Atom getatom(xcb_connection_t *xc, const char *name);
++static xcb_atom_t getatom(xcb_connection_t *xc, const char *name);
+ static void sethints(struct wl_listener *listener, void *data);
+ static void sigchld(int unused);
+ static void xwaylandready(struct wl_listener *listener, void *data);
+ static struct wl_listener new_xwayland_surface = {.notify = createnotifyx11};
+ static struct wl_listener xwayland_ready = {.notify = xwaylandready};
+ static struct wlr_xwayland *xwayland;
+-static Atom netatom[NetLast];
++static xcb_atom_t netatom[NetLast];
+ #endif
+ 
+ /* configuration, allows nested code to access above variables */
+@@ -2671,10 +2671,10 @@ createnotifyx11(struct wl_listener *listener, void *data)
+ 	LISTEN(&xsurface->events.request_fullscreen, &c->fullscreen, fullscreennotify);
+ }
+ 
+-Atom
++xcb_atom_t
+ getatom(xcb_connection_t *xc, const char *name)
+ {
+-	Atom atom = 0;
++	xcb_atom_t atom = 0;
+ 	xcb_intern_atom_reply_t *reply;
+ 	xcb_intern_atom_cookie_t cookie = xcb_intern_atom(xc, 0, strlen(name), name);
+ 	if ((reply = xcb_intern_atom_reply(xc, cookie, NULL)))
+-- 
+2.42.0
+


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

* [gentoo-commits] repo/gentoo:master commit in: gui-wm/dwl/, gui-wm/dwl/files/
@ 2024-01-28 17:34 Matt Turner
  0 siblings, 0 replies; 3+ messages in thread
From: Matt Turner @ 2024-01-28 17:34 UTC (permalink / raw
  To: gentoo-commits

commit:     f8c2458342f6432f89815c9882dfe318263cc34d
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 24 17:51:02 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Jan 28 17:34:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8c24583

gui-wm/dwl: Drop old versions

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 gui-wm/dwl/Manifest                              |  1 -
 gui-wm/dwl/dwl-0.4-r1.ebuild                     | 81 ------------------------
 gui-wm/dwl/files/dwl-0.4-do-not-use-libX11.patch | 60 ------------------
 3 files changed, 142 deletions(-)

diff --git a/gui-wm/dwl/Manifest b/gui-wm/dwl/Manifest
index ed31116f0689..63f268c2d1ec 100644
--- a/gui-wm/dwl/Manifest
+++ b/gui-wm/dwl/Manifest
@@ -1,2 +1 @@
-DIST dwl-0.4.gh.tar.gz 54718 BLAKE2B 22aac990ed71bcb0be0e2ded7d335c3fb2ffa56d0185e4f15119f54d7dd28ce34c3d8888320f0d448d66c0dd829c036f22367706c4db1bd4a7e2db2dadf410fd SHA512 8db7e4d9559f57232f9dedc1645458cf504c1d56af93bfe3930ab4734dfe898b0ef7b86c987ec908afa43473fab4bef424abd0036645461dbefeb6ac3e2d0c5f
 DIST dwl-v0.5.tar.gz 57363 BLAKE2B 6dce89cbfa1aa1946983897bed5ac16619ac237e0f7092b588847315b849392b83643839dc5386c5bd73a36e5da55a281696a6ef13dcaec8345cb4e495c5e3b7 SHA512 7bd292559b0ecafc54bf1c1ba0c3b6b0417e8bd03bb0058f492b87295c92b50932e25621cc5f804c38ad06ffadad7bb8017872fade4a04bf617b1d4f1993aae8

diff --git a/gui-wm/dwl/dwl-0.4-r1.ebuild b/gui-wm/dwl/dwl-0.4-r1.ebuild
deleted file mode 100644
index 14e10e810266..000000000000
--- a/gui-wm/dwl/dwl-0.4-r1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit savedconfig toolchain-funcs
-
-MY_P="${PN}-v${PV}"
-WLROOTS_SLOT="0/16"
-if [[ ${PV} == *9999* ]]; then
-	EGIT_REPO_URI="https://github.com/djpohly/dwl"
-	inherit git-r3
-
-	# 9999-r0: main (latest stable wlroots release)
-	# 9999-r1: wlroots-next (wlroots-9999)
-	case ${PVR} in
-		9999)
-			EGIT_BRANCH=main
-			;;
-		9999-r1)
-			EGIT_BRANCH=wlroots-next
-			WLROOTS_SLOT="0/9999"
-			;;
-	esac
-else
-	SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${MY_P}.tar.gz -> ${P}.gh.tar.gz"
-	S="${WORKDIR}/${MY_P}"
-	KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="dwm for Wayland"
-HOMEPAGE="https://github.com/djpohly/dwl"
-
-LICENSE="CC0-1.0 GPL-3+ MIT"
-SLOT="0"
-IUSE="X"
-
-PATCHES=( "${FILESDIR}/${P}-do-not-use-libX11.patch" )
-
-RDEPEND="
-	dev-libs/libinput:=
-	dev-libs/wayland
-	gui-libs/wlroots:${WLROOTS_SLOT}[libinput(+),X?]
-	x11-libs/libxkbcommon
-	X? (
-		x11-libs/libxcb:=
-		x11-libs/xcb-util-wm
-	)
-"
-
-# uses <linux/input-event-codes.h>
-DEPEND="
-	${RDEPEND}
-	sys-kernel/linux-headers
-"
-BDEPEND="
-	dev-libs/wayland-protocols
-	dev-util/wayland-scanner
-	virtual/pkgconfig
-"
-
-src_prepare() {
-	restore_config config.h
-
-	default
-}
-
-src_compile() {
-	emake PKG_CONFIG="$(tc-getPKG_CONFIG)" CC="$(tc-getCC)" \
-		XWAYLAND="$(usev X -DXWAYLAND)" XLIBS="$(usev X "xcb xcb-icccm")" dwl
-}
-
-src_install() {
-	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
-	dodoc README.md
-
-	insinto /usr/share/wayland-session
-	doins "${FILESDIR}/dwl.desktop"
-
-	save_config config.h
-}

diff --git a/gui-wm/dwl/files/dwl-0.4-do-not-use-libX11.patch b/gui-wm/dwl/files/dwl-0.4-do-not-use-libX11.patch
deleted file mode 100644
index 65ef8a5b8186..000000000000
--- a/gui-wm/dwl/files/dwl-0.4-do-not-use-libX11.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 1a1ca779c7d79747dea355d03db74cd1d73787c7 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?=
- <leohdz172@proton.me>
-Date: Mon, 9 Oct 2023 21:35:49 -0600
-Subject: [PATCH] use <xcb/xcb.h> instead of <X11/Xlib.h>
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
----
- dwl.c | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/dwl.c b/dwl.c
-index 19bb6ce..92a1d3e 100644
---- a/dwl.c
-+++ b/dwl.c
-@@ -54,7 +54,7 @@
- #include <xkbcommon/xkbcommon.h>
- #ifdef XWAYLAND
- #include <wlr/xwayland.h>
--#include <X11/Xlib.h>
-+#include <xcb/xcb.h>
- #include <xcb/xcb_icccm.h>
- #endif
- 
-@@ -387,14 +387,14 @@ static struct wl_listener session_lock_mgr_destroy = {.notify = destroysessionmg
- static void activatex11(struct wl_listener *listener, void *data);
- static void configurex11(struct wl_listener *listener, void *data);
- static void createnotifyx11(struct wl_listener *listener, void *data);
--static Atom getatom(xcb_connection_t *xc, const char *name);
-+static xcb_atom_t getatom(xcb_connection_t *xc, const char *name);
- static void sethints(struct wl_listener *listener, void *data);
- static void sigchld(int unused);
- static void xwaylandready(struct wl_listener *listener, void *data);
- static struct wl_listener new_xwayland_surface = {.notify = createnotifyx11};
- static struct wl_listener xwayland_ready = {.notify = xwaylandready};
- static struct wlr_xwayland *xwayland;
--static Atom netatom[NetLast];
-+static xcb_atom_t netatom[NetLast];
- #endif
- 
- /* configuration, allows nested code to access above variables */
-@@ -2671,10 +2671,10 @@ createnotifyx11(struct wl_listener *listener, void *data)
- 	LISTEN(&xsurface->events.request_fullscreen, &c->fullscreen, fullscreennotify);
- }
- 
--Atom
-+xcb_atom_t
- getatom(xcb_connection_t *xc, const char *name)
- {
--	Atom atom = 0;
-+	xcb_atom_t atom = 0;
- 	xcb_intern_atom_reply_t *reply;
- 	xcb_intern_atom_cookie_t cookie = xcb_intern_atom(xc, 0, strlen(name), name);
- 	if ((reply = xcb_intern_atom_reply(xc, cookie, NULL)))
--- 
-2.42.0
-


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

end of thread, other threads:[~2024-01-28 17:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-24 22:08 [gentoo-commits] repo/gentoo:master commit in: gui-wm/dwl/, gui-wm/dwl/files/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2023-10-14 10:30 Sam James
2024-01-28 17:34 Matt Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox