FreeBSD Bugzilla – Attachment 232190 Details for
Bug 262279
[NEW PORT] x11/lswt: List Wayland toplevels
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git patch
0001-x11-lswt-New-port.patch (text/plain), 3.75 KB, created by
Filipe da Silva Santos
on 2022-03-01 19:28:24 UTC
(
hide
)
Description:
git patch
Filename:
MIME Type:
Creator:
Filipe da Silva Santos
Created:
2022-03-01 19:28:24 UTC
Size:
3.75 KB
patch
obsolete
>From de5457a8c3090cbdc0c38f70430161fe45dd709d Mon Sep 17 00:00:00 2001 >From: Filipe da Silva Santos <contact@shiori.com.br> >Date: Tue, 1 Mar 2022 19:20:33 +0000 >Subject: [PATCH] x11/lswt: New port > >lswt is a simple tool for listing Wayland toplevels and their states. >It does require a Wayland compositor that implements >`foreign-toplevel-management-unstable-v1'. > >WWW: https://sr.ht/~leon_plickat/lswt >--- > x11/Makefile | 1 + > x11/lswt/Makefile | 22 ++++++++++++++++++++++ > x11/lswt/distinfo | 3 +++ > x11/lswt/files/patch-Makefile | 25 +++++++++++++++++++++++++ > x11/lswt/pkg-descr | 5 +++++ > 5 files changed, 56 insertions(+) > create mode 100644 x11/lswt/Makefile > create mode 100644 x11/lswt/distinfo > create mode 100644 x11/lswt/files/patch-Makefile > create mode 100644 x11/lswt/pkg-descr > >diff --git a/x11/Makefile b/x11/Makefile >index 3bbde49a3..e2f4b5132 100644 >--- a/x11/Makefile >+++ b/x11/Makefile >@@ -206,6 +206,7 @@ > SUBDIR += linux-nvidia-libs-390 > SUBDIR += listres > SUBDIR += lsw >+ SUBDIR += lswt > SUBDIR += luit > SUBDIR += lumina > SUBDIR += lumina-core >diff --git a/x11/lswt/Makefile b/x11/lswt/Makefile >new file mode 100644 >index 000000000..a2c5b6f57 >--- /dev/null >+++ b/x11/lswt/Makefile >@@ -0,0 +1,22 @@ >+PORTNAME= lswt >+DISTVERSIONPREFIX= v >+DISTVERSION= 1.0.4 >+CATEGORIES= x11 >+MASTER_SITES= https://git.sr.ht/~leon_plickat/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ >+ >+MAINTAINER= ports@shiori.com.br >+COMMENT= List Wayland toplevels >+ >+LICENSE= GPLv3 >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+LIB_DEPENDS= libwayland-client.so:graphics/wayland >+ >+USES= gmake localbase >+ALL_TARGET= >+ >+PLIST_FILES= bin/${PORTNAME} \ >+ share/bash-completion/completions/${PORTNAME} \ >+ share/man/man1/${PORTNAME}.1.gz >+ >+.include <bsd.port.mk> >diff --git a/x11/lswt/distinfo b/x11/lswt/distinfo >new file mode 100644 >index 000000000..4b4c087ca >--- /dev/null >+++ b/x11/lswt/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1646155588 >+SHA256 (lswt-v1.0.4.tar.gz) = a1a422d996e9dbfa2d07daf5588ede280157ab0d0cc7e918d7c16999f4e14b5f >+SIZE (lswt-v1.0.4.tar.gz) = 21479 >diff --git a/x11/lswt/files/patch-Makefile b/x11/lswt/files/patch-Makefile >new file mode 100644 >index 000000000..b150de3ce >--- /dev/null >+++ b/x11/lswt/files/patch-Makefile >@@ -0,0 +1,25 @@ >+--- Makefile.orig 2022-02-09 00:19:10 UTC >++++ Makefile >+@@ -5,8 +5,7 @@ BINDIR=$(PREFIX)/bin >+ MANDIR=$(PREFIX)/share/man >+ BASHCOMPDIR=$(PREFIX)/share/bash-completion/completions >+ >+-CFLAGS=-Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result >+-LIBS=-lwayland-client >++LIBS=-I/usr/local/include/libepoll-shim -L/usr/local/lib -lwayland-client >+ OBJ=lswt.o wlr-foreign-toplevel-management-unstable-v1.o >+ GEN=wlr-foreign-toplevel-management-unstable-v1.c wlr-foreign-toplevel-management-unstable-v1.h >+ >+@@ -22,9 +21,9 @@ $(OBJ): $(GEN) >+ $(SCANNER) client-header < $< > $@ >+ >+ install: lswt >+- install -D lswt $(DESTDIR)$(BINDIR)/lswt >+- install -m 644 -D lswt.1 $(DESTDIR)$(MANDIR)/man1/lswt.1 >+- install -D bash-completion $(DESTDIR)$(BASHCOMPDIR)/lswt >++ install -m755 lswt $(DESTDIR)$(BINDIR)/lswt >++ install -m644 lswt.1 $(DESTDIR)$(MANDIR)/man1/lswt.1 >++ install -m644 bash-completion $(DESTDIR)$(BASHCOMPDIR)/lswt >+ >+ uninstall: >+ $(RM) $(DESTDIR)$(BINDIR)/lswt >diff --git a/x11/lswt/pkg-descr b/x11/lswt/pkg-descr >new file mode 100644 >index 000000000..faeb15e68 >--- /dev/null >+++ b/x11/lswt/pkg-descr >@@ -0,0 +1,5 @@ >+lswt is a simple tool for listing Wayland toplevels and their states. >+It does require a Wayland compositor that implements >+`foreign-toplevel-management-unstable-v1'. >+ >+WWW: https://sr.ht/~leon_plickat/lswt >-- >2.35.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 262279
: 232190