diff --git a/lightdm-webkit2-greeter-3.4.1-basedir.patch b/lightdm-webkit2-greeter-3.4.1-basedir.patch new file mode 100644 index 0000000..9b6c839 --- /dev/null +++ b/lightdm-webkit2-greeter-3.4.1-basedir.patch @@ -0,0 +1,12 @@ +diff -uNbBw lightdm-webkit2-greeter-3.4.1/Makefile lightdm-webkit2-greeter-3.4.1-new/Makefile +--- lightdm-webkit2-greeter-3.4.1/Makefile 2022-05-13 18:23:53.182802761 +0000 ++++ lightdm-webkit2-greeter-3.4.1-new/Makefile 2022-05-13 18:22:25.572716017 +0000 +@@ -197,7 +197,7 @@ + $(bin_local/web-greeter): build_install_root $(resources.py) $(bin/screensaver.so) + @rm -rf "${INSTALL_PREFIX}/lib/web-greeter/*" + @cp -R "${BUILD_DIR}/web-greeter"/* "${INSTALL_PREFIX}/lib/web-greeter" +- @printf "#!/usr/bin/env bash\npython3 ${DESTDIR_PREFIX}/lib/web-greeter \$$@" > \ ++ @printf "#!/usr/bin/env bash\npython3 /usr/lib/web-greeter \$$@" > \ + "${bin_local/web-greeter}" + @chmod +x "${bin_local/web-greeter}" + @echo "✔ web-greeter binary copied" diff --git a/lightdm-webkit2-greeter.spec b/lightdm-webkit2-greeter.spec index 5f0433a..f210778 100644 --- a/lightdm-webkit2-greeter.spec +++ b/lightdm-webkit2-greeter.spec @@ -1,6 +1,6 @@ Name: lightdm-webkit2-greeter Version: 3.4.1 -Release: alt1.3 +Release: alt2 Summary: A modern, visually appealing greeter for LightDM. License: GPL-3.0 @@ -14,6 +14,8 @@ ExcludeArch: aarch64 armh ppc64le Source: %name-%version.tar Patch: lightdm-webkit2-greeter-3.4.1-makefile.patch +Patch1: lightdm-webkit2-greeter-3.4.1-basedir.patch + %add_findprov_skiplist %_libdir/web-greeter/*.py %add_findreq_skiplist %_libdir/web-greeter/*.py @@ -43,6 +45,7 @@ Also, check out nody-greeter, a greeter made in Node.js with Electron! (Actually %setup %make clean %patch -p1 +%patch1 -p1 subst 's,\,%_lib,g' Makefile @@ -81,6 +84,9 @@ subst 's,\,%_lib,g' Makefile %doc *.md %changelog +* Fri May 13 2022 Hihin Ruslan 3.4.1-alt2 +- Add lightdm-webkit2-greeter-3.4.1-basedir.patch + * Tue May 10 2022 Hihin Ruslan 3.4.1-alt1.3 - add add_find(prov/req)_skiplist diff --git a/web-greeter/src/.#__main__.py b/web-greeter/src/.#__main__.py deleted file mode 120000 index 38d13c0..0000000 --- a/web-greeter/src/.#__main__.py +++ /dev/null @@ -1 +0,0 @@ -root@Avrora.localdomain.281115 \ No newline at end of file