summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--move-to-next-monitor/move-to-next-monitor.spec5
-rw-r--r--newmoon/nm-gcc-11.patch1
2 files changed, 6 insertions, 0 deletions
diff --git a/move-to-next-monitor/move-to-next-monitor.spec b/move-to-next-monitor/move-to-next-monitor.spec
index 332b8b9..7615227 100644
--- a/move-to-next-monitor/move-to-next-monitor.spec
+++ b/move-to-next-monitor/move-to-next-monitor.spec
@@ -34,7 +34,12 @@ BuildRequires: coreutils
Requires: python3
Requires: wmctrl
Requires: xdotool
+%if 0%{?rhel} == 7
+Requires: xorg-x11-utils
+%else
Requires: (xorg-x11-utils or ((xprop and xrandr) and xwininfo))
+Requires: make
+%fi
%description
move-to-next-monitor is a small script that makes it easy for display managers without this native functionality to provide it. You can assign a shortcut key in the display manager settings to the script to use it.
diff --git a/newmoon/nm-gcc-11.patch b/newmoon/nm-gcc-11.patch
index 9ab7f75..1dc8528 100644
--- a/newmoon/nm-gcc-11.patch
+++ b/newmoon/nm-gcc-11.patch
@@ -2,6 +2,7 @@ Summary: Make Palemoon compile with gcc 11
Author: gentooman
Linked from: https://repo.palemoon.org/mcp-graveyard/UXP/issues/1804
Source: https://dpaste.com/AF96RDF74
+Source1: https://github.com/saloniamatteo/palemoon/blob/master/www-client/palemoon/files/add-limits-to-includes.patch
Date: 2021-08-10
Message:
By adding the <limits> to all these files, we can avoid compilation errors on
bgstack15