diff options
author | Zbigniew Baniewski <Zbigniew [dot] Baniewski [at] gmail [dot] com> | 2022-09-08 22:20:33 +0100 |
---|---|---|
committer | Dave Woodfall <dave@slackbuilds.org> | 2022-09-08 22:20:33 +0100 |
commit | 9bd2d4882c4305eaf6c4b92c3feb8cf5705b8036 (patch) | |
tree | bc58bce4aaecde9767c9a04106a91c1568d18f23 /development/4th | |
parent | f3528ad44c025dca731e12ae3cb13875a28da5a1 (diff) |
development/4th: Updated for version 3.64.1.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'development/4th')
-rw-r--r-- | development/4th/01-directories.patch | 8 | ||||
-rw-r--r-- | development/4th/02-to_preserve_32bit_compatibility.patch | 15 | ||||
-rw-r--r-- | development/4th/4th.SlackBuild | 27 | ||||
-rw-r--r-- | development/4th/4th.info | 8 | ||||
-rw-r--r-- | development/4th/slack-desc | 2 |
5 files changed, 32 insertions, 28 deletions
diff --git a/development/4th/01-directories.patch b/development/4th/01-directories.patch index 5f82f36aa5616..201ab7bdaa3ca 100644 --- a/development/4th/01-directories.patch +++ b/development/4th/01-directories.patch @@ -1,6 +1,6 @@ -diff -Nur 4th-3.62.5-unix/sources/Makefile 4th-3.62.5-unix.new/sources/Makefile ---- 4th-3.62.5-unix/sources/Makefile 2015-04-23 07:59:18.000000000 +0200 -+++ 4th-3.62.5-unix.new/sources/Makefile 2018-01-27 01:39:36.000000000 +0100 +diff -Nur 4th-3.64.1/sources/Makefile 4th-3.64.1.new/sources/Makefile +--- 4th-3.64.1/sources/Makefile 2021-07-25 11:38:40.000000000 +0200 ++++ 4th-3.64.1.new/sources/Makefile 2022-01-20 18:41:25.393103893 +0100 @@ -13,13 +13,13 @@ # The following variables may need to be changed @@ -26,7 +26,7 @@ diff -Nur 4th-3.62.5-unix/sources/Makefile 4th-3.62.5-unix.new/sources/Makefile install: mostlyinstall install -Dm644 ../documentation/4th.1 $(MANDIR)/man1/4th.1 - install -Dm644 ../documentation/4tHmanual.txt $(DOCDIR)/4th/ -+ install -Dm644 ../documentation/4tHmanual.txt $(DOCDIR)/4th-3.62.5/ ++ install -Dm644 ../documentation/4tHmanual.pdf $(DOCDIR)/4th-3.64.1/ + install -Dm644 ../sources/4th.h $(INCLUDES)/4th.h uninstall: diff --git a/development/4th/02-to_preserve_32bit_compatibility.patch b/development/4th/02-to_preserve_32bit_compatibility.patch index 3c091deb2ee1b..32c7f6a0ba573 100644 --- a/development/4th/02-to_preserve_32bit_compatibility.patch +++ b/development/4th/02-to_preserve_32bit_compatibility.patch @@ -1,7 +1,7 @@ -diff -Nur 4th-3.62.5-unix/sources/4th.h 4th-3.62.5-unix.new/sources/4th.h ---- 4th-3.62.5-unix/sources/4th.h 2012-04-09 18:15:03.000000000 +0200 -+++ 4th-3.62.5-unix.new/sources/4th.h 2014-04-13 16:23:07.122971512 +0200 -@@ -62,8 +62,8 @@ +diff -Nur 4th-3.64.1/sources/4th.h 4th-3.64.1.new/sources/4th.h +--- 4th-3.64.1/sources/4th.h 2019-03-17 17:32:08.000000000 +0100 ++++ 4th-3.64.1.new/sources/4th.h 2022-01-20 19:38:11.022969349 +0100 +@@ -62,12 +62,12 @@ #define M4BADNAM 28 #define M4CABORT 29 @@ -10,5 +10,10 @@ diff -Nur 4th-3.62.5-unix/sources/4th.h 4th-3.62.5-unix.new/sources/4th.h +#define CELL_MIN INT_MIN +#define CELL_MAX INT_MAX - typedef long cell; + #define SYMLEN 24 /* length of word name (incl. \0) */ + +-typedef long cell; ++typedef int cell; typedef unsigned char unit; + + typedef struct { diff --git a/development/4th/4th.SlackBuild b/development/4th/4th.SlackBuild index 227cdc7070968..787982fb89e8b 100644 --- a/development/4th/4th.SlackBuild +++ b/development/4th/4th.SlackBuild @@ -4,13 +4,11 @@ # Written by Zbigniew Baniewski <Zbigniew [dot] Baniewski [at] gmail [dot] com> -# 20220407 bkw: Modified by SlackBuilds.org, BUILD=2: fix doc permissions. - cd $(dirname $0) ; CWD=$(pwd) PRGNAM=4th -VERSION=${VERSION:-3.62.5} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.64.1} +BUILD=${BUILD:-0} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,10 +48,10 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION-unix +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION-unix.tar.gz cat $CWD/01-directories.patch | patch -p0 || exit -cd $PRGNAM-$VERSION-unix/sources +cd $PRGNAM-$VERSION/sources chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -63,7 +61,6 @@ find -L . \ if [ "$ARCH" = "x86_64" ]; then cat $CWD/02-to_preserve_32bit_compatibility.patch | patch -p2 || exit - cp include/* . fi mkdir -p $PKG/usr/lib$LIBDIRSUFFIX @@ -76,20 +73,22 @@ make install DESTDIR="$PKG" LIBSUFFIX="$LIBDIRSUFFIX" gzip -9 $PKG/usr/man/man*/* strip $PKG/usr/bin/* -cp $TMP/$PRGNAM-$VERSION-unix/documentation/*.txt $PKG/usr/doc/$PRGNAM-$VERSION -cp $TMP/$PRGNAM-$VERSION-unix/4th/.directory $PKG/usr/doc/$PRGNAM-$VERSION -cp $TMP/$PRGNAM-$VERSION-unix/COPYING $PKG/usr/doc/$PRGNAM-$VERSION -cp $TMP/$PRGNAM-$VERSION-unix/README $PKG/usr/doc/$PRGNAM-$VERSION -cp -r $TMP/$PRGNAM-$VERSION-unix/4th/* $PKG/usr/doc/$PRGNAM-$VERSION/examples +cp $TMP/$PRGNAM-$VERSION/documentation/4th.1 $PKG/usr/man/man1 +cp $TMP/$PRGNAM-$VERSION/documentation/*.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp $TMP/$PRGNAM-$VERSION/COPYING $PKG/usr/doc/$PRGNAM-$VERSION +cp $TMP/$PRGNAM-$VERSION/README $PKG/usr/doc/$PRGNAM-$VERSION +cp -r $TMP/$PRGNAM-$VERSION/4th/* $PKG/usr/doc/$PRGNAM-$VERSION/examples -# 20220407 bkw: junk files and bad permissions... -find $PKG/usr/doc/$PRGNAM-$VERSION -name .directory -exec rm -rf {} \+ find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+ +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/examples/apps/graphics/hans.ppm cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +rm $PKG/usr/man/man1/4th.1 cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/4th/4th.info b/development/4th/4th.info index c344371f99ae5..7d5b28ca62269 100644 --- a/development/4th/4th.info +++ b/development/4th/4th.info @@ -1,8 +1,8 @@ PRGNAM="4th" -VERSION="3.62.5" -HOMEPAGE="http://thebeez.home.xs4all.nl/4tH/" -DOWNLOAD="http://downloads.sourceforge.net/project/forth-4th/4th-3.62.5/4th-3.62.5-unix.tar.gz" -MD5SUM="caf85244354320daecec58b9451ce0cd" +VERSION="3.64.1" +HOMEPAGE="https://thebeez.home.xs4all.nl/4tH/4thfaces.html" +DOWNLOAD="http://downloads.sourceforge.net/project/forth-4th/4th-3.64.1/4th-3.64.1-unix.tar.gz" +MD5SUM="82fa4fbe11e3b004affb1c374c75093e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/development/4th/slack-desc b/development/4th/slack-desc index 4499b59cc999a..d79ad1a05f67b 100644 --- a/development/4th/slack-desc +++ b/development/4th/slack-desc @@ -11,7 +11,7 @@ 4th: It detects virtually every error and reports what and where 4th: they occur, but is still fast and compact. 4th: -4th: http://www.gnu.org/software/4th/ +4th: https://thebeez.home.xs4all.nl/4tH/4thfaces.html 4th: 4th: Licence: GNU LGPL V3 4th: |