polkit rebuild duktape

This commit is contained in:
Rmys
2021-04-30 17:59:42 +03:00
committed by GitHub
parent f9d68a7922
commit 34031242ab
6 changed files with 3063 additions and 5 deletions
+2 -3
View File
@@ -10,11 +10,10 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
#autotools.autoreconf("-fi")
autotools.autoreconf("-fiv")
autotools.configure("--with-pam-module-dir=/lib/security/ \
--with-os-type=pardus \
--with-mozjs=mozjs-68 \
--with-duktape \
--with-dbus \
--enable-examples \
--enable-introspection \
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,28 @@
From 08bb656496cd3d6213bbe9473f63f2d4a110da6e Mon Sep 17 00:00:00 2001
From: Rasmus Thomsen <cogitri@exherbo.org>
Date: Wed, 11 Apr 2018 13:14:14 +0200
Subject: [PATCH] configure: fix elogind support
HAVE_LIBSYSTEMD is used to determine which source files to use.
We have to check if either have_libsystemd or have_libelogind is
true, as both of these need the source files which are used when
HAVE_LIBSYSTEMD is true.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 36df239..da47ecb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -221,7 +221,7 @@ AS_IF([test "x$cross_compiling" != "xyes" ], [
AC_SUBST(LIBSYSTEMD_CFLAGS)
AC_SUBST(LIBSYSTEMD_LIBS)
-AM_CONDITIONAL(HAVE_LIBSYSTEMD, [test "$have_libsystemd" = "yes"], [Using libsystemd])
+AM_CONDITIONAL(HAVE_LIBSYSTEMD, [test "$have_libsystemd" = "yes" || test "$have_libelogind" = "yes" ], [Using libsystemd])
dnl ---------------------------------------------------------------------------
dnl - systemd unit / service files
--
2.17.0
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,28 @@
From 08bb656496cd3d6213bbe9473f63f2d4a110da6e Mon Sep 17 00:00:00 2001
From: Rasmus Thomsen <cogitri@exherbo.org>
Date: Wed, 11 Apr 2018 13:14:14 +0200
Subject: [PATCH] configure: fix elogind support
HAVE_LIBSYSTEMD is used to determine which source files to use.
We have to check if either have_libsystemd or have_libelogind is
true, as both of these need the source files which are used when
HAVE_LIBSYSTEMD is true.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 36df239..da47ecb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -221,7 +221,7 @@ AS_IF([test "x$cross_compiling" != "xyes" ], [
AC_SUBST(LIBSYSTEMD_CFLAGS)
AC_SUBST(LIBSYSTEMD_LIBS)
-AM_CONDITIONAL(HAVE_LIBSYSTEMD, [test "$have_libsystemd" = "yes"], [Using libsystemd])
+AM_CONDITIONAL(HAVE_LIBSYSTEMD, [test "$have_libsystemd" = "yes" || test "$have_libelogind" = "yes" ], [Using libsystemd])
dnl ---------------------------------------------------------------------------
dnl - systemd unit / service files
--
2.17.0
+11 -2
View File
@@ -18,15 +18,17 @@
<BuildDependencies>
<Dependency>python3</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>pam-devel</Dependency>
<Dependency versionFrom="1.5.1">pam-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>duktape-devel</Dependency>
<Dependency versionFrom="68.12.0">spidermonkey-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>intltool</Dependency>
</BuildDependencies>
<Patches>
<!--Patch level="1">disable-docs.patch</Patch-->
<Patch level="1">polkit-0.117-duktape.patch</Patch>
<Patch level="1">polkit-0.117-elogind.patch</Patch>
<Patch level="1">use-system-locale-in-gobject-api.diff</Patch>
</Patches>
</Source>
@@ -86,6 +88,13 @@
</Package>
<History>
<Update release="10">
<Date>2021-04-30</Date>
<Version>0.117</Version>
<Comment>Rebuild.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="9">
<Date>2020-12-09</Date>
<Version>0.117</Version>