pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/wayland/lswt
Module Name: pkgsrc
Committed By: kikadf
Date: Wed Apr 15 08:41:19 UTC 2026
Added Files:
pkgsrc/wayland/lswt: DESCR Makefile PLIST distinfo
pkgsrc/wayland/lswt/patches: patch-Makefile patch-lswt.c
Log Message:
lswt: new package
lswt lists all toplevels ("Windows") advertised by
a Wayland server. The default output prints the title
and app-id the toplevels and - if available - their
state in human readable form.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/wayland/lswt/DESCR pkgsrc/wayland/lswt/Makefile \
pkgsrc/wayland/lswt/PLIST pkgsrc/wayland/lswt/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/wayland/lswt/patches/patch-Makefile \
pkgsrc/wayland/lswt/patches/patch-lswt.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/wayland/lswt/DESCR
diff -u /dev/null pkgsrc/wayland/lswt/DESCR:1.1
--- /dev/null Wed Apr 15 08:41:19 2026
+++ pkgsrc/wayland/lswt/DESCR Wed Apr 15 08:41:18 2026
@@ -0,0 +1,4 @@
+lswt lists all toplevels ("Windows") advertised by
+a Wayland server. The default output prints the title
+and app-id the toplevels and - if available - their
+state in human readable form.
Index: pkgsrc/wayland/lswt/Makefile
diff -u /dev/null pkgsrc/wayland/lswt/Makefile:1.1
--- /dev/null Wed Apr 15 08:41:19 2026
+++ pkgsrc/wayland/lswt/Makefile Wed Apr 15 08:41:18 2026
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2026/04/15 08:41:18 kikadf Exp $
+
+DISTNAME= lswt-2.0.0
+CATEGORIES= wayland
+MASTER_SITES= https://git.sr.ht/~leon_plickat/lswt/archive/
+DIST_SUBDIR= lswt
+DISTFILES= v${PKGVERSION_NOREV}${EXTRACT_SUFX}
+
+MAINTAINER= kikadf.01%gmail.com@localhost
+HOMEPAGE= https://sr.ht/~leon_plickat/lswt/
+COMMENT= List Wayland toplevels
+LICENSE= gnu-gpl-v3
+
+USE_TOOLS+= gmake #pkg-config
+BUILD_TARGET= lswt
+WRKSRC= ${WRKDIR}/lswt-v${PKGVERSION_NOREV}
+
+SUBST_CLASSES+= path
+SUBST_STAGE.path= pre-configure
+SUBST_MESSAGE.path= Fixing pathes
+SUBST_FILES.path+= Makefile
+SUBST_VARS.path+= PREFIX PKGMANDIR
+
+.include "../../devel/wayland/buildlink3.mk"
+.include "../../devel/wayland-protocols/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/wayland/lswt/PLIST
diff -u /dev/null pkgsrc/wayland/lswt/PLIST:1.1
--- /dev/null Wed Apr 15 08:41:19 2026
+++ pkgsrc/wayland/lswt/PLIST Wed Apr 15 08:41:19 2026
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2026/04/15 08:41:19 kikadf Exp $
+bin/lswt
+man/man1/lswt.1
+share/bash-completion/completions/lswt
Index: pkgsrc/wayland/lswt/distinfo
diff -u /dev/null pkgsrc/wayland/lswt/distinfo:1.1
--- /dev/null Wed Apr 15 08:41:19 2026
+++ pkgsrc/wayland/lswt/distinfo Wed Apr 15 08:41:19 2026
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2026/04/15 08:41:19 kikadf Exp $
+
+BLAKE2s (lswt/v2.0.0.tar.gz) = b3a67bf0e58a57de6f0412e8328aad6a909df9e04c35f9ce893649b2cc67ae1a
+SHA512 (lswt/v2.0.0.tar.gz) = 147c4a0f7f2410230b9a27adb669ce7004f19701bf50d8e3c540fedb79ad37a282ce7968d2f1abdef6991b297f5d2b6b913ffbf4a4ef3ebc4481ff0cc803a01f
+Size (lswt/v2.0.0.tar.gz) = 27758 bytes
+SHA1 (patch-Makefile) = 8fef2cc560d1144d6d8617036e13669c23faaef1
+SHA1 (patch-lswt.c) = 80b45564ea1ea1ad7f50d3d489f2d04171b43d69
Index: pkgsrc/wayland/lswt/patches/patch-Makefile
diff -u /dev/null pkgsrc/wayland/lswt/patches/patch-Makefile:1.1
--- /dev/null Wed Apr 15 08:41:19 2026
+++ pkgsrc/wayland/lswt/patches/patch-Makefile Wed Apr 15 08:41:19 2026
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile,v 1.1 2026/04/15 08:41:19 kikadf Exp $
+
+* Fix pathes
+
+--- Makefile.orig 2024-05-17 12:30:09.000000000 +0000
++++ Makefile
+@@ -1,8 +1,8 @@
+ SCANNER := wayland-scanner
+
+-PREFIX=/usr/local
++PREFIX=@PREFIX@
+ BINDIR=$(PREFIX)/bin
+-MANDIR=$(PREFIX)/share/man
++MANDIR=$(PREFIX)/@PKGMANDIR@
+ BASHCOMPDIR=$(PREFIX)/share/bash-completion/completions
+
+ CFLAGS+=-Wall -Werror -Wextra -Wpedantic
Index: pkgsrc/wayland/lswt/patches/patch-lswt.c
diff -u /dev/null pkgsrc/wayland/lswt/patches/patch-lswt.c:1.1
--- /dev/null Wed Apr 15 08:41:19 2026
+++ pkgsrc/wayland/lswt/patches/patch-lswt.c Wed Apr 15 08:41:19 2026
@@ -0,0 +1,24 @@
+$NetBSD: patch-lswt.c,v 1.1 2026/04/15 08:41:19 kikadf Exp $
+
+* Fix ctype
+
+--- lswt.c.orig 2026-04-06 08:40:47.751853736 +0000
++++ lswt.c
+@@ -610,7 +610,7 @@ static const struct zwlr_foreign_topleve
+ static bool string_needs_quotes (char *str)
+ {
+ for (; *str != '\0'; str++)
+- if ( isspace(*str) || *str == '"' || *str == '\'' || !isascii(*str) )
++ if ( isspace((unsigned char)*str) || *str == '"' || *str == '\'' || !isascii((unsigned char)*str) )
+ return true;
+ return false;
+ }
+@@ -766,7 +766,7 @@ static size_t real_strlen (const char *s
+ break;
+
+ default:
+- if (isspace(*str))
++ if (isspace((unsigned char)*str))
+ has_space = true;
+ i++;
+ break;
Home |
Main Index |
Thread Index |
Old Index