summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-06-11 19:49:28 +0000
committer Eric Hameleers <alien@slackware.com>2023-06-11 22:33:50 +0200
commit32df5704da32e7b74e0aeee3c07f92bf9f741934 (patch)
treeac4496bba07bc3eb249b7dedf442fd1a6a263c0d /source
parent198726931a809f39dba86352b0e4f30c00de78a3 (diff)
downloadcurrent-32df5704da32e7b74e0aeee3c07f92bf9f741934.tar.gz
current-32df5704da32e7b74e0aeee3c07f92bf9f741934.tar.xz
Sun Jun 11 19:49:28 UTC 202320230611194928
a/aaa_terminfo-6.4_20230610-x86_64-1.txz: Upgraded. ap/vim-9.0.1627-x86_64-1.txz: Upgraded. l/gjs-1.76.1-x86_64-1.txz: Upgraded. l/gtkspell3-3.0.10-x86_64-1.txz: Added. l/ncurses-6.4_20230610-x86_64-1.txz: Upgraded. xap/pan-0.154-x86_64-1.txz: Upgraded. xap/vim-gvim-9.0.1627-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source')
-rwxr-xr-xsource/l/gtkspell3/gtkspell3.SlackBuild136
-rw-r--r--source/l/gtkspell3/slack-desc19
-rwxr-xr-xsource/xap/pan/pan.SlackBuild8
-rw-r--r--source/xap/pan/pan.enchant2.diff22
4 files changed, 156 insertions, 29 deletions
diff --git a/source/l/gtkspell3/gtkspell3.SlackBuild b/source/l/gtkspell3/gtkspell3.SlackBuild
new file mode 100755
index 000000000..ba1f74612
--- /dev/null
+++ b/source/l/gtkspell3/gtkspell3.SlackBuild
@@ -0,0 +1,136 @@
+#!/bin/bash
+
+# Copyright 2006, 2008, 2009, 2010, 2018, 2021 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=gtkspell3
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i586 ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export 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}
+rm -rf $PKG
+mkdir -p $TMP $PKG
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+cd $TMP
+rm -rf ${PKGNAM}-${VERSION}
+tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z* || exit 1
+cd ${PKGNAM}-$VERSION || exit 1
+
+# Make sure ownerships and permissions are sane:
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \+
+
+# Configure:
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --disable-static \
+ --build=$ARCH-slackware-linux || exit 1
+
+# Build and install:
+make $NUMJOBS || make || exit 1
+make install DESTDIR=$PKG || exit 1
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+# Strip binaries:
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+
+# Compress and link manpages, if any:
+if [ -d $PKG/usr/man ]; then
+ ( cd $PKG/usr/man
+ for manpagedir in $(find . -type d -name "man*") ; do
+ ( cd $manpagedir
+ for eachpage in $( find . -type l -maxdepth 1) ; do
+ ln -s $( readlink $eachpage ).gz $eachpage.gz
+ rm $eachpage
+ done
+ gzip -9 *.?
+ )
+ done
+ )
+fi
+
+# Compress info files, if any:
+if [ -d $PKG/usr/info ]; then
+ ( cd $PKG/usr/info
+ rm -f dir
+ gzip -9 *
+ )
+fi
+
+# Add a documentation directory:
+mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
+cp -a \
+ AUTHORS* COPYING* ChangeLog NEWS* README* \
+ $PKG/usr/doc/${PKGNAM}-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $TMP/package-${PKGNAM}
+/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz
+
diff --git a/source/l/gtkspell3/slack-desc b/source/l/gtkspell3/slack-desc
new file mode 100644
index 000000000..62e8fe436
--- /dev/null
+++ b/source/l/gtkspell3/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------------------------------------------------------|
+gtkspell3: gtkspell3 (GTK3 spell checker interface library)
+gtkspell3:
+gtkspell3: GtkSpell3 provides MSWord/MacOSX-style highlighting of misspelled
+gtkspell3: words in a GtkTextView widget. Right-clicking a misspelled word pops
+gtkspell3: up a menu of suggested replacements.
+gtkspell3:
+gtkspell3: Homepage: http://gtkspell.sourceforge.net
+gtkspell3:
+gtkspell3:
+gtkspell3:
+gtkspell3:
diff --git a/source/xap/pan/pan.SlackBuild b/source/xap/pan/pan.SlackBuild
index 4a7192499..fb7db80ab 100755
--- a/source/xap/pan/pan.SlackBuild
+++ b/source/xap/pan/pan.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2018, 2019, 2021 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2018, 2019, 2021, 2023 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -75,10 +75,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# Build with enchant-2:
-zcat $CWD/pan.enchant2.diff.gz | patch -p1 --verbose || exit 1
-autoreconf -vif
-
# Configure:
if [ ! -r configure ]; then
if [ -x ./autogen.sh ]; then
@@ -94,9 +90,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var/lib \
--sysconfdir=/etc \
--mandir=/usr/man \
- --without-gtk3 \
--with-gnutls \
- --with-gmime30 \
--with-gmime-crypto \
--with-gtkspell \
--enable-libnotify \
diff --git a/source/xap/pan/pan.enchant2.diff b/source/xap/pan/pan.enchant2.diff
deleted file mode 100644
index bf072cb54..000000000
--- a/source/xap/pan/pan.enchant2.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- ./configure.ac.orig 2021-12-23 10:08:38.000000000 -0600
-+++ ./configure.ac 2021-12-23 15:09:47.761728536 -0600
-@@ -173,7 +173,7 @@
- fi
- else
- if test "x$want_gtkspell" = "xyes" ; then
-- PKG_CHECK_MODULES([GTKSPELL], [gtkspell-2.0 >= $GTKSPELL_REQUIRED enchant >= $ENCHANT_REQUIRED],
-+ PKG_CHECK_MODULES([GTKSPELL], [gtkspell-2.0 >= $GTKSPELL_REQUIRED enchant-2 >= $ENCHANT2_REQUIRED],
- [
- gtkspell_msg=yes
- AC_DEFINE(HAVE_GTKSPELL,[1],[GtkSpell support for spellchecking])
---- ./pan/gui/group-prefs-dialog.cc.orig 2021-12-06 18:08:37.000000000 -0600
-+++ ./pan/gui/group-prefs-dialog.cc 2021-12-23 15:10:34.748725937 -0600
-@@ -25,7 +25,7 @@
- #if GTKSPELL_VERSION == 3
- #include <enchant-2/enchant.h>
- #else
--#include <enchant/enchant.h>
-+#include <enchant-2/enchant.h>
- #endif
- #endif
- #include <pan/general/debug.h>