Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 11bd1f7dc7 | |||
| 7ca09dfef9 |
@@ -1,24 +0,0 @@
|
||||
--- Makefile.orig 2022-06-05 20:00:49.854139519 +0800
|
||||
+++ Makefile 2022-06-05 20:13:15.797079274 +0800
|
||||
@@ -4,8 +4,8 @@
|
||||
BINDIR=$(PREFIX)/bin
|
||||
MANDIR=$(PREFIX)/share/man
|
||||
|
||||
-CFLAGS+=-Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result
|
||||
-LIBS=-lwayland-client
|
||||
+CFLAGS+=-Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result $(shell pkg-config --cflags wayland-client)
|
||||
+LIBS=$(shell pkg-config --libs wayland-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 +21,8 @@
|
||||
$(SCANNER) client-header < $< > $@
|
||||
|
||||
install: wlopm
|
||||
- install -D wlopm $(DESTDIR)$(BINDIR)/wlopm
|
||||
- install -D wlopm.1 $(DESTDIR)$(MANDIR)/man1/wlopm.1
|
||||
+ install -Dm755 wlopm $(DESTDIR)$(BINDIR)/wlopm
|
||||
+ install -Dm644 wlopm.1 $(DESTDIR)$(MANDIR)/man1/wlopm.1
|
||||
|
||||
uninstall:
|
||||
$(RM) $(DESTDIR)$(BINDIR)/wlopm
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f9a7ec03a412e602420ab11d0eea872f6d30dfe5cfee93cd3d0289e4fbbb3aa1
|
||||
size 19004
|
||||
3
v1.0.0.tar.gz
Normal file
3
v1.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:15f31bbd855131943397dded3a26003f2f5056e4c6a1a93d35ff7697b3f1e439
|
||||
size 19451
|
||||
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 17 13:05:58 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- version update to 1.0.0
|
||||
- Add bash completions.
|
||||
- Fix installation on FreeBSD (thanks to Isaac Freund).
|
||||
- Follow (new) C standard by replacing noop() function (thanks to Ben
|
||||
Buse).
|
||||
- Allow compiling with clang via -Wno-strict-prototypes.
|
||||
- Fix file permissions of man page.
|
||||
- fixes build with gcc 15
|
||||
- removed Makefile.patch, not needed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 5 12:02:56 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package wlopm
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,13 +17,12 @@
|
||||
|
||||
|
||||
Name: wlopm
|
||||
Version: 0.1.0
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: Wayland output power management
|
||||
License: GPL-3.0-only
|
||||
URL: https://git.sr.ht/~leon_plickat/wlopm
|
||||
Source0: https://git.sr.ht/~leon_plickat/wlopm/archive/v%{version}.tar.gz
|
||||
Patch0: Makefile.patch
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: scdoc >= 1.9.2
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
@@ -37,9 +36,10 @@ and turning it on e.g. laptops after opening the lid
|
||||
%autosetup -n %{name}-v%{version}
|
||||
|
||||
%build
|
||||
%make_build PREFIX=/usr
|
||||
%make_build PREFIX="/usr" CFLAGS="%{optflags} $(pkg-config --cflags wayland-client)"
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
|
||||
%make_install PREFIX=/usr
|
||||
|
||||
%files
|
||||
@@ -47,5 +47,6 @@ and turning it on e.g. laptops after opening the lid
|
||||
%doc README
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||
%{_datadir}/bash-completion/completions/wlopm
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user