summaryrefslogtreecommitdiffstats
path: root/source/l
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2019-03-25 22:36:26 +0000
committer Eric Hameleers <alien@slackware.com>2019-03-26 08:59:46 +0100
commit3b7e089bdda55791198b67eb80a3945c4eb9668a (patch)
tree859255f65b95f1e153f6a534a1e0a7d36449e93e /source/l
parentd6b713db542c01d4dbf8177a2f096f7b0265157c (diff)
downloadcurrent-3b7e089bdda55791198b67eb80a3945c4eb9668a.tar.gz
current-3b7e089bdda55791198b67eb80a3945c4eb9668a.tar.xz
Mon Mar 25 22:36:26 UTC 201920190325223626
ap/nano-4.0-x86_64-1.txz: Upgraded. l/Mako-1.0.8-x86_64-1.txz: Upgraded. l/imagemagick-6.9.10_35-x86_64-1.txz: Upgraded. l/libedit-20190324_3.1-x86_64-1.txz: Upgraded. l/shared-mime-info-1.12-x86_64-1.txz: Upgraded. x/xcompmgr-1.1.8-x86_64-1.txz: Upgraded. xap/mozilla-thunderbird-60.6.1-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/thunderbird/60.6.1/releasenotes/ https://www.mozilla.org/security/known-vulnerabilities/thunderbird.html (* Security fix *)
Diffstat (limited to 'source/l')
-rwxr-xr-xsource/l/Mako/Mako.SlackBuild2
-rwxr-xr-xsource/l/shared-mime-info/fetch-shared-mime-info.sh42
-rwxr-xr-xsource/l/shared-mime-info/shared-mime-info.SlackBuild8
-rw-r--r--source/l/shared-mime-info/shared-mime-info.url1
4 files changed, 50 insertions, 3 deletions
diff --git a/source/l/Mako/Mako.SlackBuild b/source/l/Mako/Mako.SlackBuild
index 41171e69c..2edeaf42e 100755
--- a/source/l/Mako/Mako.SlackBuild
+++ b/source/l/Mako/Mako.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=Mako
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
diff --git a/source/l/shared-mime-info/fetch-shared-mime-info.sh b/source/l/shared-mime-info/fetch-shared-mime-info.sh
new file mode 100755
index 000000000..3991e39f4
--- /dev/null
+++ b/source/l/shared-mime-info/fetch-shared-mime-info.sh
@@ -0,0 +1,42 @@
+#!/bin/sh
+
+# Copyright 2019 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# Clear download area:
+rm -rf shared-mime-info
+
+# Clone repository:
+git clone https://gitlab.freedesktop.org/xdg/shared-mime-info.git
+
+VERSION=$(cd shared-mime-info && grep "^AC_INIT(\[shared-mime-info" configure.ac | cut -f 2 -d , | tr -d [ | tr -d ])
+
+# Cleanup. We're not packing up the whole git repo.
+( cd shared-mime-info && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )
+( cd shared-mime-info/tests && rm -rf * )
+mv shared-mime-info shared-mime-info-${VERSION}
+rm -f shared-mime-info-${VERSION}.tar
+tar cf shared-mime-info-${VERSION}.tar shared-mime-info-${VERSION}
+rm -f shared-mime-info-${VERSION}.tar.lz
+plzip -9 shared-mime-info-${VERSION}.tar
+rm -rf shared-mime-info-${VERSION}
+echo
+echo "shared-mime-info packaged as shared-mime-info-${VERSION}.tar.lz"
+echo
diff --git a/source/l/shared-mime-info/shared-mime-info.SlackBuild b/source/l/shared-mime-info/shared-mime-info.SlackBuild
index 745cce86a..0c4fee47d 100755
--- a/source/l/shared-mime-info/shared-mime-info.SlackBuild
+++ b/source/l/shared-mime-info/shared-mime-info.SlackBuild
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=shared-mime-info
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -68,7 +68,7 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf ${PKGNAM}-$VERSION
-tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z || exit 1
cd ${PKGNAM}-$VERSION || exit 1
# Don't use fdatasync() unless you want it to take 1000x longer
@@ -82,6 +82,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+if [ ! -r configure ]; then
+ NOCONFIGURE=1 ./autogen.sh
+fi
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
diff --git a/source/l/shared-mime-info/shared-mime-info.url b/source/l/shared-mime-info/shared-mime-info.url
new file mode 100644
index 000000000..0d268d0d6
--- /dev/null
+++ b/source/l/shared-mime-info/shared-mime-info.url
@@ -0,0 +1 @@
+https://gitlab.freedesktop.org/xdg/shared-mime-info