Compare commits
15 Commits
2e21eda4a3
...
pulseaudio
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e9c57ebc0e | ||
e0e68d2f14 | |||
adaf10b218
|
|||
f9cbb3fbc4 | |||
ae23963ebb | |||
c98317e351 | |||
9736350b62 | |||
![]() |
73ca04b73c | ||
5002faf603 | |||
![]() |
945b44913d | ||
3647d80a1b | |||
88b3e22fc9 | |||
![]() |
e10c41f86a | ||
ac312e4847 | |||
c9b2520570 |
@@ -6,7 +6,7 @@ if [ "$#" -eq 0 ]; then
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
line_number=$(grep -n "Dqt-versions" "${arg}/PKGBUILD" | cut -d : -f 1)
|
||||
line_number=$(grep -n "Dqt" "${arg}/PKGBUILD" | cut -d : -f 1)
|
||||
line_number=$((line_number+1))
|
||||
sed -i "${line_number}"'i\ -Dsystemd=false \\' "${arg}/PKGBUILD"
|
||||
done
|
||||
|
9
patches/lib32-pam/0001-remove-sysd.sh
Executable file
9
patches/lib32-pam/0001-remove-sysd.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
for i in $@; do
|
||||
sed -e '/Dlogind/ s,enabled,disabled,' \
|
||||
-e '/Delogind/ s,disabled,enabled,' \
|
||||
-e 's,lib32-systemd,lib32-elogind,' \
|
||||
-e 's|?signed||' \
|
||||
-i $i/PKGBUILD
|
||||
done
|
13
patches/networkmanager/01-systemd.sh
Normal file
13
patches/networkmanager/01-systemd.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
for i in $@; do
|
||||
sed -e '/systemd-libs/d' \
|
||||
-e 's,systemd,elogind,g' \
|
||||
-i $i/PKGBUILD
|
||||
sed -e '/selinux=false/a\ -D systemdsystemunitdir=no' \
|
||||
-e '/selinux=false/a\ -D session_tracking=elogind' \
|
||||
-e '/selinux=false/a\ -D systemd_journal=false' \
|
||||
-e '/NetworkManager.service/d' \
|
||||
-e '/mobile-broadband/a\ elogind' \
|
||||
-e '/util-linux/a\ libelogind' \
|
||||
-i $i/PKGBUILD
|
||||
done
|
@@ -7,6 +7,8 @@ for i in $@ ; do
|
||||
-e '/systemd/d' \
|
||||
-e '/install=pulseaudio.install/d' \
|
||||
-e '/iautospawn/s,no,yes,' -i $i/PKGBUILD
|
||||
sed -e '/elogind=enabled/a\ -D systemd=disabled' \
|
||||
-i "$i/PKGBUILD"
|
||||
done
|
||||
|
||||
|
||||
|
1
patches/switcheroo-control/04-add-source.pl
Symbolic link
1
patches/switcheroo-control/04-add-source.pl
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/add-source.pl
|
@@ -1 +1,4 @@
|
||||
CONFIG_OPTIONS=-D systemdsystemunitdir=/usr/lib/systemd # dummy dir
|
||||
SOURCE_BLOCK=makedepends
|
||||
SOURCES= linux-api-headers\n
|
||||
SOURCES_NO_NEWLINE=y
|
||||
|
1
patches/usbguard/02-add-source.pl
Symbolic link
1
patches/usbguard/02-add-source.pl
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/add-source.pl
|
3
patches/usbguard/env.txt
Normal file
3
patches/usbguard/env.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
SOURCE_BLOCK=depends
|
||||
SOURCES= dbus-glib\n
|
||||
SOURCES_NO_NEWLINE=y
|
14
patches/valkey/05-rm-cd-to-systemd-dir.sh
Executable file
14
patches/valkey/05-rm-cd-to-systemd-dir.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# rm-cd-to-systemd-dir.sh
|
||||
# removes line that contain "cd /usr/lib/systemd/system" from PKGBUILD files
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: $0 <package repo>"
|
||||
exit 1
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -i '/usr\/lib\/systemd\/system/d' "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
@@ -1 +0,0 @@
|
||||
../_common/d-systemd.sh
|
1
patches/wlroots0.19/rm-systemd-deps.sh
Symbolic link
1
patches/wlroots0.19/rm-systemd-deps.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-systemd-deps.sh
|
@@ -1,28 +0,0 @@
|
||||
--- a/PKGBUILD 2024-07-22 10:00:21.560007599 +0200
|
||||
+++ b/PKGBUILD 2024-07-22 10:10:31.346674268 +0200
|
||||
@@ -9,14 +9,13 @@
|
||||
url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
|
||||
arch=(x86_64)
|
||||
license=(GPL)
|
||||
-depends=(sh systemd)
|
||||
+depends=(sh)
|
||||
makedepends=(docbook-xsl git)
|
||||
backup=(etc/xdg/user-dirs.conf etc/xdg/user-dirs.defaults)
|
||||
install=xdg-user-dirs.install
|
||||
options=(!emptydirs)
|
||||
_commit=52e71ff04416f2ca3adaf6d73193de4b8b83de46 # tags/0.18^0
|
||||
-source=("git+https://gitlab.freedesktop.org/xdg/xdg-user-dirs.git#commit=$_commit"
|
||||
- xdg-user-dirs-update.service)
|
||||
+source=("git+https://gitlab.freedesktop.org/xdg/xdg-user-dirs.git#commit=$_commit")
|
||||
sha256sums=('SKIP'
|
||||
'53c75f52d782e9492601400236bc8e5bfa76a26f0afd9bce3fe8df1740d341f0')
|
||||
|
||||
@@ -39,8 +38,4 @@
|
||||
package() {
|
||||
cd $pkgname
|
||||
make DESTDIR="$pkgdir" install
|
||||
-
|
||||
- # We use a service
|
||||
- rm "$pkgdir/etc/xdg/autostart/xdg-user-dirs.desktop"
|
||||
- install -Dt "$pkgdir/usr/lib/systemd/user" -m644 ../xdg-user-dirs-update.service
|
||||
}
|
1
patches/xdg-user-dirs/01-rm-systemd-deps.sh
Symbolic link
1
patches/xdg-user-dirs/01-rm-systemd-deps.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-systemd-deps.sh
|
@@ -1,28 +0,0 @@
|
||||
--- a/PKGBUILD 2024-07-22 10:00:21.560007599 +0200
|
||||
+++ b/PKGBUILD 2024-07-22 10:10:31.346674268 +0200
|
||||
@@ -9,14 +9,13 @@
|
||||
url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
|
||||
arch=(x86_64)
|
||||
license=(GPL)
|
||||
-depends=(sh systemd)
|
||||
+depends=(sh)
|
||||
makedepends=(docbook-xsl git)
|
||||
backup=(etc/xdg/user-dirs.conf etc/xdg/user-dirs.defaults)
|
||||
install=xdg-user-dirs.install
|
||||
options=(!emptydirs)
|
||||
_commit=52e71ff04416f2ca3adaf6d73193de4b8b83de46 # tags/0.18^0
|
||||
-source=("git+https://gitlab.freedesktop.org/xdg/xdg-user-dirs.git#commit=$_commit"
|
||||
- xdg-user-dirs-update.service)
|
||||
+source=("git+https://gitlab.freedesktop.org/xdg/xdg-user-dirs.git#commit=$_commit")
|
||||
sha256sums=('SKIP'
|
||||
'53c75f52d782e9492601400236bc8e5bfa76a26f0afd9bce3fe8df1740d341f0')
|
||||
|
||||
@@ -39,8 +38,4 @@
|
||||
package() {
|
||||
cd $pkgname
|
||||
make DESTDIR="$pkgdir" install
|
||||
-
|
||||
- # We use a service
|
||||
- rm "$pkgdir/etc/xdg/autostart/xdg-user-dirs.desktop"
|
||||
- install -Dt "$pkgdir/usr/lib/systemd/user" -m644 ../xdg-user-dirs-update.service
|
||||
}
|
1
patches/xdg-user-dirs/02-rm-install.sh
Symbolic link
1
patches/xdg-user-dirs/02-rm-install.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-install.sh
|
11
patches/xdg-user-dirs/03-rm-unused-files.sh
Normal file
11
patches/xdg-user-dirs/03-rm-unused-files.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
diff --git a/xdg-user-dirs.install b/xdg-user-dirs.install
|
||||
deleted file mode 100644
|
||||
index 6908505..0000000
|
||||
--- a/xdg-user-dirs.install
|
||||
+++ /dev/null
|
||||
@@ -1,5 +0,0 @@
|
||||
-pre_upgrade() {
|
||||
- if (( $(vercmp $2 0.19-1) < 0)); then
|
||||
- systemctl --global disable xdg-user-dirs-update.service
|
||||
- fi
|
||||
-}
|
Reference in New Issue
Block a user