From bee3d6c81b37e0eb578c0aaf4dca8202b62ab3c0 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Tue, 12 Jul 2022 04:20:40 +0000 Subject: Tue Jul 12 04:20:40 UTC 2022 d/vala-0.56.1-x86_64-1.txz: Upgraded. l/at-spi2-core-2.44.1-x86_64-1.txz: Upgraded. l/atk-2.38.0-x86_64-1.txz: Upgraded. l/glib-networking-2.72.1-x86_64-1.txz: Upgraded. l/glib2-2.72.3-x86_64-1.txz: Upgraded. l/gobject-introspection-1.72.0-x86_64-1.txz: Upgraded. l/gtk4-4.6.6-x86_64-1.txz: Upgraded. l/gvfs-1.50.2-x86_64-1.txz: Upgraded. l/librsvg-2.54.4-x86_64-1.txz: Upgraded. l/libsoup3-3.0.7-x86_64-1.txz: Added. l/pygobject3-3.42.1-x86_64-1.txz: Upgraded. l/vte-0.68.0-x86_64-1.txz: Upgraded. --- source/l/gvfs/gvfs.ftbfs.diff | 10 --- source/l/libsoup3/libsoup3.SlackBuild | 119 ++++++++++++++++++++++++++++++++++ source/l/libsoup3/slack-desc | 19 ++++++ 3 files changed, 138 insertions(+), 10 deletions(-) delete mode 100644 source/l/gvfs/gvfs.ftbfs.diff create mode 100755 source/l/libsoup3/libsoup3.SlackBuild create mode 100644 source/l/libsoup3/slack-desc (limited to 'source/l') diff --git a/source/l/gvfs/gvfs.ftbfs.diff b/source/l/gvfs/gvfs.ftbfs.diff deleted file mode 100644 index 7728d1020..000000000 --- a/source/l/gvfs/gvfs.ftbfs.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- ./daemon/meson.build.orig 2021-04-30 06:19:33.189706000 -0500 -+++ ./daemon/meson.build 2022-02-16 14:24:07.157150575 -0600 -@@ -366,7 +366,6 @@ - ) - - i18n.merge_file( -- policy, - input: policy_in, - output: '@BASENAME@', - po_dir: po_dir, diff --git a/source/l/libsoup3/libsoup3.SlackBuild b/source/l/libsoup3/libsoup3.SlackBuild new file mode 100755 index 000000000..cc481f050 --- /dev/null +++ b/source/l/libsoup3/libsoup3.SlackBuild @@ -0,0 +1,119 @@ +#!/bin/bash +# +# Slackware build script for libsoup +# +# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA +# Copyright 2020 Patrick J. Volkerding, Sebeka, MN, 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=libsoup3 +SRCNAM=libsoup +VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z || exit 1 +cd $SRCNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +# Configure, build, and install: +export CFLAGS="$SLKCFLAGS" +export CXXFLAGS="$SLKCFLAGS" +mkdir meson-build +cd meson-build +meson setup \ + --prefix=/usr \ + --libdir=lib${LIBDIRSUFFIX} \ + --libexecdir=/usr/libexec \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --includedir=/usr/include \ + --datadir=/usr/share \ + --mandir=/usr/man \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --buildtype=release \ + -Dgssapi=disabled \ + -Dvapi=enabled \ + .. || exit 1 + "${NINJA:=ninja}" $NUMJOBS || exit 1 + DESTDIR=$PKG $NINJA install || exit 1 +cd .. + +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +cp -a COPYING* AUTHORS NEWS README* $PKG/usr/doc/$PKGNAM-$VERSION + +# If there's a ChangeLog, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r ChangeLog ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog + touch -r ChangeLog $DOCSDIR/ChangeLog +fi + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz diff --git a/source/l/libsoup3/slack-desc b/source/l/libsoup3/slack-desc new file mode 100644 index 000000000..c8579c993 --- /dev/null +++ b/source/l/libsoup3/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +libsoup3: libsoup3 (an HTTP client/server library, v3) +libsoup3: +libsoup3: Soup is an HTTP client/server library implementation in C. It uses +libsoup3: GObjects and the glib main loop to integrate well with GTK+ +libsoup3: applications, and has a synchronous API suitable for use in threaded +libsoup3: applications. +libsoup3: +libsoup3: +libsoup3: +libsoup3: +libsoup3: -- cgit v1.2.3-80-g2a13