summaryrefslogtreecommitdiffstats
path: root/system/packagekit
diff options
context:
space:
mode:
Diffstat (limited to 'system/packagekit')
-rw-r--r--system/packagekit/doinst.sh1
-rw-r--r--system/packagekit/force_polkit_version.patch16
-rw-r--r--system/packagekit/packagekit.SlackBuild6
-rw-r--r--system/packagekit/packagekit.info8
4 files changed, 24 insertions, 7 deletions
diff --git a/system/packagekit/doinst.sh b/system/packagekit/doinst.sh
index fa9fe022ef..4e39e9d043 100644
--- a/system/packagekit/doinst.sh
+++ b/system/packagekit/doinst.sh
@@ -14,7 +14,6 @@ config() {
config etc/PackageKit/PackageKit.conf.new
config etc/PackageKit/Vendor.conf.new
config etc/PackageKit/CommandNotFound.conf.new
-config etc/PackageKit/Katja.conf.new
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
diff --git a/system/packagekit/force_polkit_version.patch b/system/packagekit/force_polkit_version.patch
new file mode 100644
index 0000000000..f896a05aa7
--- /dev/null
+++ b/system/packagekit/force_polkit_version.patch
@@ -0,0 +1,16 @@
+https://www.linuxquestions.org/questions/slackware-14/sbo-scripts-not-building-on-current-read-1st-post-pls-4175561999/page27.html#post5884683
+
+--- configure.ac.orig 2018-04-03 12:29:51.000000000 +0000
++++ configure.ac 2018-07-27 17:03:50.260951817 +0000
+@@ -183,7 +183,10 @@
+ polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED)
+
+ # 0.114 introduced autocleanup functions for its types.
+-PKG_CHECK_MODULES([POLKIT_0_114], [polkit-gobject-1 >= 0.114],
++# LAR 20180727 - Slackware patches 0.113 polkit to make it add
++# something from 0.114. DIRTY HACK to trick PackageKit into thinking it
++# 0.113 shipped by slackware-current is actually 0.114.
++PKG_CHECK_MODULES([POLKIT_0_114], [polkit-gobject-1 >= 0.113],
+ [have_polkit_0_114=yes], [have_polkit_0_114=no])
+ AS_IF([test "$have_polkit_0_114" = "yes"], [
+ AC_DEFINE([HAVE_POLKIT_0_114],[1],
diff --git a/system/packagekit/packagekit.SlackBuild b/system/packagekit/packagekit.SlackBuild
index 7527471105..8716bdb702 100644
--- a/system/packagekit/packagekit.SlackBuild
+++ b/system/packagekit/packagekit.SlackBuild
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="packagekit"
-VERSION=${VERSION:-1.1.4}
+VERSION=${VERSION:-1.1.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,6 +72,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p0 < $CWD/force_polkit_version.patch
+autoreconf -vif
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -98,7 +101,6 @@ for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i
mv $PKG/etc/PackageKit/CommandNotFound.conf $PKG/etc/PackageKit/CommandNotFound.conf.new
mv $PKG/etc/PackageKit/PackageKit.conf $PKG/etc/PackageKit/PackageKit.conf.new
mv $PKG/etc/PackageKit/Vendor.conf $PKG/etc/PackageKit/Vendor.conf.new
-mv $PKG/etc/PackageKit/Katja.conf $PKG/etc/PackageKit/Katja.conf.new
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
diff --git a/system/packagekit/packagekit.info b/system/packagekit/packagekit.info
index c7f1732d6a..6c281ba43b 100644
--- a/system/packagekit/packagekit.info
+++ b/system/packagekit/packagekit.info
@@ -1,10 +1,10 @@
PRGNAM="packagekit"
-VERSION="1.1.4"
+VERSION="1.1.10"
HOMEPAGE="https://www.freedesktop.org/software/PackageKit/"
-DOWNLOAD="https://www.freedesktop.org/software/PackageKit/releases/PackageKit-1.1.4.tar.xz"
-MD5SUM="d1a000a33c7c935522af7a01dea012bf"
+DOWNLOAD="https://www.freedesktop.org/software/PackageKit/releases/PackageKit-1.1.10.tar.xz"
+MD5SUM="04703a41f855c323f15d7c94ec0771b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="autoconf-archive"
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"