[arch-commits] Commit in light-locker/repos (3 files)

Andreas Radke andyrtr at archlinux.org
Thu Dec 19 19:25:14 UTC 2019


    Date: Thursday, December 19, 2019 @ 19:25:14
  Author: andyrtr
Revision: 538431

archrelease: copy trunk to community-testing-x86_64

Added:
  light-locker/repos/community-testing-x86_64/
  light-locker/repos/community-testing-x86_64/PKGBUILD
    (from rev 538430, light-locker/trunk/PKGBUILD)
  light-locker/repos/community-testing-x86_64/light-locker-libsystemd-login.patch
    (from rev 538430, light-locker/trunk/light-locker-libsystemd-login.patch)

-------------------------------------+
 PKGBUILD                            |   48 ++++++++++++++++++++++++++++++++++
 light-locker-libsystemd-login.patch |   47 +++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

Copied: light-locker/repos/community-testing-x86_64/PKGBUILD (from rev 538430, light-locker/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-12-19 19:25:14 UTC (rev 538431)
@@ -0,0 +1,48 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=light-locker
+pkgver=1.8.0
+pkgrel=3
+pkgdesc='A simple session locker for LightDM'
+arch=('x86_64')
+url='https://github.com/the-cavalry/light-locker'
+license=('GPL2')
+depends=('dbus-glib' 'gtk3' 'lightdm' 'libxss')
+makedepends=('gnome-common' 'intltool' 'xorgproto')
+source=("https://github.com/the-cavalry/light-locker/releases/download/v${pkgver}/light-locker-${pkgver}.tar.bz2"
+        'light-locker-libsystemd-login.patch')
+sha256sums=('3c76106f40a8efe67b462061e4c798e3e501b54356c8cdc1b67a3022d9d7dba1'
+            'd5a4e9a97b491c17aa059863020ed5cbfaaf0c79e05130d36a58959438c85cf3')
+
+prepare() {
+  cd light-locker-${pkgver}
+
+#  patch -Np1 -i ../light-locker-libsystemd-login.patch
+}
+
+build () {
+  cd light-locker-${pkgver}
+
+  ./configure \
+    --prefix='/usr' \
+    --localstatedir='/var' \
+    --sysconfdir='/etc' \
+    --with-x \
+    --with-dpms-ext \
+    --with-mit-ext \
+    --with-xf86gamma-ext \
+    --with-systemd \
+    --without-console-kit \
+    --without-upower \
+    --disable-schemas-compile \
+    --disable-static
+  make
+}
+
+package() {
+  cd light-locker-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:

Copied: light-locker/repos/community-testing-x86_64/light-locker-libsystemd-login.patch (from rev 538430, light-locker/trunk/light-locker-libsystemd-login.patch)
===================================================================
--- community-testing-x86_64/light-locker-libsystemd-login.patch	                        (rev 0)
+++ community-testing-x86_64/light-locker-libsystemd-login.patch	2019-12-19 19:25:14 UTC (rev 538431)
@@ -0,0 +1,47 @@
+diff -rupN light-locker-1.6.0.orig/configure light-locker-1.6.0/configure
+--- light-locker-1.6.0.orig/configure	2016-04-29 20:03:27.914972019 +0200
++++ light-locker-1.6.0/configure	2016-04-29 20:04:32.217760286 +0200
+@@ -17558,12 +17558,12 @@ if test -n "$SYSTEMD_CFLAGS"; then
+     pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS"
+  elif test -n "$PKG_CONFIG"; then
+     if test -n "$PKG_CONFIG" && \
+-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-login\""; } >&5
+-  ($PKG_CONFIG --exists --print-errors "libsystemd-login") 2>&5
++    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
++  ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
+   ac_status=$?
+   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; then
+-  pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-login" 2>/dev/null`
++  pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null`
+ 		      test "x$?" != "x0" && pkg_failed=yes
+ else
+   pkg_failed=yes
+@@ -17575,12 +17575,12 @@ if test -n "$SYSTEMD_LIBS"; then
+     pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS"
+  elif test -n "$PKG_CONFIG"; then
+     if test -n "$PKG_CONFIG" && \
+-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-login\""; } >&5
+-  ($PKG_CONFIG --exists --print-errors "libsystemd-login") 2>&5
++    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
++  ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
+   ac_status=$?
+   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; then
+-  pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd-login" 2>/dev/null`
++  pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null`
+ 		      test "x$?" != "x0" && pkg_failed=yes
+ else
+   pkg_failed=yes
+@@ -17601,9 +17601,9 @@ else
+         _pkg_short_errors_supported=no
+ fi
+         if test $_pkg_short_errors_supported = yes; then
+-	        SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-login" 2>&1`
++	        SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1`
+         else
+-	        SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-login" 2>&1`
++	        SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1`
+         fi
+ 	# Put the nasty error message in config.log where it belongs
+ 	echo "$SYSTEMD_PKG_ERRORS" >&5


More information about the arch-commits mailing list