Browse Source

3.4.1-alt2

- Add lightdm-webkit2-greeter-3.4.1-basedir.patch
sisyphus 3.4.1-alt2
Hihin Ruslan 3 years ago
parent
commit
2cefbdec6f
  1. 12
      lightdm-webkit2-greeter-3.4.1-basedir.patch
  2. 8
      lightdm-webkit2-greeter.spec
  3. 1
      web-greeter/src/.#__main__.py

12
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"

8
lightdm-webkit2-greeter.spec

@ -1,6 +1,6 @@
Name: lightdm-webkit2-greeter Name: lightdm-webkit2-greeter
Version: 3.4.1 Version: 3.4.1
Release: alt1.3 Release: alt2
Summary: A modern, visually appealing greeter for LightDM. Summary: A modern, visually appealing greeter for LightDM.
License: GPL-3.0 License: GPL-3.0
@ -14,6 +14,8 @@ ExcludeArch: aarch64 armh ppc64le
Source: %name-%version.tar Source: %name-%version.tar
Patch: lightdm-webkit2-greeter-3.4.1-makefile.patch 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_findprov_skiplist %_libdir/web-greeter/*.py
%add_findreq_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 %setup
%make clean %make clean
%patch -p1 %patch -p1
%patch1 -p1
subst 's,\<lib\>,%_lib,g' Makefile subst 's,\<lib\>,%_lib,g' Makefile
@ -81,6 +84,9 @@ subst 's,\<lib\>,%_lib,g' Makefile
%doc *.md %doc *.md
%changelog %changelog
* Fri May 13 2022 Hihin Ruslan <ruslandh@altlinux.ru> 3.4.1-alt2
- Add lightdm-webkit2-greeter-3.4.1-basedir.patch
* Tue May 10 2022 Hihin Ruslan <ruslandh@altlinux.ru> 3.4.1-alt1.3 * Tue May 10 2022 Hihin Ruslan <ruslandh@altlinux.ru> 3.4.1-alt1.3
- add add_find(prov/req)_skiplist - add add_find(prov/req)_skiplist

1
web-greeter/src/.#__main__.py

@ -1 +0,0 @@
root@Avrora.localdomain.281115
Loading…
Cancel
Save