[arch-commits] Commit in light-locker/trunk (2 files)
Maxime Gauduin
alucryd at archlinux.org
Fri Apr 29 18:10:49 UTC 2016
Date: Friday, April 29, 2016 @ 20:10:49
Author: alucryd
Revision: 172793
hooks rebuild: light-locker 1.6.0-3
Added:
light-locker/trunk/light-locker-libsystemd-login.patch
Modified:
light-locker/trunk/PKGBUILD
-------------------------------------+
PKGBUILD | 12 +++++++-
light-locker-libsystemd-login.patch | 47 ++++++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-29 17:52:11 UTC (rev 172792)
+++ PKGBUILD 2016-04-29 18:10:49 UTC (rev 172793)
@@ -10,9 +10,17 @@
license=('GPL2')
depends=('dbus-glib' 'gtk3' 'libxxf86misc' 'lightdm' 'libxss')
makedepends=('gnome-common' 'intltool')
-source=("https://github.com/the-cavalry/light-locker/releases/download/v${pkgver}/light-locker-${pkgver}.tar.bz2")
-sha256sums=('63e0cbcc7ceb8ad695b4bbe7eb9ba5fee32f47790ccde048748d8a47edd32ad0')
+source=("https://github.com/the-cavalry/light-locker/releases/download/v${pkgver}/light-locker-${pkgver}.tar.bz2"
+ 'light-locker-libsystemd-login.patch')
+sha256sums=('63e0cbcc7ceb8ad695b4bbe7eb9ba5fee32f47790ccde048748d8a47edd32ad0'
+ 'd5a4e9a97b491c17aa059863020ed5cbfaaf0c79e05130d36a58959438c85cf3')
+prepare() {
+ cd light-locker-${pkgver}
+
+ patch -Np1 -i ../light-locker-libsystemd-login.patch
+}
+
build () {
cd light-locker-${pkgver}
Added: light-locker-libsystemd-login.patch
===================================================================
--- light-locker-libsystemd-login.patch (rev 0)
+++ light-locker-libsystemd-login.patch 2016-04-29 18:10:49 UTC (rev 172793)
@@ -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