Evangelos Foutras pushed to branch main at Arch Linux / Packaging / Packages / 
slim


Commits:
96fe5f90 by Evangelos Foutras at 2024-09-17T21:13:14+03:00
upgpkg: 1:1.4.0-1: revert to version 1.4.0

1.4.1 seems to have broken:

    $ sudo systemd-detect-virt --chroot
    Failed to check for chroot() environment: Permission denied

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,8 @@
 pkgbase = slim
        pkgdesc = Simple Login Manager resurrected
-       pkgver = 1.4.1
+       pkgver = 1.4.0
        pkgrel = 1
+       epoch = 1
        url = https://slim-fork.sourceforge.io/
        arch = x86_64
        license = GPL-2.0-or-later
@@ -21,14 +22,14 @@ pkgbase = slim
        backup = etc/pam.d/slim
        backup = etc/slim.conf
        backup = etc/slimlock.conf
-       source = 
https://downloads.sourceforge.net/project/slim-fork/slim-1.4.1.tar.gz
+       source = 
https://downloads.sourceforge.net/project/slim-fork/slim-1.4.0.tar.gz
        source = slim.pam
        source = slimlock.pam
        source = slim.logrotate
        source = include-pam-header.patch
        source = default-path.patch
        source = no-sessreg.patch
-       sha256sums = 
5f88d7f162300574fbd2e3216bf3e2422635118771e719a5395ed3e4ae3f241b
+       sha256sums = 
350b31d5070002e9729ea63e1d62f97596ba0062151c0f3ee16f02af67753204
        sha256sums = 
b9a77a614c451287b574c33d41e28b5b149c6d2464bdb3a5274799842bca51a4
        sha256sums = 
dfe35488b50f19fd96526374edc16850ed37dac919834dd579392b1a7518f2ab
        sha256sums = 
5bf44748b5003f2332d8b268060c400120b9100d033fa9d35468670d827f6def


=====================================
PKGBUILD
=====================================
@@ -5,8 +5,9 @@
 # Contributor: Hugo Ideler <[email protected]>
 
 pkgname=slim
-pkgver=1.4.1
+pkgver=1.4.0
 pkgrel=1
+epoch=1
 pkgdesc="Simple Login Manager resurrected"
 arch=('x86_64')
 url="https://slim-fork.sourceforge.io/";
@@ -25,7 +26,7 @@ 
source=(https://downloads.sourceforge.net/project/slim-fork/$pkgname-$pkgver.tar
         include-pam-header.patch
         default-path.patch
         no-sessreg.patch)
-sha256sums=('5f88d7f162300574fbd2e3216bf3e2422635118771e719a5395ed3e4ae3f241b'
+sha256sums=('350b31d5070002e9729ea63e1d62f97596ba0062151c0f3ee16f02af67753204'
             'b9a77a614c451287b574c33d41e28b5b149c6d2464bdb3a5274799842bca51a4'
             'dfe35488b50f19fd96526374edc16850ed37dac919834dd579392b1a7518f2ab'
             '5bf44748b5003f2332d8b268060c400120b9100d033fa9d35468670d827f6def'
@@ -35,11 +36,11 @@ 
sha256sums=('5f88d7f162300574fbd2e3216bf3e2422635118771e719a5395ed3e4ae3f241b'
 
 prepare() {
   cd $pkgname-$pkgver
-  patch -Np1 -i ../include-pam-header.patch
+  #sed -i 's|"/lib/systemd"|"/usr/lib/systemd"|' CMakeLists.txt
+  #patch -Np1 -i ../include-pam-header.patch
+
   patch -Np1 -i ../default-path.patch
   patch -Np1 -i ../no-sessreg.patch
-
-  sed -i 's|"/lib/systemd"|"/usr/lib/systemd"|' CMakeLists.txt
 }
 
 build() {
@@ -49,8 +50,6 @@ build() {
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_SKIP_RPATH=ON \
-    -USYSTEMDDIR \
-    -DSYSTEMDDIR=/usr/lib/systemd \
     -DBUILD_SLIMLOCK=ON \
     -DUSE_CONSOLEKIT=OFF \
     -DUSE_PAM=ON
@@ -61,6 +60,7 @@ package() {
   cd $pkgname-$pkgver
 
   make DESTDIR="$pkgdir" install
+  install -Dm644 slim.service -t "$pkgdir/usr/lib/systemd/system"
   install -Dm644 slimlock.conf -t "$pkgdir/etc"
 
   install -Dm644 ../slim.pam "$pkgdir/etc/pam.d/slim"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/slim/-/commit/96fe5f908cd1fe546ba1ea0e2645b7ac95d980b1

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/slim/-/commit/96fe5f908cd1fe546ba1ea0e2645b7ac95d980b1
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to