From 48cb6bd24aba4fd823731bd9befb290519dccee5 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sat, 21 Sep 2024 07:22:51 +0200 Subject: 20240921.1 global branch merge. Signed-off-by: Matteo Bernardini --- development/Sphinx/README | 5 - development/Sphinx/Sphinx.SlackBuild | 87 ------------- development/Sphinx/Sphinx.info | 10 -- development/Sphinx/slack-desc | 19 --- development/abseil-cpp/README | 2 - development/abseil-cpp/abseil-cpp.SlackBuild | 103 --------------- development/abseil-cpp/abseil-cpp.info | 10 -- development/abseil-cpp/slack-desc | 19 --- development/bazel/abseil-missing-stdint.patch | 10 ++ development/bazel/apply-abseil-stdint.patch | 13 ++ development/bazel/bazel.SlackBuild | 4 + development/cargo-vendor-filterer/README | 10 -- .../cargo-vendor-filterer/cargo-mkvendored.sh | 139 -------------------- .../cargo-vendor-filterer.SlackBuild | 132 ------------------- .../cargo-vendor-filterer.info | 12 -- development/cargo-vendor-filterer/slack-desc | 19 --- development/codelite/codelite.SlackBuild | 4 +- development/codelite/codelite.info | 6 +- .../device-tree-compiler.SlackBuild | 4 +- .../device-tree-compiler/device-tree-compiler.info | 6 +- .../gambas3/gambas-3.19.0-poppler-24.02.0.patch | 13 ++ development/gambas3/gambas3.SlackBuild | 2 + development/gnuradio/gnuradio.SlackBuild | 3 + .../jupyter-nbclassic/jupyter-nbclassic.SlackBuild | 8 +- development/luajit/README | 2 - development/luajit/luajit.SlackBuild | 116 ----------------- development/luajit/luajit.info | 10 -- development/luajit/slack-desc | 19 --- development/nodejs/README | 8 -- development/nodejs/nodejs.SlackBuild | 119 ----------------- development/nodejs/nodejs.info | 10 -- development/nodejs/npm.sh | 58 --------- development/nodejs/slack-desc | 19 --- development/oneTBB/includes.patch | 10 ++ development/oneTBB/oneTBB.SlackBuild | 6 + development/oneTBB/unused.patch | 39 ++++++ development/pahole/README | 2 - development/pahole/pahole.SlackBuild | 118 ----------------- development/pahole/pahole.info | 12 -- development/pahole/slack-desc | 19 --- development/protobuf3/README | 27 ---- development/protobuf3/protobuf3.SlackBuild | 123 ------------------ development/protobuf3/protobuf3.info | 12 -- development/protobuf3/slack-desc | 19 --- development/protobuf3/soversion.patch | 36 ------ development/rust16/README | 21 --- development/rust16/rust16.SlackBuild | 142 --------------------- development/rust16/rust16.info | 12 -- development/rust16/slack-desc | 19 --- development/splint/splint.SlackBuild | 5 +- development/systemtap/int.patch | 48 ------- development/systemtap/systemtap.SlackBuild | 4 +- development/systemtap/systemtap.info | 6 +- development/unittest-cpp/unittest-cpp.SlackBuild | 2 +- development/valgrind/README | 19 --- development/valgrind/slack-desc | 19 --- development/valgrind/valgrind.SlackBuild | 119 ----------------- development/valgrind/valgrind.info | 10 -- development/vc-intrinsics/vc-intrinsics.SlackBuild | 2 +- development/vc-intrinsics/vc-intrinsics.info | 6 +- 60 files changed, 123 insertions(+), 1735 deletions(-) delete mode 100644 development/Sphinx/README delete mode 100644 development/Sphinx/Sphinx.SlackBuild delete mode 100644 development/Sphinx/Sphinx.info delete mode 100644 development/Sphinx/slack-desc delete mode 100644 development/abseil-cpp/README delete mode 100644 development/abseil-cpp/abseil-cpp.SlackBuild delete mode 100644 development/abseil-cpp/abseil-cpp.info delete mode 100644 development/abseil-cpp/slack-desc create mode 100644 development/bazel/abseil-missing-stdint.patch create mode 100644 development/bazel/apply-abseil-stdint.patch delete mode 100644 development/cargo-vendor-filterer/README delete mode 100644 development/cargo-vendor-filterer/cargo-mkvendored.sh delete mode 100644 development/cargo-vendor-filterer/cargo-vendor-filterer.SlackBuild delete mode 100644 development/cargo-vendor-filterer/cargo-vendor-filterer.info delete mode 100644 development/cargo-vendor-filterer/slack-desc create mode 100644 development/gambas3/gambas-3.19.0-poppler-24.02.0.patch delete mode 100644 development/luajit/README delete mode 100644 development/luajit/luajit.SlackBuild delete mode 100644 development/luajit/luajit.info delete mode 100644 development/luajit/slack-desc delete mode 100644 development/nodejs/README delete mode 100644 development/nodejs/nodejs.SlackBuild delete mode 100644 development/nodejs/nodejs.info delete mode 100644 development/nodejs/npm.sh delete mode 100644 development/nodejs/slack-desc create mode 100644 development/oneTBB/includes.patch create mode 100644 development/oneTBB/unused.patch delete mode 100644 development/pahole/README delete mode 100644 development/pahole/pahole.SlackBuild delete mode 100644 development/pahole/pahole.info delete mode 100644 development/pahole/slack-desc delete mode 100644 development/protobuf3/README delete mode 100644 development/protobuf3/protobuf3.SlackBuild delete mode 100644 development/protobuf3/protobuf3.info delete mode 100644 development/protobuf3/slack-desc delete mode 100644 development/protobuf3/soversion.patch delete mode 100644 development/rust16/README delete mode 100644 development/rust16/rust16.SlackBuild delete mode 100644 development/rust16/rust16.info delete mode 100644 development/rust16/slack-desc delete mode 100644 development/systemtap/int.patch delete mode 100644 development/valgrind/README delete mode 100644 development/valgrind/slack-desc delete mode 100644 development/valgrind/valgrind.SlackBuild delete mode 100644 development/valgrind/valgrind.info (limited to 'development') diff --git a/development/Sphinx/README b/development/Sphinx/README deleted file mode 100644 index e3f923a7f7..0000000000 --- a/development/Sphinx/README +++ /dev/null @@ -1,5 +0,0 @@ -Sphinx is a tool that translates a set of reStructuredText -source files into various output formats, including HTML, ePub, -LaTeX and plain text. Sphinx was originally created for the Python -documentation, but it has excellent facilities for the documentation -of software projects in a range of languages. diff --git a/development/Sphinx/Sphinx.SlackBuild b/development/Sphinx/Sphinx.SlackBuild deleted file mode 100644 index 330564c274..0000000000 --- a/development/Sphinx/Sphinx.SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/bash - -# Slackware build script for Sphinx - -# Copyright 2023-2024 fourtysixandtwo -# Copyright 2013 Mikko Värri, Finland -# Copyright 2017-2021 Benjamin Trigona-Harany -# 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) - -PRGNAM=Sphinx -SRCNAM=Sphinx -VERSION=${VERSION:-5.3.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ - -# lower Pygments required version -sed -i '/Pygments>=/ s/2.12/2.10.0/' pyproject.toml - -python3 -m build --no-isolation -python3 -m installer -d "$PKG" dist/*.whl - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS CHANGES EXAMPLES LICENSE README.rst \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/Sphinx/Sphinx.info b/development/Sphinx/Sphinx.info deleted file mode 100644 index 9d05ca57e9..0000000000 --- a/development/Sphinx/Sphinx.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="Sphinx" -VERSION="5.3.0" -HOMEPAGE="http://www.sphinx-doc.org" -DOWNLOAD="https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-5.3.0.tar.gz" -MD5SUM="b752f7b0177865a36cbcdcef4ac80cd4" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="alabaster imagesize python3-babel snowballstemmer sphinxcontrib-applehelp sphinxcontrib-devhelp sphinxcontrib-htmlhelp sphinxcontrib-jsmath sphinxcontrib-qthelp sphinxcontrib-serializinghtml python-importlib_metadata" -MAINTAINER="fourtysixandtwo" -EMAIL="fourtysixandtwo@sliderr.net" diff --git a/development/Sphinx/slack-desc b/development/Sphinx/slack-desc deleted file mode 100644 index 403648f0ae..0000000000 --- a/development/Sphinx/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -Sphinx: Sphinx (Documentation generator) -Sphinx: -Sphinx: Sphinx is a tool that translates a set of reStructuredText source -Sphinx: files into various output formats, including HTML, ePub, LaTeX and -Sphinx: plain text. Sphinx was originally created for the Python -Sphinx: documentation, but it has excellent facilities for the documentation -Sphinx: of software projects in a range of languages. -Sphinx: -Sphinx: -Sphinx: -Sphinx: diff --git a/development/abseil-cpp/README b/development/abseil-cpp/README deleted file mode 100644 index b1b90760e1..0000000000 --- a/development/abseil-cpp/README +++ /dev/null @@ -1,2 +0,0 @@ -Abseil is an open-source collection of C++ code designed to augment the -C++ standard library. diff --git a/development/abseil-cpp/abseil-cpp.SlackBuild b/development/abseil-cpp/abseil-cpp.SlackBuild deleted file mode 100644 index 9acf083dba..0000000000 --- a/development/abseil-cpp/abseil-cpp.SlackBuild +++ /dev/null @@ -1,103 +0,0 @@ -#!/bin/bash - -# Slackware build script for abseil-cpp - -# Copyright 2024 Isaac Yu -# 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) - -PRGNAM=abseil-cpp -VERSION=${VERSION:-20240722.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -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 - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -mkdir build -cd build - cmake \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -DNDEBUG" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_CXX_STANDARD=17 \ - -DBUILD_SHARED_LIBS=ON \ - -DCMAKE_BUILD_TYPE=Release .. - make - make install DESTDIR=$PKG -cd .. - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS CONTRIBUTING.md FAQ.md LICENSE README.md UPGRADES.md $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/abseil-cpp/abseil-cpp.info b/development/abseil-cpp/abseil-cpp.info deleted file mode 100644 index 1414611ba3..0000000000 --- a/development/abseil-cpp/abseil-cpp.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="abseil-cpp" -VERSION="20240722.0" -HOMEPAGE="https://abseil.io" -DOWNLOAD="https://github.com/abseil/abseil-cpp/archive/20240722.0/abseil-cpp-20240722.0.tar.gz" -MD5SUM="740fb8f35ebdf82740c294bde408b9c0" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Isaac Yu" -EMAIL="isaacyu@protonmail.com" diff --git a/development/abseil-cpp/slack-desc b/development/abseil-cpp/slack-desc deleted file mode 100644 index cd4106eb18..0000000000 --- a/development/abseil-cpp/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -abseil-cpp: abseil-cpp (Abseil C++ Common Libraries) -abseil-cpp: -abseil-cpp: Abseil is an open-source collection of C++ code designed to augment -abseil-cpp: the C++ standard library. -abseil-cpp: -abseil-cpp: -abseil-cpp: -abseil-cpp: -abseil-cpp: -abseil-cpp: -abseil-cpp: diff --git a/development/bazel/abseil-missing-stdint.patch b/development/bazel/abseil-missing-stdint.patch new file mode 100644 index 0000000000..725a8925a3 --- /dev/null +++ b/development/bazel/abseil-missing-stdint.patch @@ -0,0 +1,10 @@ +--- abseil-cpp.orig/absl/strings/internal/str_format/extension.h ++++ abseil-cpp/absl/strings/internal/str_format/extension.h +@@ -26,6 +26,7 @@ + #include "absl/base/port.h" + #include "absl/meta/type_traits.h" + #include "absl/strings/internal/str_format/output.h" ++#include + #include "absl/strings/string_view.h" + + namespace absl { diff --git a/development/bazel/apply-abseil-stdint.patch b/development/bazel/apply-abseil-stdint.patch new file mode 100644 index 0000000000..b5065aa1b6 --- /dev/null +++ b/development/bazel/apply-abseil-stdint.patch @@ -0,0 +1,13 @@ +--- distdir_deps.bzl.orig 2023-09-05 16:10:13.000617742 +0900 ++++ distdir_deps.bzl 2023-09-05 16:10:42.471484181 +0900 +@@ -163,6 +163,10 @@ + }, + "com_google_absl": { + "archive": "20211102.0.tar.gz", ++ "patch_args": ["-p1"], ++ "patches": [ ++ "//:abseil-missing-stdint.patch" ++ ], + "sha256": "dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4", + "urls": [ + "https://mirror.bazel.build/github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz", diff --git a/development/bazel/bazel.SlackBuild b/development/bazel/bazel.SlackBuild index 1b6448a144..7d2cc4610c 100644 --- a/development/bazel/bazel.SlackBuild +++ b/development/bazel/bazel.SlackBuild @@ -72,6 +72,10 @@ 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 {} \; +# Missing include. +patch -p0 < $CWD/apply-abseil-stdint.patch +cp $CWD/abseil-missing-stdint.patch . + # Export environmental variables # Please change JAVA_HOME if not using zulu-openjdk11 export JAVA_HOME=/usr/lib$LIBDIRSUFFIX/zulu-openjdk11 diff --git a/development/cargo-vendor-filterer/README b/development/cargo-vendor-filterer/README deleted file mode 100644 index 83f9687535..0000000000 --- a/development/cargo-vendor-filterer/README +++ /dev/null @@ -1,10 +0,0 @@ -cargo-vendor-filterer (Vendor rust libraries based on filters) - -cargo-vendor-filterer works like "cargo vendor", but supports filters -that allow excluding libraries one isn't interested in, like -libraries only needed on other platforms, etc. - -NOTE: -I've included a "cargo-mkvendored.sh" script to generate filtered -vendored sources for a rust or python/rust slackbuild. It needs to be -run from within a slackbuild directory. diff --git a/development/cargo-vendor-filterer/cargo-mkvendored.sh b/development/cargo-vendor-filterer/cargo-mkvendored.sh deleted file mode 100644 index 2664e9eec4..0000000000 --- a/development/cargo-vendor-filterer/cargo-mkvendored.sh +++ /dev/null @@ -1,139 +0,0 @@ -#!/bin/bash - -# Create $PRGNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz -# Requires network access, but does not require root privilege. -# Requires that $PRGNAM's REQUIRES need to be installed first (rust16) -# and cargo-vendor-filterer installed to include just the linux deps -# -# Expects to be run within a slackbuild dir with the source archive -# already downloaded. -# -# Variables to use in your SlackBuild: -# VSBUILD # same use as BUILD but for vendored sources -# VSDIR=/sub/dir/ # (optional) alternate location in src for vendor dir -# -# Vendors sources for the following targets -# i686-unknown-linux-gnu -# x86_64-unknown-linux-gnu -# arm-unknown-linux-gnueabihf -# aarch64-unknown-linux-gnu - -INFO="$( echo *.info )" -if [ ! -e "$INFO" ]; then - echo "No (or multiple) .info file in current dir" 1>&2 - exit 1 -fi - -SBUILD="$( echo *.SlackBuild )" -if [ ! -e "$SBUILD" ]; then - echo "No (or multiple) .SlackBuild file in current dir" 1>&2 - exit 1 -fi - -CWD=$(pwd) -source ./$INFO - -INFOERR="variable not set, are you sure you have a valid *.info file?" -echo ${PRGNAM:?$INFOERR} -echo VERSION=${VERSION:?$INFOERR} - -set -e -WORKDIR=$( mktemp -d ) -cd $WORKDIR - -# don't depend on user's ~/.cargo -mkdir -p cargohome -export CARGO_HOME=$(pwd)/cargohome - -egrep "^BUILD=|^VSBUILD=|^VSDIR=|^SRCNAM=" $CWD/$SBUILD > sbvars -source ./sbvars - -# if no SRCNAM in slackbuild set to PRGNAM -SRCNAM=${SRCNAM:-$PRGNAM} - -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION/$VSDIR || exit 1 - -if [ ! -e "Cargo.toml" ]; then - echo "No Cargo.toml file in $SRCNAM-$VERSION dir" 1>&2 - exit 1 -elif [ -e "$CWD/Cargo-toml.patch" ]; then - echo "INFO: Applying Cargo.toml patch" - patch -Np1 < $CWD/Cargo-toml.patch -fi - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i686 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -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" -elif [ "$ARCH" = "aarch64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -# check if rust16 is installed -if [ ! -d /opt/rust16/bin ]; then - echo "ERROR: The rust16 slackbuild is required to be installed" - exit 1 -else - export PATH="/opt/rust16/bin:$PATH" - if [ -z "$LD_LIBRARY_PATH" ]; then - export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" - else - export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH" - fi -fi - -# Configure cargo-vendor-filterer - cat << EOF >> Cargo.toml -[package.metadata.vendor-filter] -platforms = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "arm-unknown-linux-gnueabihf"] -all-features = true -exclude-crate-paths = [ - { name = "openssl-src", exclude = "openssl" }, -] -EOF - -if [ -f /usr/bin/cargo-vendor-filterer ]; then - echo "INFO: Creating filtered vendor libs tarball..." - /usr/bin/cargo-vendor-filterer -else - echo "WARNING: Creating unfiltered vendor libs tarball!" - cargo vendor -fi - -# build would fail if the .a files were removed -#find vendor -type f -a -name \*.a -print0 | xargs -0 rm -f - -mkdir -p .cargo - cat <.cargo/config.toml -[source.crates-io] -replace-with = "vendored-sources" - -[source.vendored-sources] -directory = "vendor" -EOF -cd - - -cd $WORKDIR -tar cvfJ $CWD/$SRCNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz \ - $SRCNAM-$VERSION/$VSDIR/{vendor,.cargo} -md5sum $CWD/$SRCNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz -cd $CWD -rm -rf $WORKDIR diff --git a/development/cargo-vendor-filterer/cargo-vendor-filterer.SlackBuild b/development/cargo-vendor-filterer/cargo-vendor-filterer.SlackBuild deleted file mode 100644 index 6cec63b571..0000000000 --- a/development/cargo-vendor-filterer/cargo-vendor-filterer.SlackBuild +++ /dev/null @@ -1,132 +0,0 @@ -#!/bin/bash - -# Copyright 2023-2024 fourtysixandtwo -# Copyright 2022 Patrick J. Volkerding, Sebeka, MN, USA -# Copyright 2022 Heinz Wiesinger, Amsterdam, The Netherlands -# 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. - -# 20230925 46and2: Bump build, changes to mkvendored script. -# 20230927 46and2: 32-bit fix thanks to Eugene Carlson. Min ARCH=i686. -# 20240102 46and2: modify to use VSBUILD instead of BUILD for vendored sources -# above requested by Andrew Clemons to avoid CI issues -# -also added VSDIR option to included script, see cargo-mkvendored.sh -# 20240213 46and2: Fix FTB on arm - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=cargo-vendor-filterer -VERSION=${VERSION:-0.5.14} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} -VSBUILD=${VSBUILD:-1} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i686 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -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" -elif [ "$ARCH" = "aarch64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -if [ "$ARCH" = "arm" ]; then - TRIPLET="$ARCH-unknown-linux-gnueabihf" -else - TRIPLET="$ARCH-unknown-linux-gnu" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z -tar xvf $CWD/$PRGNAM-vendored-sources-$VERSION-$VSBUILD.tar.?z -cd $PRGNAM-$VERSION - -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ - -export PATH="/opt/rust16/bin:$PATH" -if [ -z "$LD_LIBRARY_PATH" ]; then - export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" -else - export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH" -fi - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -OPENSSL_NO_VENDOR=1 \ -cargo build \ - --offline \ - --release \ - --target $TRIPLET - -mkdir -p $PKG/usr/bin -install -m 755 target/$TRIPLET/release/cargo-vendor-filterer \ - $PKG/usr/bin/ - -# add script to generate filtered vendor sources -install -m 755 $CWD/cargo-mkvendored.sh $PKG/usr/bin/ - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.md LICENSE \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/cargo-vendor-filterer/cargo-vendor-filterer.info b/development/cargo-vendor-filterer/cargo-vendor-filterer.info deleted file mode 100644 index 4169ba09d6..0000000000 --- a/development/cargo-vendor-filterer/cargo-vendor-filterer.info +++ /dev/null @@ -1,12 +0,0 @@ -PRGNAM="cargo-vendor-filterer" -VERSION="0.5.14" -HOMEPAGE="https://github.com/coreos/cargo-vendor-filterer" -DOWNLOAD="https://github.com/coreos/cargo-vendor-filterer/archive/v0.5.14/cargo-vendor-filterer-0.5.14.tar.gz \ - https://slackware.uk/~fourtysixandtwo/src/cargo-vendor-filterer-vendored-sources-0.5.14-1.tar.xz" -MD5SUM="f5b9df9adc3c9d05c5ad62529fe354f7 \ - ca7986322b63d02809d7acb48fca3f2c" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="rust16" -MAINTAINER="fourtysixandtwo" -EMAIL="fourtysixandtwo@sliderr.net" diff --git a/development/cargo-vendor-filterer/slack-desc b/development/cargo-vendor-filterer/slack-desc deleted file mode 100644 index 1c8d67c1ef..0000000000 --- a/development/cargo-vendor-filterer/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -cargo-vendor-filterer: cargo-vendor-filterer (Vendor rust libraries based on filters) -cargo-vendor-filterer: -cargo-vendor-filterer: cargo-vendor-filterer works like "cargo vendor", but supports filters -cargo-vendor-filterer: that allow excluding libraries one isn't interested in, like -cargo-vendor-filterer: libraries only needed on other platforms, etc. -cargo-vendor-filterer: -cargo-vendor-filterer: Homepage: https://github.com/coreos/cargo-vendor-filterer -cargo-vendor-filterer: -cargo-vendor-filterer: -cargo-vendor-filterer: -cargo-vendor-filterer: diff --git a/development/codelite/codelite.SlackBuild b/development/codelite/codelite.SlackBuild index a73a0361d7..8c14bbd4fd 100644 --- a/development/codelite/codelite.SlackBuild +++ b/development/codelite/codelite.SlackBuild @@ -7,8 +7,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=codelite -VERSION=${VERSION:-15.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-16.0.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/development/codelite/codelite.info b/development/codelite/codelite.info index c01b8a1ba5..04c9ae1ec9 100644 --- a/development/codelite/codelite.info +++ b/development/codelite/codelite.info @@ -1,8 +1,8 @@ PRGNAM="codelite" -VERSION="15.0" +VERSION="16.0.0" HOMEPAGE="http://www.codelite.org/" -DOWNLOAD="https://github.com/eranif/codelite/archive/15.0/codelite-15.0.tar.gz" -MD5SUM="1c54744ab0c9b5732087687ab17ab49d" +DOWNLOAD="https://github.com/eranif/codelite/archive/16.0.0/codelite-16.0.0.tar.gz" +MD5SUM="0141a38d2f686520d54fd19a6df0fac3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="wxGTK3" diff --git a/development/device-tree-compiler/device-tree-compiler.SlackBuild b/development/device-tree-compiler/device-tree-compiler.SlackBuild index 230558bc53..ec90a72173 100644 --- a/development/device-tree-compiler/device-tree-compiler.SlackBuild +++ b/development/device-tree-compiler/device-tree-compiler.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=device-tree-compiler -VERSION=${VERSION:-1.6.1} +VERSION=${VERSION:-20240314_1fad065} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -74,7 +74,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z cd $SRCNAM-$VERSION chown -R root:root . find -L . \ diff --git a/development/device-tree-compiler/device-tree-compiler.info b/development/device-tree-compiler/device-tree-compiler.info index a25d77bae3..7abd9adc2d 100644 --- a/development/device-tree-compiler/device-tree-compiler.info +++ b/development/device-tree-compiler/device-tree-compiler.info @@ -1,8 +1,8 @@ PRGNAM="device-tree-compiler" -VERSION="1.6.1" +VERSION="20240314_1fad065" HOMEPAGE="https://git.kernel.org/cgit/utils/dtc/dtc.git" -DOWNLOAD="https://git.kernel.org/pub/scm/utils/dtc/dtc.git/snapshot/dtc-1.6.1.tar.gz" -MD5SUM="19eef37196e99b659c402a29aac5ba59" +DOWNLOAD="https://ponce.cc/slackware/sources/repo/dtc-20240314_1fad065.tar.xz" +MD5SUM="07a9149d834ac5e00ee1a31e49c5d063" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/development/gambas3/gambas-3.19.0-poppler-24.02.0.patch b/development/gambas3/gambas-3.19.0-poppler-24.02.0.patch new file mode 100644 index 0000000000..d97e579696 --- /dev/null +++ b/development/gambas3/gambas-3.19.0-poppler-24.02.0.patch @@ -0,0 +1,13 @@ +diff -Naur gambas-3.19.0.orig/gb.pdf/src/CPdfDocument.cpp gambas-3.19.0/gb.pdf/src/CPdfDocument.cpp +--- gambas-3.19.0.orig/gb.pdf/src/CPdfDocument.cpp 2024-02-16 00:33:51.000000000 +0100 ++++ gambas-3.19.0/gb.pdf/src/CPdfDocument.cpp 2024-02-17 12:14:47.937408267 +0100 +@@ -776,7 +776,8 @@ + BEGIN_PROPERTY(PDFINDEX_title) + + OutlineItem *item = CPDF_index_get(THIS->currindex); +- return_unicode_string(item->getTitle(), item->getTitleLength()); ++ const std::vector &title = item->getTitle(); ++ return_unicode_string(title.data(), title.size()); + + END_PROPERTY + diff --git a/development/gambas3/gambas3.SlackBuild b/development/gambas3/gambas3.SlackBuild index 7140720149..a7b54b2251 100644 --- a/development/gambas3/gambas3.SlackBuild +++ b/development/gambas3/gambas3.SlackBuild @@ -85,6 +85,8 @@ chown -R root:root . #sed -i -e 's/COMPONENT/COMPONENT_SEARCH/g' -e '/\[src\],/a \ \ odbc,' gb.db.odbc/configure.ac #sed -i -e 's/COMPONENT/COMPONENT_SEARCH/g' -e '/\[src\],/a \ \ odbc,' gb.db2.odbc/configure.ac +patch -p1 < $CWD/gambas-3.19.0-poppler-24.02.0.patch + ./reconf-all CFLAGS="$SLKCFLAGS" \ diff --git a/development/gnuradio/gnuradio.SlackBuild b/development/gnuradio/gnuradio.SlackBuild index a4aa0192b7..ae7b2db918 100644 --- a/development/gnuradio/gnuradio.SlackBuild +++ b/development/gnuradio/gnuradio.SlackBuild @@ -81,6 +81,9 @@ find -L . \ # install docs in the right place sed -i "s|\${GR_DATA_DIR}/doc|doc|" CMakeLists.txt +# fix building with gcc >= 13.x +sed -i s/\#include\ \/\#include\ \\\n\#include\ \/ ./gr-fec/include/gnuradio/fec/alist.h + mkdir -p build cd build cmake \ diff --git a/development/jupyter-nbclassic/jupyter-nbclassic.SlackBuild b/development/jupyter-nbclassic/jupyter-nbclassic.SlackBuild index 2548dca07a..61b6397d8d 100644 --- a/development/jupyter-nbclassic/jupyter-nbclassic.SlackBuild +++ b/development/jupyter-nbclassic/jupyter-nbclassic.SlackBuild @@ -64,16 +64,14 @@ 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 {} \; -# Fix /etc/jupyter path -sed 's|etc|/etc|' -i setup.cfg - -python3 setup.py install --root=$PKG +python -m build --wheel --no-isolation --skip-dependency-check +python -m installer --destdir=$PKG dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Remove bundled mathjax2; replace with system mathjax2 -PYTHONPATH=$(python3 -c "from sysconfig import get_path; print(get_path('platlib'))") +PYTHONPATH=$(python3 -c "from sysconfig import get_path; print(get_path('purelib'))") rm -r $PKG/$PYTHONPATH/nbclassic/static/components/MathJax ln -sr /usr/share/mathjax2 $PKG/$PYTHONPATH/nbclassic/static/components/MathJax diff --git a/development/luajit/README b/development/luajit/README deleted file mode 100644 index 2abcd923af..0000000000 --- a/development/luajit/README +++ /dev/null @@ -1,2 +0,0 @@ -LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming -language. diff --git a/development/luajit/luajit.SlackBuild b/development/luajit/luajit.SlackBuild deleted file mode 100644 index 66c597078a..0000000000 --- a/development/luajit/luajit.SlackBuild +++ /dev/null @@ -1,116 +0,0 @@ -#!/bin/bash - -# Slackware build script for luajit - -# Copyright 2018 Erik Falor , Logan, Utah, 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) - -PRGNAM=luajit -VERSION=${VERSION:-2.0.5} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -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 - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf LuaJIT-$VERSION -tar zxvf $CWD/LuaJIT-$VERSION.tar.gz -cd LuaJIT-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -make \ - Q= \ - PREFIX=/usr \ - MULTILIB=lib${LIBDIRSUFFIX} \ - INSTALL_LIB=/usr/lib${LIBDIRSUFFIX} \ - INSTALL_MAN=/usr/man/man1 - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -make install \ - Q= \ - DESTDIR=$PKG \ - PREFIX=/usr \ - MULTILIB=lib${LIBDIRSUFFIX} \ - INSTALL_LIB=$PKG/usr/lib${LIBDIRSUFFIX} \ - INSTALL_MAN=$PKG/usr/man/man1 - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - doc/* COPYRIGHT README \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/luajit/luajit.info b/development/luajit/luajit.info deleted file mode 100644 index 949dba55fc..0000000000 --- a/development/luajit/luajit.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="luajit" -VERSION="2.0.5" -HOMEPAGE="http://luajit.org/" -DOWNLOAD="https://fossies.org/linux/misc/LuaJIT-2.0.5.tar.gz" -MD5SUM="48353202cbcacab84ee41a5a70ea0a2c" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="lua" -MAINTAINER="Erik Falor" -EMAIL="ewfalor@gmail.com" diff --git a/development/luajit/slack-desc b/development/luajit/slack-desc deleted file mode 100644 index e5b855ef18..0000000000 --- a/development/luajit/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -luajit: luajit (just-in-time compiler for Lua) -luajit: -luajit: LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming -luajit: language. -luajit: -luajit: -luajit: -luajit: -luajit: -luajit: Project Homepage: http://luajit.org/ -luajit: diff --git a/development/nodejs/README b/development/nodejs/README deleted file mode 100644 index 19aa105720..0000000000 --- a/development/nodejs/README +++ /dev/null @@ -1,8 +0,0 @@ -Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. - -Node.js uses an event-driven, non-blocking I/O model that makes it -lightweight and efficient. Node.js' package ecosystem, npm, is the -largest ecosystem of open source libraries in the world. - -NOTE: This version uses an internal OpenSSL version instead of -the one provided in Slackware package. diff --git a/development/nodejs/nodejs.SlackBuild b/development/nodejs/nodejs.SlackBuild deleted file mode 100644 index 5cddb807d7..0000000000 --- a/development/nodejs/nodejs.SlackBuild +++ /dev/null @@ -1,119 +0,0 @@ -#!/bin/bash - -# Slackware build script for nodejs -# Thanks to Audrius Kažukauskas - -# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org -# Willy Sudiarto Raharjo - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version, with the following exception: -# the text of the GPL license may be omitted. - -# This program is distributed in the hope that it will be useful, but -# without any warranty; without even the implied warranty of -# merchantability or fitness for a particular purpose. Compiling, -# interpreting, executing or merely reading the text of the program -# may result in lapses of consciousness and/or very being, up to and -# including the end of all existence and the Universe as we know it. -# See the GNU General Public License for more details. - -# You may have received a copy of the GNU General Public License -# along with this program (most likely, a file named COPYING). If -# not, see . - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=nodejs -SRCNAM=node -VERSION=${VERSION:-20.17.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -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 - -set -eu - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-v$VERSION -tar xvf $CWD/$SRCNAM-v$VERSION.tar.gz -cd $SRCNAM-v$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -## Fix man page path. -sed -i 's|share/||' tools/install.py - -## Fix libdir for 64-bit. -sed -i "s|lib/|lib${LIBDIRSUFFIX}/|g" tools/install.py -sed -i "s/'lib'/'lib${LIBDIRSUFFIX}'/" \ - lib/module.js \ - lib/internal/modules/cjs/loader.js \ - deps/npm/lib/npm.js - -sed -i "s|math.h|cmath|" src/node_crypto.cc -./configure \ - --prefix=/usr \ - --shared-zlib \ - --shared-openssl \ - --ninja - -make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" -make install DESTDIR=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -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 - -## Add bash completion file for npm. -install -D -m 644 $CWD/npm.sh $PKG/usr/share/bash-completion/completions/npm - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/nodejs/nodejs.info b/development/nodejs/nodejs.info deleted file mode 100644 index e917616cab..0000000000 --- a/development/nodejs/nodejs.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="nodejs" -VERSION="20.17.0" -HOMEPAGE="https://nodejs.org/" -DOWNLOAD="https://nodejs.org/dist/v20.17.0/node-v20.17.0.tar.gz" -MD5SUM="7a1c39b0cdac9443319eb6d69ed855d4" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" diff --git a/development/nodejs/npm.sh b/development/nodejs/npm.sh deleted file mode 100644 index 25bef2c17b..0000000000 --- a/development/nodejs/npm.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/bash -###-begin-npm-completion-### -# -# npm command completion script -# -# Installation: npm completion >> ~/.bashrc (or ~/.zshrc) -# Or, maybe: npm completion > /usr/local/etc/bash_completion.d/npm -# - -if type complete &>/dev/null; then - _npm_completion () { - local words cword - if type _get_comp_words_by_ref &>/dev/null; then - _get_comp_words_by_ref -n = -n @ -w words -i cword - else - cword="$COMP_CWORD" - words=("${COMP_WORDS[@]}") - fi - - local si="$IFS" - IFS=$'\n' COMPREPLY=($(COMP_CWORD="$cword" \ - COMP_LINE="$COMP_LINE" \ - COMP_POINT="$COMP_POINT" \ - npm completion -- "${words[@]}" \ - 2>/dev/null)) || return $? - IFS="$si" - } - complete -o default -F _npm_completion npm -elif type compdef &>/dev/null; then - _npm_completion() { - local si=$IFS - compadd -- $(COMP_CWORD=$((CURRENT-1)) \ - COMP_LINE=$BUFFER \ - COMP_POINT=0 \ - npm completion -- "${words[@]}" \ - 2>/dev/null) - IFS=$si - } - compdef _npm_completion npm -elif type compctl &>/dev/null; then - _npm_completion () { - local cword line point words si - read -Ac words - read -cn cword - let cword-=1 - read -l line - read -ln point - si="$IFS" - IFS=$'\n' reply=($(COMP_CWORD="$cword" \ - COMP_LINE="$line" \ - COMP_POINT="$point" \ - npm completion -- "${words[@]}" \ - 2>/dev/null)) || return $? - IFS="$si" - } - compctl -K _npm_completion npm -fi -###-end-npm-completion-### diff --git a/development/nodejs/slack-desc b/development/nodejs/slack-desc deleted file mode 100644 index bb10691042..0000000000 --- a/development/nodejs/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -nodejs: nodejs (JavaScript runtime) -nodejs: -nodejs: Node.js is a JavaScript runtime built on Chrome's V8 JavaScript -nodejs: engine. -nodejs: -nodejs: https://nodejs.org/ -nodejs: -nodejs: -nodejs: -nodejs: -nodejs: diff --git a/development/oneTBB/includes.patch b/development/oneTBB/includes.patch new file mode 100644 index 0000000000..4e83198618 --- /dev/null +++ b/development/oneTBB/includes.patch @@ -0,0 +1,10 @@ +--- oneTBB-2021.6.0.orig/test/common/utils_assert.h 2023-07-24 20:21:49.362670251 +0900 ++++ oneTBB-2021.6.0/test/common/utils_assert.h 2023-07-24 20:22:27.350547548 +0900 +@@ -19,6 +19,7 @@ + + #include "config.h" + #include "utils_report.h" ++#include + + #define REPORT_FATAL_ERROR REPORT + diff --git a/development/oneTBB/oneTBB.SlackBuild b/development/oneTBB/oneTBB.SlackBuild index f74fb0ca6c..6288ed11c3 100644 --- a/development/oneTBB/oneTBB.SlackBuild +++ b/development/oneTBB/oneTBB.SlackBuild @@ -77,6 +77,10 @@ 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 {} \; +# Missing include +patch -p1 < $CWD/includes.patch +# Remove unused variables (upstream 17b7834, 274f68e) +patch -p1 < $CWD/unused.patch # enable Python if [ "${PYTHON:-no}" == "yes" ];then @@ -85,6 +89,8 @@ fi mkdir -p build cd build +CC=/usr/bin/clang \ +CXX=/usr/bin/clang++ \ cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ diff --git a/development/oneTBB/unused.patch b/development/oneTBB/unused.patch new file mode 100644 index 0000000000..92ab7dd1be --- /dev/null +++ b/development/oneTBB/unused.patch @@ -0,0 +1,39 @@ +--- oneTBB-2021.6.0.orig/test/conformance/conformance_flowgraph.h 2023-12-17 14:34:12.234366082 +0900 ++++ oneTBB-2021.6.0/test/conformance/conformance_flowgraph.h 2023-12-17 15:27:02.512416476 +0900 +@@ -79,8 +79,9 @@ + template + typename std::enable_if::value, std::vector>::type get_values( test_push_receiver& rr ) { + std::vector messages; +- int val = 0; +- for(V tmp(0); rr.try_get(tmp); ++val) { ++ V tmp(0); ++ ++ while (rr.try_get(tmp)) { + messages.push_back(tmp); + } + return messages; +@@ -89,8 +90,9 @@ + template + typename std::enable_if::value, std::vector>::type get_values( test_push_receiver& rr ) { + std::vector messages; +- int val = 0; +- for(V tmp; rr.try_get(tmp); ++val) { ++ V tmp; ++ ++ while (rr.try_get(tmp)) { + messages.push_back(tmp); + } + return messages; +--- oneTBB-2021.6.0.orig/test/conformance/conformance_join_node.cpp 2023-12-17 14:34:12.235366077 +0900 ++++ oneTBB-2021.6.0/test/conformance/conformance_join_node.cpp 2023-12-17 15:45:20.864114506 +0900 +@@ -28,8 +28,8 @@ + + std::vector get_values( conformance::test_push_receiver& rr ) { + std::vector messages; +- int val = 0; +- for(my_input_tuple tmp(0, 0.f, input_msg(0)); rr.try_get(tmp); ++val) { ++ my_input_tuple tmp(0, 0.f, input_msg(0)); ++ while(rr.try_get(tmp)) { + messages.push_back(tmp); + } + return messages; diff --git a/development/pahole/README b/development/pahole/README deleted file mode 100644 index 364ff6ed67..0000000000 --- a/development/pahole/README +++ /dev/null @@ -1,2 +0,0 @@ -pahole shows data structure layouts encoded in debugging information -formats, DWARF and CTF being supported. diff --git a/development/pahole/pahole.SlackBuild b/development/pahole/pahole.SlackBuild deleted file mode 100644 index f58be6e493..0000000000 --- a/development/pahole/pahole.SlackBuild +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/bash - -# Slackware build script for pahole - -# Copyright 2019-2023 xaizek -# 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) - -PRGNAM=pahole -VERSION=${VERSION:-1.27} -LIBBPF_VER="${LIBBPF_VER:-6597330c45d185381900037f0130712cd326ae59}" -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -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 - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -rm -rf libbpf-$LIBBPF_VER -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z -tar xvf $CWD/libbpf-$LIBBPF_VER.tar.?z -rmdir $PRGNAM-$VERSION/lib/bpf -mv libbpf-$LIBBPF_VER $PRGNAM-$VERSION/lib/bpf -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# -DDW_LANG_Haskell is a workaround for macro rename in /usr/include/dwarf.h -mkdir -p build -cd build - cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -DDW_LANG_Haskell=DW_LANG_Haskel" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -D__LIB="lib${LIBDIRSUFFIX}" \ - -DCMAKE_BUILD_TYPE=Release .. - make - make install DESTDIR=$PKG -cd .. - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mv $PKG/usr/share/man $PKG/usr/man - -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 - -# README.ctracer seems to be the only useful README -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - COPYING NEWS README.ctracer \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/pahole/pahole.info b/development/pahole/pahole.info deleted file mode 100644 index 3778e5a089..0000000000 --- a/development/pahole/pahole.info +++ /dev/null @@ -1,12 +0,0 @@ -PRGNAM="pahole" -VERSION="1.27" -HOMEPAGE="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/" -DOWNLOAD="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-1.27.tar.gz \ - https://github.com/libbpf/libbpf/archive/6597330c45d185381900037f0130712cd326ae59/libbpf-6597330c45d185381900037f0130712cd326ae59.tar.gz" -MD5SUM="609e3ea50e86e6a31b7c2569ae8ef80d \ - 85b09e49a18f70056886ab13487231fb" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="xaizek" -EMAIL="xaizek@posteo.net" diff --git a/development/pahole/slack-desc b/development/pahole/slack-desc deleted file mode 100644 index 26f5300a20..0000000000 --- a/development/pahole/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -pahole: pahole (shows and manipulates program's data structure layout) -pahole: -pahole: pahole shows data structure layouts encoded in debugging information -pahole: formats, DWARF and CTF being supported. -pahole: -pahole: This is useful for, among other things: optimizing important data -pahole: structures by reducing their size, figuring out what is the field -pahole: sitting at an offset from the start of a data structure, investigating -pahole: ABI changes and more generally understanding a new codebase you have -pahole: to work with. -pahole: diff --git a/development/protobuf3/README b/development/protobuf3/README deleted file mode 100644 index c0fe34acc0..0000000000 --- a/development/protobuf3/README +++ /dev/null @@ -1,27 +0,0 @@ -protobuf3 (Google's data interchange format) - -Protocol buffers are a flexible, efficient, automated mechanism for -serializing structured data. - -This package contains protobuf API version 3. -It support the following language implementations: -* C++ -* Java -* Python -* Objective-C -* C# -* JavaNano -* JavaScript -* Ruby -* Go -* PHP (Alpha) - -The complete documentation for Protocol Buffers is available at: -https://developers.google.com/protocol-buffers/ - -Notes: -* The protobuf build (API version 2) has been removed from - SlackBuilds.org, because nothing uses it any longer and it - conflicted with this build. -* Protobuf3 enforces strict UTF-8 checking. - Parsing will fail if a string field contains non UTF-8 data. diff --git a/development/protobuf3/protobuf3.SlackBuild b/development/protobuf3/protobuf3.SlackBuild deleted file mode 100644 index e73781dc4d..0000000000 --- a/development/protobuf3/protobuf3.SlackBuild +++ /dev/null @@ -1,123 +0,0 @@ -#!/bin/bash - -# Slackware build script for protobuf3 - -# Copyright 2017-2024 Willy Sudiarto Raharjo -# 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) - -PRGNAM=protobuf3 -VERSION=${VERSION:-28.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -GTEST=googletest-release -GTESTVERSION=${GTESTVERSION:-1.8.1} - -SRCNAM=protobuf - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -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 - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -patch -p1 < $CWD/soversion.patch - -mkdir -p build -cd build - cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -Dprotobuf_BUILD_TESTS=OFF \ - -Dprotobuf_ABSL_PROVIDER=package \ - -Dprotobuf_BUILD_SHARED_LIBS=ON \ - -DCMAKE_BUILD_TYPE=Release .. - make - make install/strip DESTDIR=$PKG -cd .. - -# Install the python bindings: -tar xvf $CWD/$SRCNAM-5.$VERSION.tar.gz -cd $SRCNAM-5.$VERSION -LDFLAGS+=" -L$TMP/$SRCNAM-$VERSION/build" \ -PROTOC="$TMP/$SRCNAM-$VERSION/build/protoc" \ -python3 -m build --wheel --no-isolation -python3 -m installer --destdir "$PKG" dist/*.whl -cd .. - -rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.txt LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/protobuf3/protobuf3.info b/development/protobuf3/protobuf3.info deleted file mode 100644 index d041194a5c..0000000000 --- a/development/protobuf3/protobuf3.info +++ /dev/null @@ -1,12 +0,0 @@ -PRGNAM="protobuf3" -VERSION="28.2" -HOMEPAGE="https://github.com/google/protobuf" -DOWNLOAD="https://github.com/google/protobuf/archive/v28.2/protobuf-28.2.tar.gz \ -https://files.pythonhosted.org/packages/b1/a4/4579a61de526e19005ceeb93e478b61d77aa38c8a85ad958ff16a9906549/protobuf-5.28.2.tar.gz" -MD5SUM="4a8c2b53ccec984e6d9fb62a4fc82425 \ -6125fb2d92df0e4db192c869424b8bac" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="abseil-cpp python3-build python3-wheel" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" diff --git a/development/protobuf3/slack-desc b/development/protobuf3/slack-desc deleted file mode 100644 index 440a1c6d9a..0000000000 --- a/development/protobuf3/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -protobuf3: protobuf3 (Google's data interchange format) -protobuf3: -protobuf3: Protocol Buffers are Google's language-neutral, platform-neutral, -protobuf3: extensible mechanism for serializing structured data. -protobuf3: -protobuf3: This package contains protobuf API version 3. -protobuf3: -protobuf3: -protobuf3: Project URL: https://github.com/google/protobuf -protobuf3: -protobuf3: diff --git a/development/protobuf3/soversion.patch b/development/protobuf3/soversion.patch deleted file mode 100644 index 7e1b42de12..0000000000 --- a/development/protobuf3/soversion.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff --git a/cmake/libprotobuf-lite.cmake b/cmake/libprotobuf-lite.cmake -index 9b1de677b4f..276c99c489e 100644 ---- a/cmake/libprotobuf-lite.cmake -+++ b/cmake/libprotobuf-lite.cmake -@@ -30,6 +30,7 @@ if(protobuf_BUILD_SHARED_LIBS) - endif() - set_target_properties(libprotobuf-lite PROPERTIES - VERSION ${protobuf_VERSION} -+ SOVERSION ${protobuf_VERSION_MINOR} - OUTPUT_NAME ${LIB_PREFIX}protobuf-lite - DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}") - add_library(protobuf::libprotobuf-lite ALIAS libprotobuf-lite) -diff --git a/cmake/libprotobuf.cmake b/cmake/libprotobuf.cmake -index aa3efc9a68a..0f34d20b97d 100644 ---- a/cmake/libprotobuf.cmake -+++ b/cmake/libprotobuf.cmake -@@ -33,6 +33,7 @@ if(protobuf_BUILD_SHARED_LIBS) - endif() - set_target_properties(libprotobuf PROPERTIES - VERSION ${protobuf_VERSION} -+ SOVERSION ${protobuf_VERSION_MINOR} - OUTPUT_NAME ${LIB_PREFIX}protobuf - DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}") - add_library(protobuf::libprotobuf ALIAS libprotobuf) -diff --git a/cmake/libprotoc.cmake b/cmake/libprotoc.cmake -index 72b4a1abb92..91e8bbeb04e 100644 ---- a/cmake/libprotoc.cmake -+++ b/cmake/libprotoc.cmake -@@ -24,6 +24,7 @@ endif() - set_target_properties(libprotoc PROPERTIES - COMPILE_DEFINITIONS LIBPROTOC_EXPORTS - VERSION ${protobuf_VERSION} -+ SOVERSION ${protobuf_VERSION_MINOR} - OUTPUT_NAME ${LIB_PREFIX}protoc - DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}") - add_library(protobuf::libprotoc ALIAS libprotoc) diff --git a/development/rust16/README b/development/rust16/README deleted file mode 100644 index 97cfbe0b15..0000000000 --- a/development/rust16/README +++ /dev/null @@ -1,21 +0,0 @@ -rust16 installs a limited set of Rust stable binaries to /opt/rust16. -This is to allow Rust-based SlackBuilds to build more recent versions -than would be possible with system Rust. - -To use the rust16 binaries in a SlackBuild, make the following export -statements: - -export PATH="/opt/rust16/bin:$PATH" -if [ -z "$LD_LIBRARY_PATH" ]; then - export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX" -else - export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH" -fi - -If your SlackBuild experiences build failures on 64-bit systems, please -ensure that the LIBDIRSUFFIX variable is set. - -rust16 is not intended as a substitute for rustup or for the Slackware -Rust package in terms of Rust development purposes. - -Separate downloads are available for i686 and x86_64. diff --git a/development/rust16/rust16.SlackBuild b/development/rust16/rust16.SlackBuild deleted file mode 100644 index bf7e04f9c6..0000000000 --- a/development/rust16/rust16.SlackBuild +++ /dev/null @@ -1,142 +0,0 @@ -#!/bin/bash - -# Slackware build script for rust16 - -# Copyright 2023-2024 K. Eugene Carlson Tsukuba, Japan -# 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) - -PRGNAM=rust16 -SRCNAM=rust -VERSION=${VERSION:-1.79.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac - - if [ "$ARCH" = "i586" ]; then - if rustc -Vv | grep host | grep -q i686; then - ARCH=i686 - fi - fi -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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - LIBDIRSUFFIX="64" -else - LIBDIRSUFFIX="" -fi - -if [ "$ARCH" = "arm" ]; then - TRIPLET="$ARCH-unknown-linux-gnueabihf" -else - TRIPLET="$ARCH-unknown-linux-gnu" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION-$TRIPLET -tar xvf $CWD/$SRCNAM-$VERSION-$TRIPLET.tar.gz -cd $SRCNAM-$VERSION-$TRIPLET -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -./install.sh \ - --destdir=$PKG \ - --prefix="opt/rust16" \ - --disable-ldconfig \ - --without=rust-docs-json-preview,\ -rust-docs,\ -clippy-preview,\ -rls-preview,\ -llvm-tools-preview,\ -llvm-bitcode-linker-preview,\ -rust-analysis-$TRIPLET,\ -rust-analyzer-preview,\ -rust-demangler-preview,\ -rustfmt-preview - -find $PKG/opt/$PRGNAM/lib -type f -name "*.so" -exec chmod +x {} \; 2> /dev/null || true -find $PKG/opt/$PRGNAM/lib -type f -name "*.so*stable" -exec chmod +x {} \; 2> /dev/null || true -# Stripping the libraries causes memory faults on Slackware64-15.0. -if [ $ARCH = "x86_64" ]; then - find $PKG -print0 | xargs -0 file | grep "executable" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -else - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -fi - -rm -f $PKG/opt/$PRGNAM/lib/rustlib/uninstall.sh -rm -f $PKG/opt/$PRGNAM/lib/rustlib/install.log -rm -f $PKG/opt/$PRGNAM/lib/rustlib/manifest-* -rm -f $PKG/opt/$PRGNAM/lib/rustlib/rust-installer-version -rm -f $PKG/opt/$PRGNAM/lib/rustlib/components - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - $PKG/opt/$PRGNAM/share/doc/* \ - COPYRIGHT LICENSE-APACHE LICENSE-MIT \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.sw - -# Nothing in share is needed at this point. -rm -rf $PKG/opt/$PRGNAM/share -# Don't need bash completions. -rm -rf $PKG/opt/$PRGNAM/etc -# Appropriate directory name for the lib dir. -[ -n "$LIBDIRSUFFIX" ] && mv $PKG/opt/$PRGNAM/lib $PKG/opt/$PRGNAM/lib$LIBDIRSUFFIX - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/rust16/rust16.info b/development/rust16/rust16.info deleted file mode 100644 index 43d765fe6f..0000000000 --- a/development/rust16/rust16.info +++ /dev/null @@ -1,12 +0,0 @@ -PRGNAM="rust16" -VERSION="1.79.0" -HOMEPAGE="https://rust-lang.org" -DOWNLOAD="https://static.rust-lang.org/dist/2024-06-13/rust-1.79.0-i686-unknown-linux-gnu.tar.gz \ - https://static.rust-lang.org/dist/2024-06-13/rust-1.79.0-arm-unknown-linux-gnueabihf.tar.gz" -MD5SUM="14d04dfa5b8db0e4c60b3ca510413154 \ - b935f3d193c8618d9bfe3ab97ad99d4e" -DOWNLOAD_x86_64="https://static.rust-lang.org/dist/2024-06-13/rust-1.79.0-x86_64-unknown-linux-gnu.tar.gz" -MD5SUM_x86_64="6f2d7072b8bcd817f9effa0c504e31e9" -REQUIRES="" -MAINTAINER="K. Eugene Carlson" -EMAIL="kvngncrlsn@gmail.com" diff --git a/development/rust16/slack-desc b/development/rust16/slack-desc deleted file mode 100644 index 59a492264e..0000000000 --- a/development/rust16/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -rust16: rust16 (Rust: a safe, concurrent, practical language) -rust16: -rust16: rust16 installs a limited set of up-to-date Rust stable binaries to -rust16: /opt/rust16 for use in SlackBuilds. -rust16: -rust16: -rust16: -rust16: -rust16: -rust16: -rust16: Homepage: https://rust-lang.org diff --git a/development/splint/splint.SlackBuild b/development/splint/splint.SlackBuild index e7cf5025a8..1f0b956521 100644 --- a/development/splint/splint.SlackBuild +++ b/development/splint/splint.SlackBuild @@ -67,10 +67,7 @@ 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 {} \; -automake --add-missing || true -autoreconf || true -automake --add-missing -autoreconf +autoreconf -vif CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/development/systemtap/int.patch b/development/systemtap/int.patch deleted file mode 100644 index b412a51894..0000000000 --- a/development/systemtap/int.patch +++ /dev/null @@ -1,48 +0,0 @@ -Lockywolf - -diff -Naur systemtap-4.5.orig/staprun/monitor.c systemtap-4.5/staprun/monitor.c ---- systemtap-4.5.orig/staprun/monitor.c 2021-05-07 21:20:39.000000000 +0200 -+++ systemtap-4.5/staprun/monitor.c 2021-10-15 11:57:04.770964000 +0200 -@@ -448,12 +448,12 @@ - if (active_window == 0) - wattron(status, A_BOLD); - wprintw(status, "\n%*s\t%*s\t%*s\t%*s\t%*s\t%*s\t%s\n", -- width[p_index], HIGHLIGHT("index", p_index, comp_fn_index), -- width[p_state], HIGHLIGHT("state", p_state, comp_fn_index), -- width[p_hits], HIGHLIGHT("hits", p_hits, comp_fn_index), -- width[p_min], HIGHLIGHT("min", p_min, comp_fn_index), -- width[p_avg], HIGHLIGHT("avg", p_avg, comp_fn_index), -- width[p_max], HIGHLIGHT("max", p_max, comp_fn_index), -+ (int)width[p_index], HIGHLIGHT("index", p_index, comp_fn_index), -+ (int)width[p_state], HIGHLIGHT("state", p_state, comp_fn_index), -+ (int)width[p_hits], HIGHLIGHT("hits", p_hits, comp_fn_index), -+ (int)width[p_min], HIGHLIGHT("min", p_min, comp_fn_index), -+ (int)width[p_avg], HIGHLIGHT("avg", p_avg, comp_fn_index), -+ (int)width[p_max], HIGHLIGHT("max", p_max, comp_fn_index), - HIGHLIGHT("name", p_name, comp_fn_index)); - if (active_window == 0) - wattroff(status, A_BOLD); -@@ -466,17 +466,17 @@ - json_object *probe, *field; - probe = json_object_array_get_idx(jso_probe_list, i); - json_object_object_get_ex(probe, "index", &field); -- wprintw(status, "%*s\t", width[p_index], json_object_get_string(field)); -+ wprintw(status, "%*s\t", (int)width[p_index], json_object_get_string(field)); - json_object_object_get_ex(probe, "state", &field); -- wprintw(status, "%*s\t", width[p_state], json_object_get_string(field)); -+ wprintw(status, "%*s\t", (int)width[p_state], json_object_get_string(field)); - json_object_object_get_ex(probe, "hits", &field); -- wprintw(status, "%*s\t", width[p_hits], json_object_get_string(field)); -+ wprintw(status, "%*s\t", (int)width[p_hits], json_object_get_string(field)); - json_object_object_get_ex(probe, "min", &field); -- wprintw(status, "%*s\t", width[p_min], json_object_get_string(field)); -+ wprintw(status, "%*s\t", (int)width[p_min], json_object_get_string(field)); - json_object_object_get_ex(probe, "avg", &field); -- wprintw(status, "%*s\t", width[p_avg], json_object_get_string(field)); -+ wprintw(status, "%*s\t", (int)width[p_avg], json_object_get_string(field)); - json_object_object_get_ex(probe, "max", &field); -- wprintw(status, "%*s\t", width[p_max], json_object_get_string(field)); -+ wprintw(status, "%*s\t", (int)width[p_max], json_object_get_string(field)); - getyx(status, discard, cur_x); - json_object_object_get_ex(probe, "name", &field); - wprintw(status, "%.*s", max_cols-cur_x-1, json_object_get_string(field)); diff --git a/development/systemtap/systemtap.SlackBuild b/development/systemtap/systemtap.SlackBuild index 62eff9de5b..8e3c6604f8 100644 --- a/development/systemtap/systemtap.SlackBuild +++ b/development/systemtap/systemtap.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=systemtap -VERSION=${VERSION:-4.5} +VERSION=${VERSION:-5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,8 +80,6 @@ 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 -p1 < $CWD/int.patch - export PYTHON=python3 CFLAGS="$SLKCFLAGS" \ diff --git a/development/systemtap/systemtap.info b/development/systemtap/systemtap.info index e8be62cd34..3d8c1c4f2d 100644 --- a/development/systemtap/systemtap.info +++ b/development/systemtap/systemtap.info @@ -1,8 +1,8 @@ PRGNAM="systemtap" -VERSION="4.5" +VERSION="5.1" HOMEPAGE="https://sourceware.org/systemtap/" -DOWNLOAD="https://sourceware.org/systemtap/ftp/releases/systemtap-4.5.tar.gz" -MD5SUM="39369e2aa08636ea6600464e9fdc5185" +DOWNLOAD="https://sourceware.org/systemtap/ftp/releases/systemtap-5.1.tar.gz" +MD5SUM="d4f8d8f2ed09031a9a284e894c95103e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/development/unittest-cpp/unittest-cpp.SlackBuild b/development/unittest-cpp/unittest-cpp.SlackBuild index 061e9fea38..223216bb2e 100644 --- a/development/unittest-cpp/unittest-cpp.SlackBuild +++ b/development/unittest-cpp/unittest-cpp.SlackBuild @@ -84,7 +84,7 @@ mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error=uninitialized" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. diff --git a/development/valgrind/README b/development/valgrind/README deleted file mode 100644 index 7e4eec3411..0000000000 --- a/development/valgrind/README +++ /dev/null @@ -1,19 +0,0 @@ -Valgrind is a framework for building dynamic analysis tools. There are -Valgrind tools that can automatically detect many memory management -and threading bugs, and profile your programs in detail. You can also -use Valgrind to build new tools. - -The Valgrind distribution currently includes six production-quality -tools: a memory error detector, two thread error detectors, a cache -and branch-prediction profiler, a call-graph generating cache and -branch-prediction profiler, and a heap profiler. It also includes -three experimental tools: a heap/stack/global array overrun detector, -a different kind of heap profiler, and a SimPoint basic block vector -generator. It runs on the following platforms: x86/Linux, AMD64/Linux, -PPC32/Linux, PPC64/Linux, ARM/Linux, x86/MacOSX and AMD64/MacOSX. - -Optional dependency: either mpich or openmpi. If one of these is -found, valgrind will include the MPI wrapper, which allows using -valgrind with software that uses the MPI message passing standard. -Note that only one of mpich or openmpi should be installed, as they -conflict with each other. diff --git a/development/valgrind/slack-desc b/development/valgrind/slack-desc deleted file mode 100644 index 5129787498..0000000000 --- a/development/valgrind/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -valgrind: valgrind (award-winning suite of tools for debugging) -valgrind: -valgrind: Valgrind is an award-winning suite of tools for debugging and -valgrind: profiling Linux programs. With the tools that come with Valgrind, -valgrind: you can automatically detect many memory management and threading -valgrind: bugs, avoiding hours of frustrating bug-hunting, making your -valgrind: programs more stable. You can also perform detailed profiling, -valgrind: to speed up and reduce memory use of your programs. -valgrind: -valgrind: -valgrind: diff --git a/development/valgrind/valgrind.SlackBuild b/development/valgrind/valgrind.SlackBuild deleted file mode 100644 index f9a8572a3e..0000000000 --- a/development/valgrind/valgrind.SlackBuild +++ /dev/null @@ -1,119 +0,0 @@ -#!/bin/bash - -# Slackware build script for valgrind -# Written by Kyle Guinn -# Updated by Peter Wang -# Maintained by Willy Sudiarto Raharjo - -# 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) - -PRGNAM=valgrind -VERSION=${VERSION:-3.23.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -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 - # The valgrind build system already passes -fpic - # and forcing -fPIC results in a build failure. - SLKCFLAGS="-O2" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -# Do NOT strip the shared objects, as recommended by the developers. -find $PKG -print0 | xargs -0 file | grep -e "executable" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -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 - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING* FAQ.txt NEWS README* \ - $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/doc/valgrind/html $PKG/usr/doc/$PRGNAM-$VERSION -# The doc directory is the only thing in $PKG/usr/share, and the only things -# left in it now are pdf and a ps doc files. They are large, so we won't keep -# them around. If you still want them, uncomment the line below. -# mv $PKG/usr/share/doc/valgrind/*.{ps,pdf} $PKG/usr/doc/$PRGNAM-$VERSION -rm -rf $PKG/usr/share -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/valgrind/valgrind.info b/development/valgrind/valgrind.info deleted file mode 100644 index af19dc32a5..0000000000 --- a/development/valgrind/valgrind.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="valgrind" -VERSION="3.23.0" -HOMEPAGE="http://www.valgrind.org/" -DOWNLOAD="http://sourceware.org/pub/valgrind/valgrind-3.23.0.tar.bz2" -MD5SUM="c59775fcbfa82fcce796843d0aaa7538" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" diff --git a/development/vc-intrinsics/vc-intrinsics.SlackBuild b/development/vc-intrinsics/vc-intrinsics.SlackBuild index ef9d2f1a1c..cb18b02a02 100644 --- a/development/vc-intrinsics/vc-intrinsics.SlackBuild +++ b/development/vc-intrinsics/vc-intrinsics.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=vc-intrinsics -VERSION=${VERSION:-0.7.1} +VERSION=${VERSION:-0.18.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/development/vc-intrinsics/vc-intrinsics.info b/development/vc-intrinsics/vc-intrinsics.info index 73886671ce..c872982f04 100644 --- a/development/vc-intrinsics/vc-intrinsics.info +++ b/development/vc-intrinsics/vc-intrinsics.info @@ -1,8 +1,8 @@ PRGNAM="vc-intrinsics" -VERSION="0.7.1" +VERSION="0.18.0" HOMEPAGE="https://github.com/intel/vc-intrinsics" -DOWNLOAD="https://github.com/intel/vc-intrinsics/archive/v0.7.1/vc-intrinsics-0.7.1.tar.gz" -MD5SUM="80cb159761b289b2c33495de139c6630" +DOWNLOAD="https://github.com/intel/vc-intrinsics/archive/v0.18.0/vc-intrinsics-0.18.0.tar.gz" +MD5SUM="f75ba44799c015deeb37064039fae0cf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3