Index | Thread | Search

From:
Matthieu Herrb <matthieu@openbsd.org>
Subject:
update: wlopm-1.0.0
To:
ports@openbsd.org
Date:
Sun, 23 Mar 2025 21:08:29 +0100

Download raw body.

Thread
  • Matthieu Herrb:

    update: wlopm-1.0.0

ok ?

Index: Makefile
===================================================================
RCS file: /local/cvs/ports/wayland/wlopm/Makefile,v
diff -u -p -u -r1.1.1.1 Makefile
--- Makefile	8 Nov 2024 19:25:38 -0000	1.1.1.1
+++ Makefile	23 Mar 2025 20:06:53 -0000
@@ -1,8 +1,8 @@
 COMMENT =	Simple client for display power management under Wayland
 
-V = 		0.1.0
+V = 		1.0.0
 DISTNAME =	wlopm-${V}
-DIST_TUPLE =	srht  leon_plickat wlopm v0.1.0 .
+DIST_TUPLE =	srht  leon_plickat wlopm v${V} .
 
 CATEGORIES =	wayland
 
Index: distinfo
===================================================================
RCS file: /local/cvs/ports/wayland/wlopm/distinfo,v
diff -u -p -u -r1.1.1.1 distinfo
--- distinfo	8 Nov 2024 19:25:38 -0000	1.1.1.1
+++ distinfo	23 Mar 2025 20:06:53 -0000
@@ -1,2 +1,2 @@
-SHA256 (leon_plickat-wlopm-v0.1.0.tar.gz) = +afsA6QS5gJCCrEdDuqHL20w3+XP7pPNPQKJ5Pu7OqE=
-SIZE (leon_plickat-wlopm-v0.1.0.tar.gz) = 19004
+SHA256 (leon_plickat-wlopm-v1.0.0.tar.gz) = FfMbvYVRMZQzl93tOiYAPy9QVuTGoak9Nf92l7Px5Dk=
+SIZE (leon_plickat-wlopm-v1.0.0.tar.gz) = 19451
Index: patches/patch-Makefile
===================================================================
RCS file: /local/cvs/ports/wayland/wlopm/patches/patch-Makefile,v
diff -u -p -u -r1.1.1.1 patch-Makefile
--- patches/patch-Makefile	8 Nov 2024 19:25:38 -0000	1.1.1.1
+++ patches/patch-Makefile	23 Mar 2025 20:06:53 -0000
@@ -1,35 +1,32 @@
 Index: Makefile
 --- Makefile.orig
 +++ Makefile
-@@ -2,9 +2,11 @@ SCANNER := wayland-scanner
+@@ -2,10 +2,12 @@ SCANNER := wayland-scanner
  
  PREFIX=/usr/local
  BINDIR=$(PREFIX)/bin
 -MANDIR=$(PREFIX)/share/man
 +MANDIR=$(PREFIX)/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
 +CPPFLAGS=-I/usr/local/include
-+CFLAGS+=-Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result -Wno-strict-prototypes
+ CFLAGS+=-Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result -Wno-strict-prototypes
 +LDFLAGS=-L/usr/local/lib -Wl,-rpath /usr/local/lib
  LIBS=-lwayland-client
  OBJ=wlopm.o wlr-output-power-management-unstable-v1.o
  GEN=wlr-output-power-management-unstable-v1.c wlr-output-power-management-unstable-v1.h
-@@ -21,8 +23,10 @@ $(OBJ): $(GEN)
- 	$(SCANNER) client-header < $< > $@
- 
- install: wlopm
--	install -D wlopm   $(DESTDIR)$(BINDIR)/wlopm
--	install -D wlopm.1 $(DESTDIR)$(MANDIR)/man1/wlopm.1
-+	install -d $(DESTDIR)$(BINDIR)
-+	install wlopm $(DESTDIR)$(BINDIR)
-+	install -d $(DESTDIR)$(MANDIR)/man1
-+	install -m 644 wlopm.1 $(DESTDIR)$(MANDIR)/man1
+@@ -26,13 +28,13 @@ install: wlopm
+ 	install wlopm $(DESTDIR)$(BINDIR)
+ 	install -d $(DESTDIR)$(MANDIR)/man1
+ 	install -m 644 wlopm.1 $(DESTDIR)$(MANDIR)/man1
++	install -d $(DESTDIR)$(BASHCOMPDIR)
+ 	install bash-completion $(DESTDIR)$(BASHCOMPDIR)/wlopm
  
  uninstall:
  	$(RM) $(DESTDIR)$(BINDIR)/wlopm
-@@ -32,4 +36,3 @@ clean:
+ 	$(RM) $(DESTDIR)$(MANDIR)/man1/wlopm.1
+ 	$(RM) $(DESTDIR)$(BASHCOMPDIR)/wlopm
+-
+ clean:
  	$(RM) wlopm $(GEN) $(OBJ)
  
- .PHONY: clean install
--
Index: pkg/PLIST
===================================================================
RCS file: /local/cvs/ports/wayland/wlopm/pkg/PLIST,v
diff -u -p -u -r1.1.1.1 PLIST
--- pkg/PLIST	8 Nov 2024 19:25:38 -0000	1.1.1.1
+++ pkg/PLIST	23 Mar 2025 20:06:53 -0000
@@ -1,2 +1,5 @@
 @bin bin/wlopm
 @man man/man1/wlopm.1
+share/bash-completion/
+share/bash-completion/completions/
+share/bash-completion/completions/wlopm

-- 
Matthieu Herrb