diff options
Diffstat (limited to 'libraries')
235 files changed, 2716 insertions, 1520 deletions
diff --git a/libraries/CLI11/CLI11.SlackBuild b/libraries/CLI11/CLI11.SlackBuild index dcbca39923..6835bf9685 100644 --- a/libraries/CLI11/CLI11.SlackBuild +++ b/libraries/CLI11/CLI11.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=CLI11 -VERSION=${VERSION:-2.4.1} +VERSION=${VERSION:-2.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/CLI11/CLI11.info b/libraries/CLI11/CLI11.info index 2fe228f05b..55590fd232 100644 --- a/libraries/CLI11/CLI11.info +++ b/libraries/CLI11/CLI11.info @@ -1,8 +1,8 @@ PRGNAM="CLI11" -VERSION="2.4.1" +VERSION="2.4.2" HOMEPAGE="https://cliutils.github.io/CLI11/book/" -DOWNLOAD="https://github.com/CLIUtils/CLI11/archive/v2.4.1/CLI11-2.4.1.tar.gz" -MD5SUM="d88b829bb557951e2b784baa2a0a2655" +DOWNLOAD="https://github.com/CLIUtils/CLI11/archive/v2.4.2/CLI11-2.4.2.tar.gz" +MD5SUM="f9c0acb8c483a524e9dd275955227254" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/LucenePlusPlus/76dc90f2b65d81be018c499714ff11e121ba5585.patch b/libraries/LucenePlusPlus/76dc90f2b65d81be018c499714ff11e121ba5585.patch new file mode 100644 index 0000000000..05babf97a0 --- /dev/null +++ b/libraries/LucenePlusPlus/76dc90f2b65d81be018c499714ff11e121ba5585.patch @@ -0,0 +1,64 @@ +From c18ead2b0c4aa62af01450cb12353a0baa51411f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= <bero@lindev.ch> +Date: Wed, 27 Mar 2024 12:00:18 +0100 +Subject: [PATCH] Fix build with boost 1.85.0 + +boost::filesystem::wpath has been deprecated (and typedef-ed to +boost::filesystem::path) for a long time; it is removed from boost +starting with 1.85.0-beta1. + +Use boost::filesystem::path instead. + +boost/filesystem/convenience.hpp has been removed (and was being +included without being used anyway - its only use was indirectly +pulling in boost/filesystem/directory.hpp, which is actually used). + +Include boost/filesystem/directory.hpp directly instead. +--- + src/core/store/MMapDirectory.cpp | 2 +- + src/core/util/FileUtils.cpp | 6 +++--- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/core/store/MMapDirectory.cpp b/src/core/store/MMapDirectory.cpp +index beac7828..46156e3a 100644 +--- a/src/core/store/MMapDirectory.cpp ++++ b/src/core/store/MMapDirectory.cpp +@@ -36,7 +36,7 @@ MMapIndexInput::MMapIndexInput(const String& path) { + bufferPosition = 0; + if (!path.empty()) { + try { +- file.open(boost::filesystem::wpath(path), _length); ++ file.open(boost::filesystem::path(path), _length); + } catch (...) { + boost::throw_exception(FileNotFoundException(path)); + } +diff --git a/src/core/util/FileUtils.cpp b/src/core/util/FileUtils.cpp +index 51508b57..d92efbb8 100644 +--- a/src/core/util/FileUtils.cpp ++++ b/src/core/util/FileUtils.cpp +@@ -5,9 +5,9 @@ + ///////////////////////////////////////////////////////////////////////////// + + #include "LuceneInc.h" +-#include <boost/filesystem/convenience.hpp> + #include <boost/filesystem/operations.hpp> + #include <boost/filesystem/path.hpp> ++#include <boost/filesystem/directory.hpp> + #include "LuceneThread.h" + #include "StringUtils.h" + #include "FileUtils.h" +@@ -128,12 +128,12 @@ String joinPath(const String& path, const String& file) { + } + + String extractPath(const String& path) { +- boost::filesystem::wpath parentPath(path.c_str()); ++ boost::filesystem::path parentPath(path.c_str()); + return parentPath.parent_path().wstring().c_str(); + } + + String extractFile(const String& path) { +- boost::filesystem::wpath fileName(path.c_str()); ++ boost::filesystem::path fileName(path.c_str()); + return fileName.filename().wstring().c_str(); + } + diff --git a/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild b/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild index aca1525316..338cd26ea9 100644 --- a/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild +++ b/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=LucenePlusPlus -VERSION=${VERSION:-3.0.8} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.0.9} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,8 +76,8 @@ 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/soname.patch - +patch -p1 < $CWD/a460863810b3a6a473780686e5d3fd70bf4378ba.patch +patch -p1 < $CWD/76dc90f2b65d81be018c499714ff11e121ba5585.patch mkdir -p build cd build cmake \ diff --git a/libraries/LucenePlusPlus/LucenePlusPlus.info b/libraries/LucenePlusPlus/LucenePlusPlus.info index 8b970e5e38..b9da9031e4 100644 --- a/libraries/LucenePlusPlus/LucenePlusPlus.info +++ b/libraries/LucenePlusPlus/LucenePlusPlus.info @@ -1,8 +1,8 @@ PRGNAM="LucenePlusPlus" -VERSION="3.0.8" +VERSION="3.0.9" HOMEPAGE="https://github.com/luceneplusplus/LucenePlusPlus" -DOWNLOAD="https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_3.0.8.tar.gz" -MD5SUM="cb9b2e7cb37b7dd68c1e24a65c6eda9d" +DOWNLOAD="https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_3.0.9/LucenePlusPlus-rel_3.0.9.tar.gz" +MD5SUM="33da6751de47523e22e7a1beebd78c29" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/LucenePlusPlus/a460863810b3a6a473780686e5d3fd70bf4378ba.patch b/libraries/LucenePlusPlus/a460863810b3a6a473780686e5d3fd70bf4378ba.patch new file mode 100644 index 0000000000..1c9d5681e4 --- /dev/null +++ b/libraries/LucenePlusPlus/a460863810b3a6a473780686e5d3fd70bf4378ba.patch @@ -0,0 +1,22 @@ +From f40f59c6e169b4e16b7a6439ecb26a629c6540d1 Mon Sep 17 00:00:00 2001 +From: Sergey Fedorov <vital.had@gmail.com> +Date: Thu, 14 Mar 2024 20:37:34 +0800 +Subject: [PATCH] Fix install path for liblucene++.pc + +--- + src/config/core/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/config/core/CMakeLists.txt b/src/config/core/CMakeLists.txt +index e5691f54..69cfefcc 100644 +--- a/src/config/core/CMakeLists.txt ++++ b/src/config/core/CMakeLists.txt +@@ -9,7 +9,7 @@ if(NOT WIN32) + install( + FILES + "${CMAKE_CURRENT_BINARY_DIR}/liblucene++.pc" +- DESTINATION "${LIB_DESTINATION}/pkgconfig") ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) + endif() + + diff --git a/libraries/LucenePlusPlus/soname.patch b/libraries/LucenePlusPlus/soname.patch deleted file mode 100644 index d8ddf04955..0000000000 --- a/libraries/LucenePlusPlus/soname.patch +++ /dev/null @@ -1,219 +0,0 @@ -commit 1cd2509ed74ae47965006d16de3c09db029b4efe -Author: Gianfranco Costamagna <costamagnagianfranco@yahoo.it> -Date: Mon Jan 4 23:45:13 2021 +0100 - - Fix various cmake issues: - "CMAKE_INSTALL_FULL_LIBDIR" not being correctly evaluated and used - pkgconfig directory wrongly set to include instead of lib - cmake directory wrongly set to include instead of lib - core_libname contrib_libname PACKAGE_CMAKE_INSTALL_INCLUDEDIR PACKAGE_CMAKE_INSTALL_LIBDIR variables not being substituted to cmake.in files - cmake helpers not being correctly set - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 41de688..71dbbd5 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -21,7 +21,7 @@ if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE) - endif() - - set(LIB_DESTINATION -- "${CMAKE_INSTALL_FULL_LIBDIR}" CACHE STRING "Define lib output directory name") -+ "${CMAKE_INSTALL_LIBDIR}" CACHE STRING "Define lib output directory name") - - - #################################### -diff --git a/src/config/CMakeLists.txt b/src/config/CMakeLists.txt -index e5e6624..fe8e8b8 100644 ---- a/src/config/CMakeLists.txt -+++ b/src/config/CMakeLists.txt -@@ -1,16 +1,16 @@ - #################################### - # Set config vars - #################################### --set(core_libname, "lucene++") --set(contrib_libname, "lucene++-contrib") -+set(core_libname "lucene++") -+set(contrib_libname "lucene++-contrib") - - set( -- PACKAGE_CMAKE_INSTALL_INCLUDEDIR, -- "${lucene++_INCLUDE_DIR}/lucene++/") -+ PACKAGE_CMAKE_INSTALL_INCLUDEDIR -+ "${CMAKE_INSTALL_INCLUDEDIR}/lucene++/") - - set( -- PACKAGE_CMAKE_INSTALL_LIBDIR, -- "${LIB_INSTALL_DIR}/cmake") -+ PACKAGE_CMAKE_INSTALL_LIBDIR -+ "${LIB_DESTINATION}") - - - #################################### -diff --git a/src/config/contrib/CMakeLists.txt b/src/config/contrib/CMakeLists.txt -index c0dd86f..b4a4391 100644 ---- a/src/config/contrib/CMakeLists.txt -+++ b/src/config/contrib/CMakeLists.txt -@@ -9,7 +9,7 @@ if(NOT WIN32) - install( - FILES - "${CMAKE_CURRENT_BINARY_DIR}/liblucene++-contrib.pc" -- DESTINATION "include/pkgconfig") -+ DESTINATION "${LIB_DESTINATION}/pkgconfig") - endif() - - -@@ -19,7 +19,8 @@ endif() - configure_package_config_file( - "${CMAKE_CURRENT_SOURCE_DIR}/liblucene++-contribConfig.cmake.in" - "${CMAKE_CURRENT_BINARY_DIR}/liblucene++-contribConfig.cmake" -- INSTALL_DESTINATION "${LIB_DESTINATION}/cmake") -+ INSTALL_DESTINATION "${LIB_DESTINATION}/cmake/liblucene++-contrib" -+ PATH_VARS contrib_libname PACKAGE_CMAKE_INSTALL_INCLUDEDIR PACKAGE_CMAKE_INSTALL_LIBDIR) - - write_basic_package_version_file( - "${CMAKE_CURRENT_BINARY_DIR}/liblucene++-contribConfigVersion.cmake" -@@ -30,4 +31,4 @@ install( - FILES - "${CMAKE_CURRENT_BINARY_DIR}/liblucene++-contribConfig.cmake" - "${CMAKE_CURRENT_BINARY_DIR}/liblucene++-contribConfigVersion.cmake" -- DESTINATION "include/cmake") -+ DESTINATION "${LIB_DESTINATION}/cmake/liblucene++-contrib") -diff --git a/src/config/contrib/liblucene++-contribConfig.cmake.in b/src/config/contrib/liblucene++-contribConfig.cmake.in -index f92f683..85fdfd2 100644 ---- a/src/config/contrib/liblucene++-contribConfig.cmake.in -+++ b/src/config/contrib/liblucene++-contribConfig.cmake.in -@@ -20,6 +20,6 @@ if (NOT DEFINED set_and_check) - endif() - - --set_and_check(liblucene++-contrib_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@/@contrib_libname@") --set_and_check(liblucene++-contrib_LIBRARY_DIRS "@PACKAGE_CMAKE_INSTALL_LIBDIR@") --set(liblucene++-contrib_LIBRARIES "@PACKAGE_CMAKE_INSTALL_LIBDIR@/@contrib_libname@") -+set_and_check(liblucene++-contrib_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@") -+set_and_check(liblucene++-contrib_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/@PACKAGE_CMAKE_INSTALL_LIBDIR@") -+set(liblucene++-contrib_LIBRARIES "@contrib_libname@") -diff --git a/src/config/core/CMakeLists.txt b/src/config/core/CMakeLists.txt -index a3eb17a..65376f5 100644 ---- a/src/config/core/CMakeLists.txt -+++ b/src/config/core/CMakeLists.txt -@@ -9,7 +9,7 @@ if(NOT WIN32) - install( - FILES - "${CMAKE_CURRENT_BINARY_DIR}/liblucene++.pc" -- DESTINATION "include/pkgconfig") -+ DESTINATION "${LIB_DESTINATION}/pkgconfig") - endif() - - -@@ -19,7 +19,8 @@ endif() - configure_package_config_file( - "${CMAKE_CURRENT_SOURCE_DIR}/liblucene++Config.cmake.in" - "${CMAKE_CURRENT_BINARY_DIR}/liblucene++Config.cmake" -- INSTALL_DESTINATION "${LIB_DESTINATION}/cmake") -+ INSTALL_DESTINATION "${LIB_DESTINATION}/cmake/liblucene++" -+ PATH_VARS core_libname PACKAGE_CMAKE_INSTALL_INCLUDEDIR PACKAGE_CMAKE_INSTALL_LIBDIR) - - write_basic_package_version_file( - ${CMAKE_CURRENT_BINARY_DIR}/liblucene++ConfigVersion.cmake -@@ -30,4 +31,4 @@ install( - FILES - "${CMAKE_CURRENT_BINARY_DIR}/liblucene++Config.cmake" - "${CMAKE_CURRENT_BINARY_DIR}/liblucene++ConfigVersion.cmake" -- DESTINATION "include/cmake") -+ DESTINATION "${LIB_DESTINATION}/cmake/liblucene++") -diff --git a/src/config/core/liblucene++Config.cmake.in b/src/config/core/liblucene++Config.cmake.in -index 89b48a3..574f812 100644 ---- a/src/config/core/liblucene++Config.cmake.in -+++ b/src/config/core/liblucene++Config.cmake.in -@@ -20,8 +20,8 @@ if (NOT DEFINED set_and_check) - endif() - - --set_and_check(liblucene++_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@/@core_libname@") --set_and_check(liblucene++_LIBRARY_DIRS "@PACKAGE_CMAKE_INSTALL_LIBDIR@") --set(liblucene++_LIBRARIES "@PACKAGE_CMAKE_INSTALL_LIBDIR@/@core_libname@") -+set_and_check(liblucene++_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@") -+set_and_check(liblucene++_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/@PACKAGE_CMAKE_INSTALL_LIBDIR@") -+set(liblucene++_LIBRARIES "@core_libname@") - - - -commit 127492f1ab85fd74ab9f9dff0be5b0a63bf7c271 -Merge: df65bf5 fd9eaf1 -Author: Alan Wright <85800+alanw@users.noreply.github.com> -Date: Tue Dec 29 17:46:39 2020 +0000 - - Merge pull request #160 from Kakueeen/master - - fix a bug of ChineseTokenizer - - -commit fd9eaf10c49239d700af848062acc1d5efd54aa8 -Author: liuzhangjian <liuzhangjian@uniontech.com> -Date: Fri Dec 4 15:41:31 2020 +0800 - - Title:fix a bug of ChineseTokenizer - - Description:When I use ChineseAnalyzer for Chinese word segmentation, I find that English and numbers are treated as one word and I think they should be separated. - - RootCause:Null - - Solution: - -diff --git a/src/contrib/analyzers/common/analysis/cn/ChineseFilter.cpp b/src/contrib/analyzers/common/analysis/cn/ChineseFilter.cpp -index d2a19f3..8313445 100644 ---- a/src/contrib/analyzers/common/analysis/cn/ChineseFilter.cpp -+++ b/src/contrib/analyzers/common/analysis/cn/ChineseFilter.cpp -@@ -38,7 +38,7 @@ bool ChineseFilter::incrementToken() { - if (text.length() > 1) { - return true; - } -- } else if (UnicodeUtil::isOther(text[0])) { -+ } else if (UnicodeUtil::isOther(text[0]) || UnicodeUtil::isDigit(text[0])) { - // One Chinese character as one Chinese word. - // Chinese word extraction to be added later here. - return true; -diff --git a/src/contrib/analyzers/common/analysis/cn/ChineseTokenizer.cpp b/src/contrib/analyzers/common/analysis/cn/ChineseTokenizer.cpp -index 38bf987..3b4de74 100644 ---- a/src/contrib/analyzers/common/analysis/cn/ChineseTokenizer.cpp -+++ b/src/contrib/analyzers/common/analysis/cn/ChineseTokenizer.cpp -@@ -65,6 +65,7 @@ bool ChineseTokenizer::incrementToken() { - - length = 0; - start = offset; -+ bool last_is_en = false, last_is_num = false; - - while (true) { - wchar_t c; -@@ -82,11 +83,30 @@ bool ChineseTokenizer::incrementToken() { - c = ioBuffer[bufferIndex++]; - } - -- if (UnicodeUtil::isDigit(c) || UnicodeUtil::isLower(c) || UnicodeUtil::isUpper(c)) { -+ if (UnicodeUtil::isLower(c) || UnicodeUtil::isUpper(c)) { -+ if (last_is_num) { -+ --bufferIndex; -+ --offset; -+ return flush(); -+ } -+ -+ push(c); -+ if (length == MAX_WORD_LEN) { -+ return flush(); -+ } -+ last_is_en = true; -+ } else if (UnicodeUtil::isDigit(c)) { -+ if (last_is_en) { -+ --bufferIndex; -+ --offset; -+ return flush(); -+ } -+ - push(c); - if (length == MAX_WORD_LEN) { - return flush(); - } -+ last_is_num = true; - } else if (UnicodeUtil::isOther(c)) { - if (length > 0) { - --bufferIndex; diff --git a/libraries/MDI_Library/MDI_Library.SlackBuild b/libraries/MDI_Library/MDI_Library.SlackBuild new file mode 100644 index 0000000000..86ce026601 --- /dev/null +++ b/libraries/MDI_Library/MDI_Library.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/bash + +# Slackware build script for MDI_Library + +# Copyright 2024 Giancarlo Dessì, Cagliari, IT +# 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=MDI_Library +VERSION=${VERSION:-1.4.26} +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 -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +rm -f $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 LICENSE README.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/libraries/MDI_Library/MDI_Library.info b/libraries/MDI_Library/MDI_Library.info new file mode 100644 index 0000000000..4370cd8d8d --- /dev/null +++ b/libraries/MDI_Library/MDI_Library.info @@ -0,0 +1,10 @@ +PRGNAM="MDI_Library" +VERSION="1.4.26" +HOMEPAGE="https://github.com/MolSSI-MDI/MDI_Library" +DOWNLOAD="https://github.com/MolSSI-MDI/MDI_Library/archive/v1.4.26/MDI_Library-v1.4.26.tar.gz" +MD5SUM="3124bb85259471e2a53a891f04bf697a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="openmpi" +MAINTAINER="Giancarlo Dessi" +EMAIL="slack@giand.it" diff --git a/libraries/MDI_Library/README b/libraries/MDI_Library/README new file mode 100644 index 0000000000..240b2dfa36 --- /dev/null +++ b/libraries/MDI_Library/README @@ -0,0 +1,9 @@ +MDI Library enables code interoperability via the MolSSI Driver +Interface (MDI). + +The MDI project, managed by the Molecular Sciences Software Institute, +provides a standardized API for fast, on-the-fly communication between +computational chemistry codes. This greatly simplifies the process of +implementing methods that require the cooperation of multiple software +packages and enables developers to write a single implementation that +works across many different codes. diff --git a/libraries/MDI_Library/slack-desc b/libraries/MDI_Library/slack-desc new file mode 100644 index 0000000000..a425336172 --- /dev/null +++ b/libraries/MDI_Library/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +MDI_Library: MDI_Library (library for code interoperability via MDI) +MDI_Library: +MDI_Library: The MolSSI Driver Interface (MDI) project provides a standardized API +MDI_Library: for fast, on-the-fly communication between computational chemistry +MDI_Library: codes. +MDI_Library: MDI_Library enables code interoperability via the MolSSI Driver +MDI_Library: Interface. +MDI_Library: +MDI_Library: Home page: https://molssi.org/ +MDI_Library: +MDI_Library: diff --git a/libraries/PrettyTable/PrettyTable.SlackBuild b/libraries/PrettyTable/PrettyTable.SlackBuild index 61059f2846..cc1a65ccab 100644 --- a/libraries/PrettyTable/PrettyTable.SlackBuild +++ b/libraries/PrettyTable/PrettyTable.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for PrettyTable -# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=PrettyTable SRCNAM=prettytable -VERSION=${VERSION:-0.7.2} +VERSION=${VERSION:-3.10.0} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,18 +80,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 {} \; -python setup.py install --root=$PKG - -# Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python3 -m build --wheel --no-isolation +python3 -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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG COPYING PKG-INFO README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md PKG-INFO README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/PrettyTable/PrettyTable.info b/libraries/PrettyTable/PrettyTable.info index dd98ba3064..ede13c49e1 100644 --- a/libraries/PrettyTable/PrettyTable.info +++ b/libraries/PrettyTable/PrettyTable.info @@ -1,10 +1,10 @@ PRGNAM="PrettyTable" -VERSION="0.7.2" +VERSION="3.10.0" HOMEPAGE="https://pypi.org/project/PrettyTable/" -DOWNLOAD="https://pypi.python.org/packages/e0/a1/36203205f77ccf98f3c6cf17cf068c972e6458d7e58509ca66da949ca347/prettytable-0.7.2.tar.gz" -MD5SUM="a6b80afeef286ce66733d54a0296b13b" +DOWNLOAD="https://files.pythonhosted.org/packages/19/d3/7cb826e085a254888d8afb4ae3f8d43859b13149ac8450b221120d4964c9/prettytable-3.10.0.tar.gz" +MD5SUM="f3b3f5738658bbf8d1fb8c7859ea95e6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-hatch_vcs" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/libraries/botocore/botocore.SlackBuild b/libraries/botocore/botocore.SlackBuild index 1f79141716..4f44f09d30 100644 --- a/libraries/botocore/botocore.SlackBuild +++ b/libraries/botocore/botocore.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=botocore -VERSION=${VERSION:-1.34.14} +VERSION=${VERSION:-1.34.99} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/botocore/botocore.info b/libraries/botocore/botocore.info index 076ad6bfa3..65b8582cd5 100644 --- a/libraries/botocore/botocore.info +++ b/libraries/botocore/botocore.info @@ -1,8 +1,8 @@ PRGNAM="botocore" -VERSION="1.34.14" +VERSION="1.34.99" HOMEPAGE="https://github.com/boto/botocore" -DOWNLOAD="https://github.com/boto/botocore/archive/1.34.14/botocore-1.34.14.tar.gz" -MD5SUM="cc8017ec4a3798eca8a5c22bdb1df69c" +DOWNLOAD="https://github.com/boto/botocore/archive/1.34.99/botocore-1.34.99.tar.gz" +MD5SUM="d065f95459c16331822bb50cee9920ee" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-dateutil jmespath" diff --git a/libraries/console_bridge/console_bridge.info b/libraries/console_bridge/console_bridge.info index fe291ac8a3..56b41c1cb7 100644 --- a/libraries/console_bridge/console_bridge.info +++ b/libraries/console_bridge/console_bridge.info @@ -1,7 +1,7 @@ PRGNAM="console_bridge" VERSION="0.3.2" HOMEPAGE="http://wiki.ros.org/console_bridge" -DOWNLOAD="https://github.com/ros/console_bridge/archive/0.3.2.tar.gz" +DOWNLOAD="https://github.com/ros/console_bridge/archive/0.3.2/console_bridge-0.3.2.tar.gz" MD5SUM="6c525353efe6f386fa25d58eafa72869" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/ell/README b/libraries/ell/README new file mode 100644 index 0000000000..4772d79eb6 --- /dev/null +++ b/libraries/ell/README @@ -0,0 +1,2 @@ +Embedded Linux Library provides core, low-level functionality for +system daemons. diff --git a/libraries/ell/ell.SlackBuild b/libraries/ell/ell.SlackBuild new file mode 100644 index 0000000000..c73d685198 --- /dev/null +++ b/libraries/ell/ell.SlackBuild @@ -0,0 +1,109 @@ +#!/bin/bash + +# Slackware build script for ell + +# Copyright 2024 Thibaut Notteboom, Paris, FRANCE +# 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=ell +VERSION=${VERSION:-0.65} +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" +elif [ "$ARCH" = "aarch64" ]; 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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --build=$ARCH-slackware-linux + +make +make install-strip DESTDIR=$PKG + +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING ChangeLog README TODO \ + $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/libraries/ell/ell.info b/libraries/ell/ell.info new file mode 100644 index 0000000000..92c3d61ac5 --- /dev/null +++ b/libraries/ell/ell.info @@ -0,0 +1,10 @@ +PRGNAM="ell" +VERSION="0.65" +HOMEPAGE="https://git.kernel.org/pub/scm/libs/ell/ell.git" +DOWNLOAD="https://mirrors.edge.kernel.org/pub/linux/libs/ell/ell-0.65.tar.gz" +MD5SUM="b1480a0d8cf5826e02c60802b602e173" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Thibaut Notteboom" +EMAIL="thibaut.notteboom@gmail.com" diff --git a/libraries/ell/slack-desc b/libraries/ell/slack-desc new file mode 100644 index 0000000000..63036d7301 --- /dev/null +++ b/libraries/ell/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +ell: ell (Embedded Linux library) +ell: +ell: Embedded Linux Library provides core, low-level functionality for +ell: system daemons. +ell: +ell: +ell: +ell: +ell: +ell: +ell: diff --git a/libraries/fmt/fmt.SlackBuild b/libraries/fmt/fmt.SlackBuild index 5af5045cc5..bc2a0b642c 100644 --- a/libraries/fmt/fmt.SlackBuild +++ b/libraries/fmt/fmt.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=fmt -VERSION=${VERSION:-10.2.0} +VERSION=${VERSION:-10.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/fmt/fmt.info b/libraries/fmt/fmt.info index a332a594b2..6942c4a773 100644 --- a/libraries/fmt/fmt.info +++ b/libraries/fmt/fmt.info @@ -1,8 +1,8 @@ PRGNAM="fmt" -VERSION="10.2.0" +VERSION="10.2.1" HOMEPAGE="https://fmt.dev" -DOWNLOAD="https://github.com/fmtlib/fmt/archive/10.2.0/fmt-10.2.0.tar.gz" -MD5SUM="683182450c06031d2611d29e1773f3ba" +DOWNLOAD="https://github.com/fmtlib/fmt/archive/10.2.1/fmt-10.2.1.tar.gz" +MD5SUM="dc09168c94f90ea890257995f2c497a5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/folly/0001-Fix-CMakeLists.txt-to-honor-CMAKE_INSTALL_LIBDIR.patch b/libraries/folly/0001-Fix-CMakeLists.txt-to-honor-CMAKE_INSTALL_LIBDIR.patch deleted file mode 100644 index 87c0fa6a25..0000000000 --- a/libraries/folly/0001-Fix-CMakeLists.txt-to-honor-CMAKE_INSTALL_LIBDIR.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 85422b744ae2294d60fdae9074ad8eae53323e66 Mon Sep 17 00:00:00 2001 -From: Ebben Aries <exa@dscp.org> -Date: Thu, 16 Jun 2022 08:18:06 -0700 -Subject: [PATCH] Fix CMakeLists.txt to honor CMAKE_INSTALL_LIBDIR - ---- - CMakeLists.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 21d24ba6e..8f83f22c4 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -52,11 +52,11 @@ project(${PACKAGE_NAME} CXX C ASM) - - set(INCLUDE_INSTALL_DIR include CACHE STRING - "The subdirectory where header files should be installed") --set(LIB_INSTALL_DIR lib CACHE STRING -+set(LIB_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR} CACHE STRING - "The subdirectory where libraries should be installed") - set(BIN_INSTALL_DIR bin CACHE STRING - "The subdirectory where binaries should be installed") --set(CMAKE_INSTALL_DIR lib/cmake/folly CACHE STRING -+set(CMAKE_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/folly CACHE STRING - "The subdirectory where CMake package config files should be installed") - - option(BUILD_SHARED_LIBS --- -2.36.1 - diff --git a/libraries/folly/README b/libraries/folly/README deleted file mode 100644 index 9dea6f4127..0000000000 --- a/libraries/folly/README +++ /dev/null @@ -1,6 +0,0 @@ -Folly (acronymed loosely after Facebook Open Source Library) is a -library of C++14 components designed with practicality and efficiency in -mind. Folly contains a variety of core library components used -extensively at Facebook. In particular, it's often a dependency of -Facebook's other open source C++ efforts and place where those projects -can share code. diff --git a/libraries/folly/folly.info b/libraries/folly/folly.info deleted file mode 100644 index d117806b6c..0000000000 --- a/libraries/folly/folly.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="folly" -VERSION="20220722_437b29d" -HOMEPAGE="https://github.com/facebook/folly" -DOWNLOAD="https://github.com/facebook/folly/archive/437b29d/folly-437b29dd062a40c741b2147827025a2f413b76c7.tar.gz" -MD5SUM="c4ac1fa2f76c8c8291c5abb3643b3741" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="double-conversion glog gflags fmt" -MAINTAINER="Ebben Aries" -EMAIL="slackbuilds@dscp.org" diff --git a/libraries/folly/slack-desc b/libraries/folly/slack-desc deleted file mode 100644 index 51dcacc036..0000000000 --- a/libraries/folly/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------------------------------------------------------| -folly: folly (Facebook Open-source Library) -folly: -folly: Folly is a library of C++14 components designed with practicality and -folly: efficiency in mind. It complements (as opposed to competing against) -folly: offerings such as Boost and of course std. -folly: -folly: -folly: -folly: -folly: Homepage: https://github.com/facebook/folly -folly: diff --git a/libraries/glfw3/glfw3.SlackBuild b/libraries/glfw3/glfw3.SlackBuild index 1367343b5e..8a03956876 100644 --- a/libraries/glfw3/glfw3.SlackBuild +++ b/libraries/glfw3/glfw3.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for glfw3 -# Copyright 2023 Steven Voges <Oregon, USA> +# Copyright 2023-2024 Steven Voges <Oregon, USA> # Copyright 2018-2020 Hunter Sezen California, USA # Copyright 2015 Jeffrey T. Read <bitwize@gmail.com> USA # All rights reserved. @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=glfw3 SRCNAM=${PRGNAM%3} -VERSION=${VERSION:-3.3.8} +VERSION=${VERSION:-3.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/glfw3/glfw3.info b/libraries/glfw3/glfw3.info index 9a4d0f37ec..d5177a65c9 100644 --- a/libraries/glfw3/glfw3.info +++ b/libraries/glfw3/glfw3.info @@ -1,8 +1,8 @@ PRGNAM="glfw3" -VERSION="3.3.8" +VERSION="3.4" HOMEPAGE="https://www.glfw.org/" -DOWNLOAD="https://github.com/glfw/glfw/archive/3.3.8/glfw-3.3.8.tar.gz" -MD5SUM="55d99dc968f4cec01a412562a7cf851c" +DOWNLOAD="https://github.com/glfw/glfw/archive/3.4/glfw-3.4.tar.gz" +MD5SUM="7470db601fcf36f0604d32b537281a70" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/goffice/goffice.SlackBuild b/libraries/goffice/goffice.SlackBuild index 39282e2f9d..e30e2ed5f1 100644 --- a/libraries/goffice/goffice.SlackBuild +++ b/libraries/goffice/goffice.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for goffice # Copyright (c) 2007 alkos333 <me@alkos333.net> +# Copyright (c) 2023-24 Jim Diamond, Dartmouth, Nova Scotia, Canada # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -31,8 +32,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=goffice -VERSION=${VERSION:-0.10.56} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.10.57} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,17 +58,14 @@ if [ "$ARCH" = "i586" -o "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=$ARCH -mtune=i686" LIBDIRSUFFIX="" CONFIG_ARGS="--without-long-double" - NEED_PATCHES=T elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" CONFIG_ARGS= - NEED_PATCHES=F else SLKCFLAGS="-O2" LIBDIRSUFFIX="" CONFIG_ARGS= - NEED_PATCHES=F fi set -e @@ -79,16 +77,6 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION -if [ "$NEED_PATCHES" = T ] -then - for i in $CWD/patches/* - do - patch -p0 < $i - done - cp $CWD/import-ryu tools/ - chmod 755 tools/import-ryu -fi - chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/libraries/goffice/goffice.info b/libraries/goffice/goffice.info index 209e7365ab..7e4d226c69 100644 --- a/libraries/goffice/goffice.info +++ b/libraries/goffice/goffice.info @@ -1,8 +1,8 @@ PRGNAM="goffice" -VERSION="0.10.56" +VERSION="0.10.57" HOMEPAGE="https://download.gnome.org/sources/goffice/" -DOWNLOAD="https://download.gnome.org/sources/goffice/0.10/goffice-0.10.56.tar.xz" -MD5SUM="50555440e0e4ccef4651193e5e0b5f62" +DOWNLOAD="https://download.gnome.org/sources/goffice/0.10/goffice-0.10.57.tar.xz" +MD5SUM="4c55f99d8fafe1f91276cb7538521fdb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/goffice/import-ryu b/libraries/goffice/import-ryu deleted file mode 100644 index e99f022e0b..0000000000 --- a/libraries/goffice/import-ryu +++ /dev/null @@ -1,97 +0,0 @@ -#!/usr/bin/perl -w -# ----------------------------------------------------------------------------- - -my $ryu = $ARGV[0]; - -my @files = (# "ryu.h", - "common.h", - "digit_table.h", - "d2s_intrinsics.h", - "d2s_small_table.h", - 'd2s.c', - 'WITH_LONG_DOUBLE', - 'ryu_generic_128.h', - 'generic_128.h', - 'generic_128.c'); - -print "#define RYU_OPTIMIZE_SIZE 1\n\n"; -print "#define bool int\n\n"; -print "#include \"go-ryu.h\"\n"; -print "#include <inttypes.h>\n"; -print "\n"; - -my $with_long_double = 0; - -foreach my $f (@files) { - if ($f eq 'WITH_LONG_DOUBLE') { - $with_long_double = 1; - next; - } - - my $fn = "$ryu/ryu/$f"; - - my $in_conditional = 0; - - print STDERR "Importing $f...\n"; - open my $fh, "<", $fn or die "$0: cannot read $fn:$!\n"; - - print "#ifdef GOFFICE_WITH_LONG_DOUBLE\n" if $with_long_double; - - print "// File $f imported from ryu\n"; - while (<$fh>) { - next if /^\s*#\s*include\s*"ryu.*"/; - - s/\b((float|double|long_double)_to_fd128|generic_binary_to_decimal|generic_to_chars|(d|f)2(s|exp|fixed)(|_buffered_n|_buffered))\b/go_ryu_$1/g; - - if (/\b(go_ryu_d2s_buffered|go_ryu_d2s|go_ryu_f2s_buffered_n|go_ryu_f2s_buffered|go_ryu_f2s|go_ryu_d2fixed_buffered_n|go_ryu_d2fixed_buffered|go_ryu_d2fixed|go_ryu_d2exp_buffered_n|go_ryu_d2exp_buffered|go_ryu_d2exp)\s*\([a-z]+\s.*\)(;|\s*\{)$/) { - print "#if 0\n"; - $_ = "static $_"; - $in_conditional = 1; - } - - if (/\b(go_ryu_long_double_to_fd128|go_ryu_generic_to_chars)\s*\([a-z]+\s.*\)(;|\s*\{)$/) { - $_ = "static $_"; - } - - if (/struct floating_decimal_128 go_ryu_generic_binary_to_decimal\(/) { - $_ = "static $_"; - } - - - if ($f =~ /128/) { - s/\b(pow5bits|pow5Factor|multipleOfPowerOf[25]|log10Pow[25]|copy_special_str|POW5_TABLE_SIZE)\b/$1l/g; - - if (/go_ryu_float_to_fd128\(float/) { - print "#if 0\n"; - $_ = "static $_"; - $in_conditional = 1; - } - - if (/go_ryu_double_to_fd128\(double/) { - print "#if 0\n"; - $_ = "static $_"; - $in_conditional = 1; - } - } - - if ($in_conditional && (/^[a-z].*\);$/ || /^}/)) { - $_ = "$_#endif\n"; - $in_conditional = 0; - } - - print; - } - print "// End of file $f imported from ryu\n"; - print "#endif // GOFFICE_WITH_LONG_DOUBLE\n" if $with_long_double; - print "\n"; - - die "Trouble" if $in_conditional; -} - -print "\n"; -print "#ifdef GOFFICE_WITH_LONG_DOUBLE\n"; -print "int go_ryu_ld2s_buffered_n (long double d, char *dst) {\n"; -print " struct floating_decimal_128 fd128 = go_ryu_long_double_to_fd128(d);\n"; -print " return go_ryu_generic_to_chars(fd128, dst);\n"; -print "}\n"; -print "#endif\n"; diff --git a/libraries/goffice/patches/NEWS.patch b/libraries/goffice/patches/NEWS.patch deleted file mode 100644 index 773bb5a77b..0000000000 --- a/libraries/goffice/patches/NEWS.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- NEWS 2023-12-27 18:37:51.129423722 -0400 -+++ NEWS.patched 2023-12-27 18:36:14.000000000 -0400 -@@ -1,3 +1,8 @@ -+goffice 0.10.57: -+ -+ * Excise long double parts of ryu unless --with-long-double. -+ -+-------------------------------------------------------------------------- - goffice 0.10.56: - - B.S.: diff --git a/libraries/goffice/patches/configure.ac.patch b/libraries/goffice/patches/configure.ac.patch deleted file mode 100644 index 1b82b29215..0000000000 --- a/libraries/goffice/patches/configure.ac.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- configure.ac 2023-05-19 22:19:44.000000000 -0300 -+++ configure.ac.fixed 2023-12-27 16:38:43.520064640 -0400 -@@ -560,14 +560,23 @@ - GOFFICE_CHECK_FUNC(acosh) - GOFFICE_CHECK_FUNC(atanh) - -+AC_TYPE_LONG_DOUBLE -+dnl go-ryu needs __uint128_t for long double support. -+AC_CHECK_TYPES([__uint128_t], [], [], [[#include <inttypes.h> -+#include <stdint.h>]]) -+if test $ac_cv_type_long_double.$ac_cv_type___uint128_t = yes.yes; then -+ with_long_double_default=yes -+else -+ with_long_double_default=no -+fi -+ - float_msg=no - AC_ARG_WITH(long-double, - [ --without-long-double disable support for long double], -- , [ with_long_double=yes]) -+ , [ with_long_double=$with_long_double_default]) - - if test "x$with_long_double" = "xyes"; then -- AC_TYPE_LONG_DOUBLE -- if test $ac_cv_type_long_double = yes; then -+ if test $with_long_double_default = yes; then - have_mandatory_funcs=yes - need_sunmath=0 - ss_ccprog=`echo $CC | sed -e 's/ .*//'` diff --git a/libraries/goffice/patches/go-dtoa.c.patch b/libraries/goffice/patches/go-dtoa.c.patch deleted file mode 100644 index 525d2893b8..0000000000 --- a/libraries/goffice/patches/go-dtoa.c.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- goffice/math/go-dtoa.c 2023-05-21 13:08:07.000000000 -0300 -+++ goffice/math/go-dtoa.c.patched 2023-12-27 19:28:35.623167312 -0400 -@@ -464,9 +464,14 @@ - GString const *dec = go_locale_get_decimal(); - - g_string_set_size (dst, 53 + oldlen + dec->len); -- if (is_long) -+ if (is_long) { -+#ifdef GOFFICE_WITH_LONG_DOUBLE - n = go_ryu_ld2s_buffered_n (d, dst->str + oldlen); -- else -+#else -+ g_critical ("Compiled with long-double, then asked to use it"); -+ return; -+#endif -+ } else - n = go_ryu_d2s_buffered_n ((double)d, dst->str + oldlen); - g_string_set_size (dst, oldlen + n); - dpos = strchr (dst->str + oldlen, '.'); diff --git a/libraries/goffice/patches/go-ryu.c.patch b/libraries/goffice/patches/go-ryu.c.patch deleted file mode 100644 index 6d0513c752..0000000000 --- a/libraries/goffice/patches/go-ryu.c.patch +++ /dev/null @@ -1,204 +0,0 @@ ---- goffice/math/go-ryu.c 2023-05-20 20:02:02.000000000 -0300 -+++ goffice/math/go-ryu.c.patched 2023-12-27 19:28:35.623167312 -0400 -@@ -3,55 +3,8 @@ - #define bool int - - #include "go-ryu.h" --// File ryu.h imported from ryu --// Copyright 2018 Ulf Adams --// --// The contents of this file may be used under the terms of the Apache License, --// Version 2.0. --// --// (See accompanying file LICENSE-Apache or copy at --// http://www.apache.org/licenses/LICENSE-2.0) --// --// Alternatively, the contents of this file may be used under the terms of --// the Boost Software License, Version 1.0. --// (See accompanying file LICENSE-Boost or copy at --// https://www.boost.org/LICENSE_1_0.txt) --// --// Unless required by applicable law or agreed to in writing, this software --// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --// KIND, either express or implied. --#ifndef RYU_H --#define RYU_H -- --#ifdef __cplusplus --extern "C" { --#endif -- - #include <inttypes.h> - --int go_ryu_d2s_buffered_n(double f, char* result); --void go_ryu_d2s_buffered(double f, char* result); --char* go_ryu_d2s(double f); -- --int go_ryu_f2s_buffered_n(float f, char* result); --void go_ryu_f2s_buffered(float f, char* result); --char* go_ryu_f2s(float f); -- --int go_ryu_d2fixed_buffered_n(double d, uint32_t precision, char* result); --void go_ryu_d2fixed_buffered(double d, uint32_t precision, char* result); --char* go_ryu_d2fixed(double d, uint32_t precision); -- --int go_ryu_d2exp_buffered_n(double d, uint32_t precision, char* result); --void go_ryu_d2exp_buffered(double d, uint32_t precision, char* result); --char* go_ryu_d2exp(double d, uint32_t precision); -- --#ifdef __cplusplus --} --#endif -- --#endif // RYU_H --// End of file ryu.h imported from ryu -- - // File common.h imported from ryu - // Copyright 2018 Ulf Adams - // -@@ -1242,20 +1195,25 @@ - return to_chars(v, ieeeSign, result); - } - --void go_ryu_d2s_buffered(double f, char* result) { -+#if 0 -+static void go_ryu_d2s_buffered(double f, char* result) { - const int index = go_ryu_d2s_buffered_n(f, result); - - // Terminate the string. - result[index] = '\0'; - } -+#endif - --char* go_ryu_d2s(double f) { -+#if 0 -+static char* go_ryu_d2s(double f) { - char* const result = (char*) malloc(25); - go_ryu_d2s_buffered(f, result); - return result; - } -+#endif - // End of file d2s.c imported from ryu - -+#ifdef GOFFICE_WITH_LONG_DOUBLE - // File ryu_generic_128.h imported from ryu - // Copyright 2018 Ulf Adams - // -@@ -1303,16 +1261,20 @@ - bool sign; - }; - --struct floating_decimal_128 go_ryu_float_to_fd128(float f); --struct floating_decimal_128 go_ryu_double_to_fd128(double d); -+#if 0 -+static struct floating_decimal_128 go_ryu_float_to_fd128(float f); -+#endif -+#if 0 -+static struct floating_decimal_128 go_ryu_double_to_fd128(double d); -+#endif - - // According to wikipedia (https://en.wikipedia.org/wiki/Long_double), this likely only works on - // x86 with specific compilers (clang?). May need an ifdef. --struct floating_decimal_128 go_ryu_long_double_to_fd128(long double d); -+static struct floating_decimal_128 go_ryu_long_double_to_fd128(long double d); - - // Converts the given binary floating point number to the shortest decimal floating point number - // that still accurately represents it. --struct floating_decimal_128 go_ryu_generic_binary_to_decimal( -+static struct floating_decimal_128 go_ryu_generic_binary_to_decimal( - const __uint128_t bits, const uint32_t mantissaBits, const uint32_t exponentBits, const bool explicitLeadingBit); - - // Converts the given decimal floating point number to a string, writing to result, and returning -@@ -1322,7 +1284,7 @@ - // Maximal char buffer requirement: - // sign + mantissa digits + decimal dot + 'E' + exponent sign + exponent digits - // = 1 + 39 + 1 + 1 + 1 + 10 = 53 --int go_ryu_generic_to_chars(const struct floating_decimal_128 v, char* const result); -+static int go_ryu_generic_to_chars(const struct floating_decimal_128 v, char* const result); - - #ifdef __cplusplus - } -@@ -1330,7 +1292,9 @@ - - #endif // RYU_GENERIC_128_H - // End of file ryu_generic_128.h imported from ryu -+#endif // GOFFICE_WITH_LONG_DOUBLE - -+#ifdef GOFFICE_WITH_LONG_DOUBLE - // File generic_128.h imported from ryu - // Copyright 2018 Ulf Adams - // -@@ -1852,7 +1816,9 @@ - - #endif // RYU_GENERIC128_H - // End of file generic_128.h imported from ryu -+#endif // GOFFICE_WITH_LONG_DOUBLE - -+#ifdef GOFFICE_WITH_LONG_DOUBLE - // File generic_128.c imported from ryu - // Copyright 2018 Ulf Adams - // -@@ -1903,25 +1869,29 @@ - #define FLOAT_MANTISSA_BITS 23 - #define FLOAT_EXPONENT_BITS 8 - --struct floating_decimal_128 go_ryu_float_to_fd128(float f) { -+#if 0 -+static struct floating_decimal_128 go_ryu_float_to_fd128(float f) { - uint32_t bits = 0; - memcpy(&bits, &f, sizeof(float)); - return go_ryu_generic_binary_to_decimal(bits, FLOAT_MANTISSA_BITS, FLOAT_EXPONENT_BITS, false); - } -+#endif - - #define DOUBLE_MANTISSA_BITS 52 - #define DOUBLE_EXPONENT_BITS 11 - --struct floating_decimal_128 go_ryu_double_to_fd128(double d) { -+#if 0 -+static struct floating_decimal_128 go_ryu_double_to_fd128(double d) { - uint64_t bits = 0; - memcpy(&bits, &d, sizeof(double)); - return go_ryu_generic_binary_to_decimal(bits, DOUBLE_MANTISSA_BITS, DOUBLE_EXPONENT_BITS, false); - } -+#endif - - #define LONG_DOUBLE_MANTISSA_BITS 64 - #define LONG_DOUBLE_EXPONENT_BITS 15 - --struct floating_decimal_128 go_ryu_long_double_to_fd128(long double d) { -+static struct floating_decimal_128 go_ryu_long_double_to_fd128(long double d) { - uint128_t bits = 0; - memcpy(&bits, &d, sizeof(long double)); - #ifdef RYU_DEBUG -@@ -1934,7 +1904,7 @@ - return go_ryu_generic_binary_to_decimal(bits, LONG_DOUBLE_MANTISSA_BITS, LONG_DOUBLE_EXPONENT_BITS, true); - } - --struct floating_decimal_128 go_ryu_generic_binary_to_decimal( -+static struct floating_decimal_128 go_ryu_generic_binary_to_decimal( - const uint128_t bits, const uint32_t mantissaBits, const uint32_t exponentBits, const bool explicitLeadingBit) { - #ifdef RYU_DEBUG - printf("IN="); -@@ -2147,7 +2117,7 @@ - return fd.sign + 8; - } - --int go_ryu_generic_to_chars(const struct floating_decimal_128 v, char* const result) { -+static int go_ryu_generic_to_chars(const struct floating_decimal_128 v, char* const result) { - if (v.exponent == FD128_EXCEPTIONAL_EXPONENT) { - return copy_special_strl(result, v); - } -@@ -2200,9 +2170,12 @@ - return index; - } - // End of file generic_128.c imported from ryu -+#endif // GOFFICE_WITH_LONG_DOUBLE - - -+#ifdef GOFFICE_WITH_LONG_DOUBLE - int go_ryu_ld2s_buffered_n (long double d, char *dst) { - struct floating_decimal_128 fd128 = go_ryu_long_double_to_fd128(d); - return go_ryu_generic_to_chars(fd128, dst); - } -+#endif diff --git a/libraries/goffice/patches/go-ryu.h.patch b/libraries/goffice/patches/go-ryu.h.patch deleted file mode 100644 index 623da14e36..0000000000 --- a/libraries/goffice/patches/go-ryu.h.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- goffice/math/go-ryu.h 2023-05-20 19:48:32.000000000 -0300 -+++ goffice/math/go-ryu.h.patched 2023-12-27 19:28:35.623167312 -0400 -@@ -9,7 +9,9 @@ - /* ------------------------------------------------------------------------- */ - - int go_ryu_d2s_buffered_n (double d, char *dst); -+#ifdef GOFFICE_WITH_LONG_DOUBLE - int go_ryu_ld2s_buffered_n (long double d, char *dst); -+#endif - - /* ------------------------------------------------------------------------- */ - diff --git a/libraries/googlebenchmark/googlebenchmark.SlackBuild b/libraries/googlebenchmark/googlebenchmark.SlackBuild index fdfa6c16b8..c80d6f04bf 100644 --- a/libraries/googlebenchmark/googlebenchmark.SlackBuild +++ b/libraries/googlebenchmark/googlebenchmark.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=googlebenchmark -VERSION=${VERSION:-1.8.0} +VERSION=${VERSION:-1.8.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -93,6 +93,7 @@ cd build -DBENCHMARK_ENABLE_GTEST_TESTS=OFF \ -DBENCHMARK_ENABLE_LTO=ON \ -DBENCHMARK_ENABLE_ASSEMBLY_TESTS=OFF \ + -DBUILD_SHARED_LIBS=ON \ -DCMAKE_BUILD_TYPE=Release .. make make install/strip DESTDIR=$PKG diff --git a/libraries/googlebenchmark/googlebenchmark.info b/libraries/googlebenchmark/googlebenchmark.info index 5802cdb767..3c66565db8 100644 --- a/libraries/googlebenchmark/googlebenchmark.info +++ b/libraries/googlebenchmark/googlebenchmark.info @@ -1,8 +1,8 @@ PRGNAM="googlebenchmark" -VERSION="1.8.0" +VERSION="1.8.3" HOMEPAGE="https://github.com/google/benchmark/" -DOWNLOAD="https://github.com/google/benchmark/archive/v1.8.0/benchmark-1.8.0.tar.gz" -MD5SUM="8ddf8571d3f6198d37852bcbd964f817" +DOWNLOAD="https://github.com/google/benchmark/archive/v1.8.3/benchmark-1.8.3.tar.gz" +MD5SUM="7b93dd03670665684f1b2e9b70ad17fe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gtest gflags" diff --git a/libraries/grpc/grpc.SlackBuild b/libraries/grpc/grpc.SlackBuild index a8b5061c8e..fb5485acc0 100644 --- a/libraries/grpc/grpc.SlackBuild +++ b/libraries/grpc/grpc.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=grpc -VERSION=${VERSION:-1.62.1} +VERSION=${VERSION:-1.64.0} OPENCENSUS_VERSION=${OPENCENSUS_VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -103,14 +103,11 @@ cmake -Bbuild \ -DCMAKE_SKIP_INSTALL_RPATH=ON \ -DgRPC_BUILD_TESTS=OFF \ -DgRPC_BUILD_CODEGEN=ON \ - -DgRPC_BUILD_CSHARP_EXT=ON \ - -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF \ -DgRPC_ZLIB_PROVIDER='package' \ -DgRPC_CARES_PROVIDER='package' \ -DgRPC_RE2_PROVIDER='package' \ -DgRPC_SSL_PROVIDER='package' \ -DgRPC_PROTOBUF_PROVIDER='package' \ - -DgRPC_PROTOBUF_PACKAGE_TYPE='MODULE' \ -DgRPC_BENCHMARK_PROVIDER:STRING='package' \ -DgRPC_ABSL_PROVIDER:STRING='package' \ -DgRPC_USE_PROTO_LITE=OFF \ diff --git a/libraries/grpc/grpc.info b/libraries/grpc/grpc.info index a987421e33..9ea8815543 100644 --- a/libraries/grpc/grpc.info +++ b/libraries/grpc/grpc.info @@ -1,9 +1,9 @@ PRGNAM="grpc" -VERSION="1.62.1" +VERSION="1.64.0" HOMEPAGE="https://grpc.io/" -DOWNLOAD="https://github.com/grpc/grpc/archive/v1.62.1/grpc-1.62.1.tar.gz \ +DOWNLOAD="https://github.com/grpc/grpc/archive/v1.64.0/grpc-1.64.0.tar.gz \ https://github.com/census-instrumentation/opencensus-proto/archive/v0.3.0/opencensus-proto-0.3.0.tar.gz" -MD5SUM="e1d5a5152303a7edb48bdf5f60a22c04 \ +MD5SUM="0481f2319bd0a42aad14734835a33b71 \ 0b208800a68548cbf2d4bff763c050a2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/gtk-session-lock/README b/libraries/gtk-session-lock/README new file mode 100644 index 0000000000..b4c374bded --- /dev/null +++ b/libraries/gtk-session-lock/README @@ -0,0 +1,5 @@ +gtk-session-lock (Wayland GTK3 session-lock protocol) + +This is a library to use GTK 3 to build screen lockers using the +secure ext-session-lock-v1 protocol. This Library is compatible with +C, C++ and any language that supports GObject introspection files. diff --git a/libraries/gtk-session-lock/gtk-session-lock.SlackBuild b/libraries/gtk-session-lock/gtk-session-lock.SlackBuild new file mode 100644 index 0000000000..055cbc3ca1 --- /dev/null +++ b/libraries/gtk-session-lock/gtk-session-lock.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/bash + +# Slackware build script for gtk-session-lock + +# Copyright 2024 Jay Lanagan (j@lngn.net), Detroit, MI, 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=gtk-session-lock +VERSION=${VERSION:-0.2.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" +elif [ "$ARCH" = "aarch64" ]; 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.?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 {} \; + +mkdir -p meson-build +cd meson-build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson setup .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc + +"${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +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 CHANGELOG.md LICENSE_* compatibility.md README.md release_process.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/libraries/gtk-session-lock/gtk-session-lock.info b/libraries/gtk-session-lock/gtk-session-lock.info new file mode 100644 index 0000000000..bf058b8350 --- /dev/null +++ b/libraries/gtk-session-lock/gtk-session-lock.info @@ -0,0 +1,10 @@ +PRGNAM="gtk-session-lock" +VERSION="0.2.0" +HOMEPAGE="http://github.com/Cu3PO42/gtk-session-lock/" +DOWNLOAD="https://github.com/Cu3PO42/gtk-session-lock/archive/v0.2.0/gtk-session-lock-0.2.0.tar.gz" +MD5SUM="6c9efb18c461ce91ac05d2e5a7b861e3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Jay Lanagan" +EMAIL="j@lngn.net" diff --git a/libraries/gtk-session-lock/slack-desc b/libraries/gtk-session-lock/slack-desc new file mode 100644 index 0000000000..6e60b55455 --- /dev/null +++ b/libraries/gtk-session-lock/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +gtk-session-lock: gtk-session-lock (Wayland GTK3 session-lock protocol) +gtk-session-lock: +gtk-session-lock: This is a library to use GTK 3 to build screen lockers using the +gtk-session-lock: secure ext-session-lock-v1 protocol. This Library is compatible with +gtk-session-lock: C, C++ and any language that supports GObject introspection files. +gtk-session-lock: +gtk-session-lock: Homepage: https://github.com/Cu3PO42/gtk-session-lock +gtk-session-lock: +gtk-session-lock: +gtk-session-lock: +gtk-session-lock: diff --git a/libraries/hiredict/README b/libraries/hiredict/README new file mode 100644 index 0000000000..64f008b36b --- /dev/null +++ b/libraries/hiredict/README @@ -0,0 +1,8 @@ +hiredict (Minimalistic C client for Redict) + +Hiredict is a minimalistic C client library for the Redict database. + +This is a fork of hiredis, since Redis licence change. +It can install hiredis includes files, allowing it to be a drop-in +replacement for hiredis, by setting the environment variable: +INCLUDE_HIREDIS=ON diff --git a/libraries/folly/folly.SlackBuild b/libraries/hiredict/hiredict.SlackBuild index 8b4e80784d..879b1e4e57 100644 --- a/libraries/folly/folly.SlackBuild +++ b/libraries/hiredict/hiredict.SlackBuild @@ -1,8 +1,9 @@ #!/bin/bash -# Slackware build script for folly +# Slackware build script for hiredict -# Copyright 2022 Ebben Aries <slackbuilds@dscp.org> +# From the hiredis script by Kent Fritz +# Copyright 2024 Yth | Pont-en-Royans, France | yth@ythogtha.org # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,9 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=folly -VERSION=${VERSION:-20220722_437b29d} -GITHASH=${GITHASH:-437b29dd062a40c741b2147827025a2f413b76c7} +PRGNAM=hiredict +VERSION=${VERSION:-1.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -70,10 +70,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$GITHASH -mkdir $PRGNAM-$GITHASH -tar xvf $CWD/$PRGNAM-$GITHASH.tar.gz -cd $PRGNAM-$GITHASH +rm -rf $PRGNAM +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -81,36 +80,21 @@ 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 for CMAKE_INSTALL_LIBDIR -# https://github.com/facebook/folly/pull/1796 -patch -p1 < $CWD/0001-Fix-CMakeLists.txt-to-honor-CMAKE_INSTALL_LIBDIR.patch - -mkdir -p _build -cd _build - cmake \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \ - -DCMAKE_INSTALL_SYSCONFDIR=/etc \ - -DCMAKE_INSTALL_LOCALSTATEDIR=/var \ - -DCMAKE_INSTALL_MANDIR=/usr/man \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=ON \ - .. - - make - make install DESTDIR=$PKG -cd .. +make OPTIMIZATION="" DEBUG="" ARCH="" CFLAGS="$SLKCFLAGS" \ + PREFIX=/usr LIBRARY_PATH=lib${LIBDIRSUFFIX} +make install DESTDIR=$PKG PREFIX=/usr LIBRARY_PATH=lib${LIBDIRSUFFIX} +[ "${INCLUDE_HIREDIS:-OFF}" != "ON" ] && rm -r $PKG/usr/include/hiredis \ + $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/hiredis.pc + +rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.a 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 -rm -rf $PKG/usr/share/ $PKG/usr/doc/$PRGNAM-$VERSION/NEWS +cp -a LICENSES/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -rm -f $PKG/usr/lib*/*.la - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/hiredict/hiredict.info b/libraries/hiredict/hiredict.info new file mode 100644 index 0000000000..17b58141db --- /dev/null +++ b/libraries/hiredict/hiredict.info @@ -0,0 +1,10 @@ +PRGNAM="hiredict" +VERSION="1.3.1" +HOMEPAGE="https://redict.io" +DOWNLOAD="https://codeberg.org/redict/hiredict/archive/1.3.1.tar.gz" +MD5SUM="09e37ab74d01aede0c0a9a0c1f73fe35" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Yth - Arnaud" +EMAIL="yth@ythogtha.org" diff --git a/libraries/hiredict/slack-desc b/libraries/hiredict/slack-desc new file mode 100644 index 0000000000..c195019c4d --- /dev/null +++ b/libraries/hiredict/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +hiredict: hiredict (Minimalistic C client for Redict) +hiredict: +hiredict: Hiredict is a minimalistic C client library for the Redict database. +hiredict: +hiredict: +hiredict: +hiredict: +hiredict: +hiredict: +hiredict: +hiredict: diff --git a/libraries/htslib/htslib.SlackBuild b/libraries/htslib/htslib.SlackBuild index b27ea38502..d88f89c846 100644 --- a/libraries/htslib/htslib.SlackBuild +++ b/libraries/htslib/htslib.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=htslib -VERSION=${VERSION:-1.19.1} +VERSION=${VERSION:-1.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/htslib/htslib.info b/libraries/htslib/htslib.info index dd142db7c4..fb49fe4935 100644 --- a/libraries/htslib/htslib.info +++ b/libraries/htslib/htslib.info @@ -1,8 +1,8 @@ PRGNAM="htslib" -VERSION="1.19.1" +VERSION="1.20" HOMEPAGE="http://www.htslib.org" -DOWNLOAD="https://github.com/samtools/htslib/releases/download/1.19.1/htslib-1.19.1.tar.bz2" -MD5SUM="f9b2f75e1e9ec6cc5c1e204d56fbee9e" +DOWNLOAD="https://github.com/samtools/htslib/releases/download/1.20/htslib-1.20.tar.bz2" +MD5SUM="127cbea4e9a8c084fb09c3fd24bd825d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/jreen/jreen.info b/libraries/jreen/jreen.info index de72890fe0..d9fa5b85a5 100644 --- a/libraries/jreen/jreen.info +++ b/libraries/jreen/jreen.info @@ -1,7 +1,7 @@ PRGNAM="jreen" VERSION="1.3.0" HOMEPAGE="https://github.com/euroelessar/jreen" -DOWNLOAD="https://github.com/euroelessar/jreen/archive/v1.3.0.tar.gz" +DOWNLOAD="https://github.com/euroelessar/jreen/archive/v1.3.0/jreen-1.3.0.tar.gz" MD5SUM="344d1d0b9b76ce64744c6d915ed125fa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/libbass/libbass.info b/libraries/libbass/libbass.info index 6079096f0c..63193d59d0 100644 --- a/libraries/libbass/libbass.info +++ b/libraries/libbass/libbass.info @@ -2,7 +2,7 @@ PRGNAM="libbass" VERSION="2.4.17" HOMEPAGE="https://www.un4seen.com" DOWNLOAD="http://www.un4seen.com/files/bass24-linux.zip" -MD5SUM="a9ea0bca8e1da1d3759cc0d0dc7e6bbe" +MD5SUM="91b04cdc2f29c79ff9f6108b8aa33486" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libbassmidi/libbassmidi.info b/libraries/libbassmidi/libbassmidi.info index 3e186a9f19..cde021b54d 100644 --- a/libraries/libbassmidi/libbassmidi.info +++ b/libraries/libbassmidi/libbassmidi.info @@ -1,7 +1,7 @@ PRGNAM="libbassmidi" VERSION="2.4.14.1" HOMEPAGE="https://www.un4seen.com" -DOWNLOAD="http://www.un4seen.com/files/bassmidi24-linux.zip" +DOWNLOAD="https://slackware.uk/sbosrcarch/by-md5/4/9/4985968621722888acbb639de9cffd06/bassmidi24-linux.zip" MD5SUM="4985968621722888acbb639de9cffd06" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/libbpg/README b/libraries/libbpg/README index d5aa204430..31f6a26015 100644 --- a/libraries/libbpg/README +++ b/libraries/libbpg/README @@ -5,12 +5,12 @@ browsers with small javascript decoder.It is based on the subset of HEVC Open Video Compression Standard. An HTML demonstration is available -in /usr/doc/libbpg-0e2aadb_20180428/html/index.html +in /usr/doc/libbpg-0.9.8/html/index.html you can access it by using the Falkon web browser or using chrome with --allow-file-access-from-files option The BPG file format is specified in -/usr/doc/libbpg-0e2aadb_20180428/doc/bpg_spec.txt. +/usr/doc/libbpg-0.9.8/doc/bpg_spec.txt. This is an optional dependency for VLC media player. It is supported only on 64-bit platforms only. diff --git a/libraries/libbpg/libbpg.SlackBuild b/libraries/libbpg/libbpg.SlackBuild index 7278baacc7..9b33550520 100644 --- a/libraries/libbpg/libbpg.SlackBuild +++ b/libraries/libbpg/libbpg.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libbpg -# Copyright 2022 Vijay Marcel +# Copyright 2022-2024 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,11 +25,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libbpg -VERSION=${VERSION:-0e2aadb_20180428} +VERSION=${VERSION:-0.9.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -COMMIT=${COMMIT:-0e2aadbe40fd8b962440caa51a52c558ccdbc791} + if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,9 +39,6 @@ case "$( uname -m )" in 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 @@ -52,13 +49,13 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" @@ -72,8 +69,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz -cd $PRGNAM-$COMMIT +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 \ @@ -87,7 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \ sed -i 's/$(CMAKE_OPTS)/$(CMAKE_OPTS) -DENABLE_LIBNUMA=OFF/' "Makefile" sed -i 's/^CFLAGS+=-I.$/CFLAGS+=-I. -fPIC/' "Makefile" -make USE_JCTVC=y USE_JCTVC_HIGH_BIT_DEPTH=y USE_X265=y USE_BPGVIEW=y prefix=/usr +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make USE_JCTVC=y USE_JCTVC_HIGH_BIT_DEPTH=y USE_X265=y USE_BPGVIEW=y prefix=/usr install -Dm755 bpgdec "$PKG/usr/bin/bpgdec" install -Dm755 bpgenc "$PKG/usr/bin/bpgenc" diff --git a/libraries/libbpg/libbpg.info b/libraries/libbpg/libbpg.info index 5846e2e9d9..d9c8f9dd74 100644 --- a/libraries/libbpg/libbpg.info +++ b/libraries/libbpg/libbpg.info @@ -1,10 +1,10 @@ PRGNAM="libbpg" -VERSION="0e2aadb_20180428" -HOMEPAGE="http://bellard.org/bpg/" +VERSION="0.9.8" +HOMEPAGE="https://bellard.org/bpg/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/mirrorer/libbpg/archive/0e2aadb/libbpg-0e2aadbe40fd8b962440caa51a52c558ccdbc791.tar.gz" -MD5SUM_x86_64="e1c94ee36488fb989a3b1a2f79821f4b" +DOWNLOAD_x86_64="https://bellard.org/bpg/libbpg-0.9.8.tar.gz" +MD5SUM_x86_64="1c8258bc6de26bbae7c688944a2023ac" REQUIRES="" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" diff --git a/libraries/libcoap/libcoap.SlackBuild b/libraries/libcoap/libcoap.SlackBuild index d4bdf9b558..e3dcf1c902 100644 --- a/libraries/libcoap/libcoap.SlackBuild +++ b/libraries/libcoap/libcoap.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libcoap -VERSION=${VERSION:-4.3.4} +VERSION=${VERSION:-4.3.4a} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libcoap/libcoap.info b/libraries/libcoap/libcoap.info index 14968ed0ff..d1a5f8bbf5 100644 --- a/libraries/libcoap/libcoap.info +++ b/libraries/libcoap/libcoap.info @@ -1,8 +1,8 @@ PRGNAM="libcoap" -VERSION="4.3.4" +VERSION="4.3.4a" HOMEPAGE="https://libcoap.net/" -DOWNLOAD="https://github.com/obgm/libcoap/archive/v4.3.4/libcoap-4.3.4.tar.gz" -MD5SUM="482408115b1ee2c506e4e5758c8cc4fa" +DOWNLOAD="https://github.com/obgm/libcoap/archive/v4.3.4a/libcoap-4.3.4a.tar.gz" +MD5SUM="c0de2c977c6bc42356750e6bd10b2d81" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libcpuid/libcpuid.SlackBuild b/libraries/libcpuid/libcpuid.SlackBuild index 46c85264ab..f5aed0b7fe 100644 --- a/libraries/libcpuid/libcpuid.SlackBuild +++ b/libraries/libcpuid/libcpuid.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libcpuid -VERSION=${VERSION:-0.6.4} +VERSION=${VERSION:-0.6.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libcpuid/libcpuid.info b/libraries/libcpuid/libcpuid.info index 55a61967b6..0ce6795494 100644 --- a/libraries/libcpuid/libcpuid.info +++ b/libraries/libcpuid/libcpuid.info @@ -1,8 +1,8 @@ PRGNAM="libcpuid" -VERSION="0.6.4" +VERSION="0.6.5" HOMEPAGE="http://libcpuid.sourceforge.net" -DOWNLOAD="https://github.com/anrieff/libcpuid/archive/v0.6.4/libcpuid-0.6.4.tar.gz" -MD5SUM="dad029ee90ed683ee07bf83a2b32304d" +DOWNLOAD="https://github.com/anrieff/libcpuid/archive/v0.6.5/libcpuid-0.6.5.tar.gz" +MD5SUM="034584d695e8df67d544c571c98c9467" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libdisplay-info/libdisplay-info.SlackBuild b/libraries/libdisplay-info/libdisplay-info.SlackBuild index e348754dbb..ca0192e2bc 100644 --- a/libraries/libdisplay-info/libdisplay-info.SlackBuild +++ b/libraries/libdisplay-info/libdisplay-info.SlackBuild @@ -66,7 +66,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . diff --git a/libraries/libfabric/changelog b/libraries/libfabric/changelog index 0e7e63095c..936fd485a4 100644 --- a/libraries/libfabric/changelog +++ b/libraries/libfabric/changelog @@ -18,3 +18,7 @@ on x86_64 platform only. 19/02/2024: Updated to version 1.20.1 + +23/04/2024: + +Updated to version 1.21.0 diff --git a/libraries/libfabric/libfabric.SlackBuild b/libraries/libfabric/libfabric.SlackBuild index 196598c58a..6043fa3371 100644 --- a/libraries/libfabric/libfabric.SlackBuild +++ b/libraries/libfabric/libfabric.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libfabric -VERSION=${VERSION:-1.20.1} +VERSION=${VERSION:-1.21.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,6 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --enable-shared \ --with-valgrind \ + --disable-static \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux diff --git a/libraries/libfabric/libfabric.info b/libraries/libfabric/libfabric.info index 8462d1dc4e..e8b5d73c79 100644 --- a/libraries/libfabric/libfabric.info +++ b/libraries/libfabric/libfabric.info @@ -1,10 +1,10 @@ PRGNAM="libfabric" -VERSION="1.20.1" +VERSION="1.21.0" HOMEPAGE="https://libfabric.org/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/ofiwg/libfabric/archive/v1.20.1/libfabric-1.20.1.tar.gz" -MD5SUM_x86_64="1d94cdfea3bcbac8cd9fc49496c48af4" +DOWNLOAD_x86_64="https://github.com/ofiwg/libfabric/archive/v1.21.0/libfabric-1.21.0.tar.gz" +MD5SUM_x86_64="43e7a7e473a9afc7b5af88fe56f06d17" REQUIRES="numactl rdma-core valgrind" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" diff --git a/libraries/libfaketime/libfaketime.SlackBuild b/libraries/libfaketime/libfaketime.SlackBuild index 70ce838f4a..1b335e33aa 100644 --- a/libraries/libfaketime/libfaketime.SlackBuild +++ b/libraries/libfaketime/libfaketime.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libfaketime -# Copyright 2016-2021 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com> +# Copyright 2016-2024 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libfaketime -VERSION=${VERSION:-0.9.9} +VERSION=${VERSION:-0.9.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libfaketime/libfaketime.info b/libraries/libfaketime/libfaketime.info index 6b7bed9c56..f1b7ff542f 100644 --- a/libraries/libfaketime/libfaketime.info +++ b/libraries/libfaketime/libfaketime.info @@ -1,8 +1,8 @@ PRGNAM="libfaketime" -VERSION="0.9.9" +VERSION="0.9.10" HOMEPAGE="https://github.com/wolfcw/libfaketime" -DOWNLOAD="https://github.com/wolfcw/libfaketime/archive/v0.9.9/libfaketime-0.9.9.tar.gz" -MD5SUM="1f784c9c0ec7807b9d1107d1730dbb41" +DOWNLOAD="https://github.com/wolfcw/libfaketime/archive/v0.9.10/libfaketime-0.9.10.tar.gz" +MD5SUM="bbeaa43f514fc8e637e5efdac53e2671" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libfilezilla/libfilezilla.SlackBuild b/libraries/libfilezilla/libfilezilla.SlackBuild index b03e81e2ed..b7d4ae4754 100644 --- a/libraries/libfilezilla/libfilezilla.SlackBuild +++ b/libraries/libfilezilla/libfilezilla.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libfilezilla -VERSION=${VERSION:-0.46.0} +VERSION=${VERSION:-0.47.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libfilezilla/libfilezilla.info b/libraries/libfilezilla/libfilezilla.info index c15c48fbeb..fcee3f1bf7 100644 --- a/libraries/libfilezilla/libfilezilla.info +++ b/libraries/libfilezilla/libfilezilla.info @@ -1,8 +1,8 @@ PRGNAM="libfilezilla" -VERSION="0.46.0" +VERSION="0.47.0" HOMEPAGE="https://lib.filezilla-project.org/" -DOWNLOAD="https://download.filezilla-project.org/libfilezilla/libfilezilla-0.46.0.tar.xz" -MD5SUM="6563d6cc65a3b292c06207817265c63a" +DOWNLOAD="https://download.filezilla-project.org/libfilezilla/libfilezilla-0.47.0.tar.xz" +MD5SUM="b8fcecd37d95c903410f016ef3edb0e2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libfm/README b/libraries/libfm/README index 4b3684e8a7..d8dc092950 100644 --- a/libraries/libfm/README +++ b/libraries/libfm/README @@ -3,9 +3,9 @@ giving a convenient higher-level API. You can choose which version of gtk the library will build against: - GTK=2 link with gtk+2 (default) - GTK=3 link with gtk+3 - GTK=0 don't link against gtk at all + GTK3=yes link with gtk+3 (default) + GTK3=no link with gtk+2 + GTK3=- don't link against gtk at all Pass the script the parameter you prefer, like - GTK=3 ./libfm.SlackBuild + GTK3=no ./libfm.SlackBuild diff --git a/libraries/libfm/libfm.SlackBuild b/libraries/libfm/libfm.SlackBuild index 0be4336787..99a22733f4 100644 --- a/libraries/libfm/libfm.SlackBuild +++ b/libraries/libfm/libfm.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for libfm # Copyright 2010 Chris Abela <chris.abela@maltats.com> -# Copyright 2013-2021 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2013-2024 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libfm VERSION=${VERSION:-1.3.2} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then 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 @@ -65,13 +62,10 @@ else LIBDIRSUFFIX="" fi -# Enable custom actions if we have vala available -if [ -h /usr/bin/vapigen ]; then actions=""; else actions="--disable-actions"; fi - -case "$GTK" in - 3) gtk="--with-gtk=3 --enable-gtk-doc" ;; - 0) gtk="--without-gtk" ;; - *) gtk="--with-gtk=2 --enable-gtk-doc" ;; +case "${GTK3:-yes}" in + "no") gtk="--with-gtk=2 --enable-gtk-doc" ;; + "-") gtk="--without-gtk" ;; + *) gtk="--with-gtk=3 --enable-gtk-doc" ;; esac set -e @@ -102,7 +96,6 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-static=no \ --enable-udisks \ $gtk \ - $actions \ --build=$ARCH-slackware-linux make @@ -117,8 +110,10 @@ make install-strip DESTDIR=$PKG cd $PKG/usr/lib$LIBDIRSUFFIX rm -f libfm-extra.so* pkgconfig/libfm-extra.pc libfm-extra.la ) -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 +if [ -d $PKG/usr/man ]; then + 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 +fi # add handlers for terminal and archiver from LXDE components to the default config sed -i -e 's|\[ui\]|terminal=lxterminal -e %s\narchiver=file-roller %s\n\n[ui]|' \ diff --git a/libraries/libgedit-amtk/libgedit-amtk.info b/libraries/libgedit-amtk/libgedit-amtk.info index 99a97cb69a..265aca261e 100644 --- a/libraries/libgedit-amtk/libgedit-amtk.info +++ b/libraries/libgedit-amtk/libgedit-amtk.info @@ -6,5 +6,5 @@ MD5SUM="1b2ad96c189dd1749b6526c6026e0618" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Juan M. Lasca" -EMAIL="juanmlasca@gmail.com" +MAINTAINER="Bob Funk" +EMAIL="bobfunk11@gmail.com" diff --git a/libraries/libgedit-gtksourceview/libgedit-gtksourceview.info b/libraries/libgedit-gtksourceview/libgedit-gtksourceview.info index b6d1f2684c..a853fff6fb 100644 --- a/libraries/libgedit-gtksourceview/libgedit-gtksourceview.info +++ b/libraries/libgedit-gtksourceview/libgedit-gtksourceview.info @@ -6,5 +6,5 @@ MD5SUM="2f20bcc19e72a370021d4144019af770" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Juan M. Lasca" -EMAIL="juanmlasca@gmail.com" +MAINTAINER="Bob Funk" +EMAIL="bobfunk11@gmail.com" diff --git a/libraries/libgusb/libgusb.SlackBuild b/libraries/libgusb/libgusb.SlackBuild index 5154f86a00..519a936acf 100644 --- a/libraries/libgusb/libgusb.SlackBuild +++ b/libraries/libgusb/libgusb.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libgusb -# Copyright 2016-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2016-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libgusb -VERSION=${VERSION:-0.4.8} +VERSION=${VERSION:-0.4.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libgusb/libgusb.info b/libraries/libgusb/libgusb.info index 8404cdd1c9..23dba9393a 100644 --- a/libraries/libgusb/libgusb.info +++ b/libraries/libgusb/libgusb.info @@ -1,8 +1,8 @@ PRGNAM="libgusb" -VERSION="0.4.8" +VERSION="0.4.9" HOMEPAGE="https://github.com/hughsie/libgusb" -DOWNLOAD="https://github.com/hughsie/libgusb/releases/download/0.4.8/libgusb-0.4.8.tar.xz" -MD5SUM="edc0715ded0b886c063189deef94c754" +DOWNLOAD="https://github.com/hughsie/libgusb/releases/download/0.4.9/libgusb-0.4.9.tar.xz" +MD5SUM="354a3227334991ea4e924843c144bd82" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libharu/libharu.info b/libraries/libharu/libharu.info index bdaffa00e5..4e8d22dd2d 100644 --- a/libraries/libharu/libharu.info +++ b/libraries/libharu/libharu.info @@ -1,7 +1,7 @@ PRGNAM="libharu" VERSION="2.3.0" HOMEPAGE="http://libharu.org/" -DOWNLOAD="https://github.com/libharu/libharu/archive/RELEASE_2_3_0.tar.gz" +DOWNLOAD="https://github.com/libharu/libharu/archive/RELEASE_2_3_0/libharu-RELEASE_2_3_0.tar.gz" MD5SUM="4f916aa49c3069b3a10850013c507460" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/libheif/a911b26a902c5f89fee2dc20ac4dfaafcb8144ec.patch b/libraries/libheif/a911b26a902c5f89fee2dc20ac4dfaafcb8144ec.patch new file mode 100644 index 0000000000..e3f337419f --- /dev/null +++ b/libraries/libheif/a911b26a902c5f89fee2dc20ac4dfaafcb8144ec.patch @@ -0,0 +1,22 @@ +From a911b26a902c5f89fee2dc20ac4dfaafcb8144ec Mon Sep 17 00:00:00 2001 +From: Andrey Semashev <Lastique@users.noreply.github.com> +Date: Fri, 15 Mar 2024 17:46:48 +0300 +Subject: [PATCH] Fix compilation with libsvtav1 2.0.0. + +--- + libheif/plugins/encoder_svt.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libheif/plugins/encoder_svt.cc b/libheif/plugins/encoder_svt.cc +index 4597d7b8fc..1ff3bce2d5 100644 +--- a/libheif/plugins/encoder_svt.cc ++++ b/libheif/plugins/encoder_svt.cc +@@ -646,7 +646,7 @@ struct heif_error svt_encode_image(void* encoder_raw, const struct heif_image* i + + if (nclx) { + svt_config.color_description_present_flag = true; +-#if SVT_AV1_VERSION_MAJOR == 1 ++#if SVT_AV1_VERSION_MAJOR >= 1 + svt_config.color_primaries = static_cast<EbColorPrimaries>(nclx->color_primaries); + svt_config.transfer_characteristics = static_cast<EbTransferCharacteristics>(nclx->transfer_characteristics); + svt_config.matrix_coefficients = static_cast<EbMatrixCoefficients>(nclx->matrix_coefficients); diff --git a/libraries/libheif/libheif.SlackBuild b/libraries/libheif/libheif.SlackBuild index 48456dfbac..b961a74b1e 100644 --- a/libraries/libheif/libheif.SlackBuild +++ b/libraries/libheif/libheif.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libheif VERSION=${VERSION:-1.17.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,8 @@ 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/a911b26a902c5f89fee2dc20ac4dfaafcb8144ec.patch + mkdir -p build cd build cmake \ diff --git a/libraries/libhtp/libhtp.info b/libraries/libhtp/libhtp.info index 4ebf3e4f8a..a8d88b7f42 100644 --- a/libraries/libhtp/libhtp.info +++ b/libraries/libhtp/libhtp.info @@ -1,7 +1,7 @@ PRGNAM="libhtp" VERSION="0.5.23" HOMEPAGE="https://github.com/OISF/libhtp" -DOWNLOAD="https://github.com/OISF/libhtp/archive/0.5.23.tar.gz" +DOWNLOAD="https://github.com/OISF/libhtp/archive/0.5.23/libhtp-0.5.23.tar.gz" MD5SUM="5a0a9e2f8ee47b5f9293ea28cda28540" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/libjxl/changelog b/libraries/libjxl/changelog index 129277e40f..6aa28de968 100644 --- a/libraries/libjxl/changelog +++ b/libraries/libjxl/changelog @@ -29,3 +29,11 @@ to build. Thanks to B.Watson for pointing this out. 21/02/2024: Updated to version 0.9.2 + +15/04/2024: + +Updated to version 0.10.2 +Enabled plugin and jpegli support. +This adds cjpegli and djpegli tools for encoding and +decoding jpeg files. + diff --git a/libraries/libjxl/libjxl.SlackBuild b/libraries/libjxl/libjxl.SlackBuild index ebdba44fb4..35c38b61a1 100644 --- a/libraries/libjxl/libjxl.SlackBuild +++ b/libraries/libjxl/libjxl.SlackBuild @@ -25,10 +25,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libjxl -VERSION=${VERSION:-0.9.2} +VERSION=${VERSION:-0.10.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +JPG=${JPG:-libjpeg-turbo} +JPGVER=${JPGVER:-3.0.2} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -71,6 +73,10 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION +rm -rvf $TMP/$PRGNAM-$VERSION/third_party/libjpeg-turbo/ +tar -xvf $CWD/$JPG-$JPGVER.tar.gz +cp -av $TMP/$PRGNAM-$VERSION/$JPG-$JPGVER/ $TMP/$PRGNAM-$VERSION/third_party/libjpeg-turbo + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,40 +85,44 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; cmake -B build -S $TMP/$PRGNAM-$VERSION \ - -DBUILD_TESTING:BOOL='false' \ - -DENABLE_FUZZERS_DEFAULT:BOOL='false' \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DBUNDLE_LIBPNG_DEFAULT='NO' \ - -DCMAKE_BUILD_TYPE:STRING='Release' \ - -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib${LIBDIRSUFFIX} \ -DCMAKE_INSTALL_BINDIR:PATH=/usr/bin \ - -DCMAKE_INSTALL_MANDIR:PATH=/usr/man \ - -DBUILD_SHARED_LIBS:BOOL='true' \ - -DJPEGXL_ENABLE_JNI:BOOL='false' \ - -DJPEGXL_ENABLE_JPEGLI:BOOL='false' \ - -DJPEGXL_ENABLE_OPENEXR:BOOL='true' \ - -DJPEGXL_ENABLE_DEVTOOLS:BOOL='false' \ - -DJPEGXL_ENABLE_DOXYGEN:BOOL='false' \ - -DJPEGXL_ENABLE_MANPAGES:BOOL='true' \ - -DJPEGXL_ENABLE_SKCMS:BOOL='false' \ - -DJPEGXL_BUNDLE_SKCMS:BOOL='false' \ - -DJPEGXL_ENABLE_BENCHMARK:BOOL='false' \ - -DJPEGXL_ENABLE_EXAMPLES:BOOL='false' \ - -DJPEGXL_ENABLE_FUZZERS:BOOL='false' \ - -DJPEGXL_ENABLE_PLUGINS:BOOL='false' \ - -DJPEGXL_ENABLE_VIEWERS:BOOL='false' \ - -DJPEGXL_ENABLE_TOOLS:BOOL='true' \ - -DJPEGXL_ENABLE_SIZELESS_VECTORS:BOOL='false' \ - -DJPEGXL_ENABLE_TCMALLOC:BOOL='true' \ - -DJPEGXL_WARNINGS_AS_ERRORS:BOOL='false' \ - -DJPEGXL_FORCE_SYSTEM_BROTLI:BOOL='true' \ - -DJPEGXL_FORCE_SYSTEM_GTEST:BOOL='true' \ - -DJPEGXL_FORCE_SYSTEM_HWY:BOOL='true' \ - -DJPEGXL_FORCE_SYSTEM_LCMS2:BOOL='true' \ - -DJPEGXL_ENABLE_SJPEG:BOOL='false' \ - -DJPEGXL_STATIC:BOOL='false' + -DCMAKE_INSTALL_MANDIR:PATH=/usr/man \ + -DCMAKE_BUILD_TYPE:STRING=Release \ + -DJPEGXL_VERSION=$VERSION \ + -DJPEGXL_STATIC:BOOL=OFF \ + -DBUILD_TESTING:BOOL=OFF \ + -DENABLE_FUZZERS_DEFAULT:BOOL=OFF \ + -DBUNDLE_LIBPNG_DEFAULT:BOOL=OFF \ + -DJPEGXL_ENABLE_JNI:BOOL=OFF \ + -DJPEGXL_ENABLE_DEVTOOLS:BOOL=OFF \ + -DJPEGXL_ENABLE_DOXYGEN:BOOL=OFF \ + -DJPEGXL_ENABLE_SKCMS:BOOL=OFF \ + -DJPEGXL_BUNDLE_SKCMS:BOOL=OFF \ + -DJPEGXL_ENABLE_BENCHMARK:BOOL=OFF \ + -DJPEGXL_ENABLE_EXAMPLES:BOOL=OFF \ + -DJPEGXL_ENABLE_FUZZERS:BOOL=OFF \ + -DJPEGXL_ENABLE_VIEWERS:BOOL=OFF \ + -DJPEGXL_ENABLE_SIZELESS_VECTORS:BOOL=OFF \ + -DJPEGXL_WARNINGS_AS_ERRORS:BOOL=OFF \ + -DJPEGXL_ENABLE_SJPEG:BOOL=OFF \ + -DCMAKE_DISABLE_FIND_PACKAGE_JPEG:BOOL=OFF \ + -DJPEGXL_ENABLE_JPEGLI_LIBJPEG:BOOL=OFF \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DJPEGXL_ENABLE_MANPAGES:BOOL=ON \ + -DJPEGXL_ENABLE_PLUGINS:BOOL=ON \ + -DJPEGXL_ENABLE_TOOLS:BOOL=ON \ + -DJPEGXL_ENABLE_JPEGLI:BOOL=ON \ + -DJPEGXL_ENABLE_TCMALLOC:BOOL=ON \ + -DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF:BOOL=ON \ + -DJPEGXL_ENABLE_OPENEXR:BOOL=ON \ + -DJPEGXL_FORCE_SYSTEM_BROTLI:BOOL=ON \ + -DJPEGXL_FORCE_SYSTEM_GTEST:BOOL=ON \ + -DJPEGXL_FORCE_SYSTEM_HWY:BOOL=ON \ + -DJPEGXL_FORCE_SYSTEM_LCMS2:BOOL=ON make -C build DESTDIR="$PKG" install diff --git a/libraries/libjxl/libjxl.info b/libraries/libjxl/libjxl.info index 70764e835e..06cb3ed317 100644 --- a/libraries/libjxl/libjxl.info +++ b/libraries/libjxl/libjxl.info @@ -1,8 +1,10 @@ PRGNAM="libjxl" -VERSION="0.9.2" +VERSION="0.10.2" HOMEPAGE="https://jpeg.org/jpegxl/" -DOWNLOAD="https://github.com/libjxl/libjxl/archive/v0.9.2/libjxl-0.9.2.tar.gz" -MD5SUM="11ecf6dbf3a9afdf907becb016bf8e0c" +DOWNLOAD="https://github.com/libjxl/libjxl/archive/v0.10.2/libjxl-0.10.2.tar.gz \ + https://github.com/libjpeg-turbo/libjpeg-turbo/archive/3.0.2/libjpeg-turbo-3.0.2.tar.gz" +MD5SUM="e383b622cb2caef4dfcc8047f5a0fe72 \ + 94756db95bc2477f7f7dad1c2590b51f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gflags gperftools graphviz highway" diff --git a/libraries/libliftoff/libliftoff.SlackBuild b/libraries/libliftoff/libliftoff.SlackBuild index a27bf71e70..a4d25ff895 100644 --- a/libraries/libliftoff/libliftoff.SlackBuild +++ b/libraries/libliftoff/libliftoff.SlackBuild @@ -67,9 +67,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-v$VERSION-$COMMIT -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz -cd $PRGNAM-v$VERSION-$COMMIT +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 \ diff --git a/libraries/libliftoff/libliftoff.info b/libraries/libliftoff/libliftoff.info index 4f240361bd..126a9a6352 100644 --- a/libraries/libliftoff/libliftoff.info +++ b/libraries/libliftoff/libliftoff.info @@ -1,7 +1,7 @@ PRGNAM="libliftoff" VERSION="0.4.1" HOMEPAGE="https://gitlab.freedesktop.org/emersion/libliftoff" -DOWNLOAD="https://gitlab.freedesktop.org/emersion/libliftoff/-/archive/v0.4.1/libliftoff-0.4.1.tar.gz" +DOWNLOAD="https://gitlab.freedesktop.org/emersion/libliftoff/-/releases/v0.4.1/downloads/libliftoff-0.4.1.tar.gz" MD5SUM="5c5ef466a63cf7e00822341e424d7412" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/libmediainfo/libmediainfo.SlackBuild b/libraries/libmediainfo/libmediainfo.SlackBuild index a3e8b2db25..43ee81aec9 100644 --- a/libraries/libmediainfo/libmediainfo.SlackBuild +++ b/libraries/libmediainfo/libmediainfo.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libmediainfo -VERSION=${VERSION:-24.01} +VERSION=${VERSION:-24.04} SRCNAM=MediaInfoLib BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/libmediainfo/libmediainfo.info b/libraries/libmediainfo/libmediainfo.info index 4f9906165a..8d706d01a0 100644 --- a/libraries/libmediainfo/libmediainfo.info +++ b/libraries/libmediainfo/libmediainfo.info @@ -1,8 +1,8 @@ PRGNAM="libmediainfo" -VERSION="24.01" +VERSION="24.04" HOMEPAGE="https://mediaarea.net/MediaInfo" -DOWNLOAD="https://github.com/MediaArea/MediaInfoLib/archive/v24.01/MediaInfoLib-24.01.tar.gz" -MD5SUM="e981fd3c8b81bb4a8bb7f4a9585d75c5" +DOWNLOAD="https://github.com/MediaArea/MediaInfoLib/archive/v24.04/MediaInfoLib-24.04.tar.gz" +MD5SUM="f9e82666260756031b0f2d3244971e50" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libzen" diff --git a/libraries/libmseed/README b/libraries/libmseed/README index c88a649b88..505c155c10 100644 --- a/libraries/libmseed/README +++ b/libraries/libmseed/README @@ -1,9 +1,11 @@ libmseed (C library framework for manipulating SEED data records) -The Mini-SEED library provides a framework for manipulation of SEED -data records including the unpacking and packing of data records. -Functionality is also included for managing waveform data as continuous -traces. +The miniSEED library provides a framework for manipulation of SEED +data records, a format commonly used for seismological time series +and related data. -The library should work in Linux, BSD (and derivatives like macOS), -Solaris and Win32 environments. +The library includes the functionality to read and write data records, +in addition to reconstructing time series from multiple records. + +The library should work in Unix-like, Windows and potentially other +environments. diff --git a/libraries/libmseed/libmseed.SlackBuild b/libraries/libmseed/libmseed.SlackBuild index 9575f197f3..1ad49477c2 100644 --- a/libraries/libmseed/libmseed.SlackBuild +++ b/libraries/libmseed/libmseed.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libmseed -VERSION=${VERSION:-2.19.8} +VERSION=${VERSION:-3.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -84,15 +84,11 @@ make shared \ make install \ PREFIX=$PKG/usr \ LIBDIR=$PKG/usr/lib${LIBDIRSUFFIX} \ - MANDIR=$PKG/usr/man \ DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION 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 - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog INSTALL.md README.md README.byteorder $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/libmseed/libmseed.info b/libraries/libmseed/libmseed.info index 4cef542026..2e628c2539 100644 --- a/libraries/libmseed/libmseed.info +++ b/libraries/libmseed/libmseed.info @@ -1,8 +1,8 @@ PRGNAM="libmseed" -VERSION="2.19.8" -HOMEPAGE="https://github.com/iris-edu/libmseed" -DOWNLOAD="https://github.com/iris-edu/libmseed/archive/v2.19.8/libmseed-2.19.8.tar.gz" -MD5SUM="0b81f9003104e857ddcd5356267783f7" +VERSION="3.1.1" +HOMEPAGE="https://github.com/EarthScope/libmseed" +DOWNLOAD="https://github.com/EarthScope/libmseed/archive/v3.1.1/libmseed-3.1.1.tar.gz" +MD5SUM="a56b9fa52638d656eece85db8417642a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libmseed/slack-desc b/libraries/libmseed/slack-desc index f1d2cafcc0..f1244bb7d8 100644 --- a/libraries/libmseed/slack-desc +++ b/libraries/libmseed/slack-desc @@ -8,11 +8,11 @@ |-----handy-ruler------------------------------------------------------| libmseed: libmseed (C library framework for manipulating SEED data records) libmseed: -libmseed: libmseed is a C library framework for manipulating and managing -libmseed: SEED data records. The library should work in Linux, BSD (and -libmseed: derivatives like macOS), Solaris and Win32 environments. +libmseed: libmseed is a C library framework for manipulation of SEED data +libmseed: records. The library should work in Unix-like, Windows and +libmseed: potentially other environments. libmseed: -libmseed: Homepage: https://github.com/iris-edu/libmseed +libmseed: Homepage: https://github.com/EarthScope/libmseed libmseed: libmseed: libmseed: diff --git a/libraries/libp11/libp11.SlackBuild b/libraries/libp11/libp11.SlackBuild index 6f5ae85677..f53d212562 100644 --- a/libraries/libp11/libp11.SlackBuild +++ b/libraries/libp11/libp11.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libp11 -# Copyright 2016-2018 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com> +# Copyright 2016-2024 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libp11 -VERSION=${VERSION:-0.4.9} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.4.12} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libp11/libp11.info b/libraries/libp11/libp11.info index de2f844920..ff4d10feba 100644 --- a/libraries/libp11/libp11.info +++ b/libraries/libp11/libp11.info @@ -1,8 +1,8 @@ PRGNAM="libp11" -VERSION="0.4.9" +VERSION="0.4.12" HOMEPAGE="https://github.com/OpenSC/libp11/wiki" -DOWNLOAD="https://github.com/OpenSC/libp11/releases/download/libp11-0.4.9/libp11-0.4.9.tar.gz" -MD5SUM="757b23242758a52599cb35f61de11ba2" +DOWNLOAD="https://github.com/OpenSC/libp11/releases/download/libp11-0.4.12/libp11-0.4.12.tar.gz" +MD5SUM="2ec3c29523cc06ec60166b320c489c63" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libqtpas/changelog b/libraries/libqtpas/changelog index 156ad52fa6..24df36ea70 100644 --- a/libraries/libqtpas/changelog +++ b/libraries/libqtpas/changelog @@ -24,3 +24,7 @@ Bumped the build no. Upgraded to version 2.9 corresponding to the lazarus version 2.2.6-0 in SBo. + +26/04/2024: + +Update to use lazarus version 3.2-0 diff --git a/libraries/libqtpas/libqtpas.SlackBuild b/libraries/libqtpas/libqtpas.SlackBuild index ee0160a08a..b42fadb75f 100644 --- a/libraries/libqtpas/libqtpas.SlackBuild +++ b/libraries/libqtpas/libqtpas.SlackBuild @@ -29,7 +29,7 @@ BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} SRCNAM=${SRCNAM:-lazarus} -SRCVER=${SRCVER:-3.0} +SRCVER=${SRCVER:-3.2} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -61,7 +61,7 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="$PREPROCESS -march=i686 -mtune=i686 -O2 -fPIC $HARDENING" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="$PREPROCESS -march=x86-64 -mtune=native -O2 -fPIC $HARDENING" + SLKCFLAGS="$PREPROCESS -march=x86-64 -mtune=generic -O2 -fPIC $HARDENING" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" diff --git a/libraries/libqtpas/libqtpas.info b/libraries/libqtpas/libqtpas.info index 6e36b91df9..ec0dc8139a 100644 --- a/libraries/libqtpas/libqtpas.info +++ b/libraries/libqtpas/libqtpas.info @@ -1,8 +1,8 @@ PRGNAM="libqtpas" VERSION="2.15" HOMEPAGE="http://www.lazarus.freepascal.org/" -DOWNLOAD="http://downloads.sourceforge.net/lazarus/lazarus-3.0-0.tar.gz" -MD5SUM="d4130b835451e3a61df3a9d9603e8063" +DOWNLOAD="http://downloads.sourceforge.net/lazarus/lazarus-3.2-0.tar.gz" +MD5SUM="75b871d4d19d08570d2f282b0d8fed0e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/librepfunc/librepfunc.SlackBuild b/libraries/librepfunc/librepfunc.SlackBuild index 0f89fe34bc..2f4ec2353f 100644 --- a/libraries/librepfunc/librepfunc.SlackBuild +++ b/libraries/librepfunc/librepfunc.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=librepfunc -VERSION=${VERSION:-1.8.1} +VERSION=${VERSION:-1.10.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/librepfunc/librepfunc.info b/libraries/librepfunc/librepfunc.info index 3c47205f09..af3a723875 100644 --- a/libraries/librepfunc/librepfunc.info +++ b/libraries/librepfunc/librepfunc.info @@ -1,8 +1,8 @@ PRGNAM="librepfunc" -VERSION="1.8.1" +VERSION="1.10.0" HOMEPAGE="https://github.com/wirbel-at-vdr-portal/librepfunc" -DOWNLOAD="https://github.com/wirbel-at-vdr-portal/librepfunc/archive/1.8.1/librepfunc-1.8.1.tar.gz" -MD5SUM="8087573812dd396efb55cd0702b3faa8" +DOWNLOAD="https://github.com/wirbel-at-vdr-portal/librepfunc/archive/1.10.0/librepfunc-1.10.0.tar.gz" +MD5SUM="b1f52cb230907416628af27539e11923" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libscrypt/libscrypt.info b/libraries/libscrypt/libscrypt.info index c21f86b0a7..6d1340e814 100644 --- a/libraries/libscrypt/libscrypt.info +++ b/libraries/libscrypt/libscrypt.info @@ -1,7 +1,7 @@ PRGNAM="libscrypt" VERSION="1.20" HOMEPAGE="https://github.com/technion/libscrypt" -DOWNLOAD="https://github.com/technion/libscrypt/archive/v1.20.tar.gz" +DOWNLOAD="https://github.com/technion/libscrypt/archive/v1.20/libscrypt-1.20.tar.gz" MD5SUM="35c78aca7902061c49e5c517305b1534" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/libslirp/changelog b/libraries/libslirp/changelog index cb657bde2d..75f35d507e 100644 --- a/libraries/libslirp/changelog +++ b/libraries/libslirp/changelog @@ -13,3 +13,7 @@ Issues in the script were fixed. updated to version 4.7.0 Valgrind is an optional dependency for libslirp + +16/05/2024: + +updated to version 4.8.0 diff --git a/libraries/libslirp/libslirp.SlackBuild b/libraries/libslirp/libslirp.SlackBuild index 06b3fab202..36089f4bb3 100644 --- a/libraries/libslirp/libslirp.SlackBuild +++ b/libraries/libslirp/libslirp.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libslirp -# Copyright 2022-2023 Vijay Marcel +# Copyright 2022-2024 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libslirp -VERSION=${VERSION:-4.7.0} +VERSION=${VERSION:-4.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -92,10 +92,10 @@ cd .. rm -f $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 + | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG.md COPYRIGHT README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md COPYRIGHT README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libslirp/libslirp.info b/libraries/libslirp/libslirp.info index 6fbf9b27af..1dbe155bed 100644 --- a/libraries/libslirp/libslirp.info +++ b/libraries/libslirp/libslirp.info @@ -1,8 +1,8 @@ PRGNAM="libslirp" -VERSION="4.7.0" +VERSION="4.8.0" HOMEPAGE="https://gitlab.freedesktop.org/slirp/libslirp" -DOWNLOAD="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v4.7.0/libslirp-v4.7.0.tar.gz" -MD5SUM="8eb16991ab6145ca45e8393e9959a832" +DOWNLOAD="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v4.8.0/libslirp-v4.8.0.tar.gz" +MD5SUM="442988e931075fc45ed84c5ffc391073" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libspiro/README b/libraries/libspiro/README new file mode 100644 index 0000000000..1954b4de30 --- /dev/null +++ b/libraries/libspiro/README @@ -0,0 +1,7 @@ +Spiro is the creation of Raph Levien which simplifies the +drawing of beautiful curves.Using Bezier splines a artist can +easily draw curves with the same slope on either side of a curve +point. This library will take an array of spiro control points and +convert them into a series of bezier splines which can then be used +in myriad of ways the world has come to use beziers. + diff --git a/libraries/libspiro/libspiro.SlackBuild b/libraries/libspiro/libspiro.SlackBuild new file mode 100644 index 0000000000..80a17c9725 --- /dev/null +++ b/libraries/libspiro/libspiro.SlackBuild @@ -0,0 +1,118 @@ +#!/bin/bash + +# Slackware build script for libspiro + +# Copyright 2024 Vijay Marcel +# 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=libspiro +VERSION=${VERSION:-20221101} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=${SRCNAM:-libspiro-dist} + +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="-march=i586 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +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 {} \; + +autoreconf -fiv +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --with-gnu-ld \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +# Don't ship .la files: +rm -f $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 --remove-section=.comment --remove-section=.note 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 -pv $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING README README-GeorgeWilliams README-RaphLevien $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/libraries/libspiro/libspiro.info b/libraries/libspiro/libspiro.info new file mode 100644 index 0000000000..6b915f44a4 --- /dev/null +++ b/libraries/libspiro/libspiro.info @@ -0,0 +1,10 @@ +PRGNAM="libspiro" +VERSION="20221101" +HOMEPAGE="https://github.com/fontforge/libspiro" +DOWNLOAD="https://github.com/fontforge/libspiro/archive/20221101/libspiro-20221101.tar.gz" +MD5SUM="139c56bf560adf88df0f06c5795dc878" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/libraries/libspiro/slack-desc b/libraries/libspiro/slack-desc new file mode 100644 index 0000000000..330c013d1f --- /dev/null +++ b/libraries/libspiro/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +libspiro: libspiro (Draw Beautiful curves) +libspiro: +libspiro: Spiro is the creation of Raph Levien which simplifies the +libspiro: drawing of beautiful curves.Using Bezier splines a artist can +libspiro: easily draw curves with the same slope on either side of a curve +libspiro: point. This library will take an array of spiro control points and +libspiro: convert them into a series of bezier splines which can then be used +libspiro: in myriad of ways the world has come to use beziers. +libspiro: +libspiro: Homepage:https://github.com/fontforge/libspiro +libspiro: diff --git a/libraries/libtecla/libtecla.SlackBuild b/libraries/libtecla/libtecla.SlackBuild index c8d986e2f1..52476b6339 100644 --- a/libraries/libtecla/libtecla.SlackBuild +++ b/libraries/libtecla/libtecla.SlackBuild @@ -93,8 +93,8 @@ CXXFLAGS="$SLKCFLAGS" \ # Remove static sed -i "s|static shared|shared|" Makefile -make -make install prefix="$PKG/usr" LIBDIR="$PKG/usr/lib${LIBDIRSUFFIX}" MANDIR="$PKG/usr/man" +make -j1 +make -j1 install prefix="$PKG/usr" LIBDIR="$PKG/usr/lib${LIBDIRSUFFIX}" MANDIR="$PKG/usr/man" 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 diff --git a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild index 88aecdbe4e..74022eb530 100644 --- a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild +++ b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libtorrent-rasterbar VERSION=${VERSION:-1.2.19} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -89,7 +89,6 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR:PATH=lib${LIBDIRSUFFIX} \ -Dpython-bindings=ON \ - -Dpython-egg-info=ON \ -DCMAKE_BUILD_TYPE=Release .. make make install/strip DESTDIR=$PKG diff --git a/libraries/libuninameslist/README b/libraries/libuninameslist/README new file mode 100644 index 0000000000..e6954d1778 --- /dev/null +++ b/libraries/libuninameslist/README @@ -0,0 +1,5 @@ +This library contains large arrays with one entry for each +unicode code point.Each entry contains two strings, a name and +annotation. Either or both may be NULL.This contains a smaller +list of unicode blocks. + diff --git a/libraries/libuninameslist/libuninameslist.SlackBuild b/libraries/libuninameslist/libuninameslist.SlackBuild new file mode 100644 index 0000000000..c39ab375cd --- /dev/null +++ b/libraries/libuninameslist/libuninameslist.SlackBuild @@ -0,0 +1,118 @@ +#!/bin/bash + +# Slackware build script for libuninameslist + +# Copyright 2024 Vijay Marcel +# 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=libuninameslist +VERSION=${VERSION:-20230916} +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="-march=i586 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +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 {} \; + +autoreconf -fiv +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --enable-frenchlib \ + --with-gnu-ld \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +# Don't ship .la files: +rm -f $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 --remove-section=.comment --remove-section=.note 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 LICENSE 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/libraries/libuninameslist/libuninameslist.info b/libraries/libuninameslist/libuninameslist.info new file mode 100644 index 0000000000..ea0f8af881 --- /dev/null +++ b/libraries/libuninameslist/libuninameslist.info @@ -0,0 +1,10 @@ +PRGNAM="libuninameslist" +VERSION="20230916" +HOMEPAGE="https://github.com/fontforge/libuninameslist" +DOWNLOAD="https://github.com/fontforge/libuninameslist/archive/20230916/libuninameslist-20230916.tar.gz" +MD5SUM="f5e15126c9d01c9c54bdd15de7c82d53" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" diff --git a/libraries/libuninameslist/slack-desc b/libraries/libuninameslist/slack-desc new file mode 100644 index 0000000000..a0ebbbad81 --- /dev/null +++ b/libraries/libuninameslist/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +libuninameslist: libuninameslist (Unicode Names and Annotation Data Library) +libuninameslist: +libuninameslist: This library contains large arrays with one entry for each +libuninameslist: unicode code point.Each entry contains two strings, a name and +libuninameslist: annotation. Either or both may be NULL.This contains a smaller +libuninameslist: list of unicode blocks. +libuninameslist: +libuninameslist: +libuninameslist: Homepage:https://github.com/fontforge/libuninameslist +libuninameslist: +libuninameslist: diff --git a/libraries/libvterm/libvterm.SlackBuild b/libraries/libvterm/libvterm.SlackBuild index 34aa147774..0619642475 100644 --- a/libraries/libvterm/libvterm.SlackBuild +++ b/libraries/libvterm/libvterm.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libvterm VERSION=${VERSION:-0.3.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,6 +86,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a doc/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libvterm/libvterm.info b/libraries/libvterm/libvterm.info index c0c9acf72b..af056e9aaf 100644 --- a/libraries/libvterm/libvterm.info +++ b/libraries/libvterm/libvterm.info @@ -1,8 +1,8 @@ PRGNAM="libvterm" VERSION="0.3.3" HOMEPAGE="http://www.leonerd.org.uk/code/libvterm/" -DOWNLOAD="http://www.leonerd.org.uk/code/libvterm/libvterm-0.3.3.tar.gz" -MD5SUM="7d86578b4966ce6c622fb3662d3d3ee8" +DOWNLOAD="https://github.com/neovim/libvterm/archive/v0.3.3/libvterm-0.3.3.tar.gz" +MD5SUM="d2631d2599a0bd6795082ad567aa7d68" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libwebsocketpp/libwebsocketpp.info b/libraries/libwebsocketpp/libwebsocketpp.info index 8027105bf5..a65bd523da 100644 --- a/libraries/libwebsocketpp/libwebsocketpp.info +++ b/libraries/libwebsocketpp/libwebsocketpp.info @@ -1,7 +1,7 @@ PRGNAM="libwebsocketpp" VERSION="0.7.0" HOMEPAGE="https://github.com/zaphoyd/websocketpp/" -DOWNLOAD="https://github.com/zaphoyd/websocketpp/archive/0.7.0.tar.gz" +DOWNLOAD="https://github.com/zaphoyd/websocketpp/archive/0.7.0/websocketpp-0.7.0.tar.gz" MD5SUM="5027c20cde76fdaef83a74acfcf98e23" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/libwfut/libwfut.info b/libraries/libwfut/libwfut.info index afb92a7787..50a9dc7ccb 100644 --- a/libraries/libwfut/libwfut.info +++ b/libraries/libwfut/libwfut.info @@ -1,7 +1,7 @@ PRGNAM="libwfut" VERSION="0.2.3+c28cc3b" HOMEPAGE="https://launchpad.net/libwfut/" -DOWNLOAD="https://github.com/worldforge/libwfut/archive/c28cc3ba4021a051f51bb4109121c607911ece26.tar.gz" +DOWNLOAD="https://github.com/worldforge/libwfut/archive/c28cc3ba4021a051f51bb4109121c607911ece26/libwfut-c28cc3ba4021a051f51bb4109121c607911ece26.tar.gz" MD5SUM="80e3d1245b003aacede152cf8f32b693" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/libxmlb/libxmlb.SlackBuild b/libraries/libxmlb/libxmlb.SlackBuild index 026fdc3ffb..b7cf8065f1 100644 --- a/libraries/libxmlb/libxmlb.SlackBuild +++ b/libraries/libxmlb/libxmlb.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libxmlb -VERSION=${VERSION:-0.3.15} +VERSION=${VERSION:-0.3.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -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 {} \; +# Use newer meson +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages/ + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ meson \ diff --git a/libraries/libxmlb/libxmlb.info b/libraries/libxmlb/libxmlb.info index 908366a050..3f6c7c61d8 100644 --- a/libraries/libxmlb/libxmlb.info +++ b/libraries/libxmlb/libxmlb.info @@ -1,10 +1,10 @@ PRGNAM="libxmlb" -VERSION="0.3.15" +VERSION="0.3.19" HOMEPAGE="https://github.com/hughsie/libxmlb" -DOWNLOAD="https://github.com/hughsie/libxmlb/archive/0.3.15/libxmlb-0.3.15.tar.gz" -MD5SUM="8cec7081a7bb4db1eb38d8709d890035" +DOWNLOAD="https://github.com/hughsie/libxmlb/archive/0.3.19/libxmlb-0.3.19.tar.gz" +MD5SUM="4a66b1865538868efd902db6a9f27234" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-meson-opt" MAINTAINER="Andrew Clemons" EMAIL="andrew.clemons@gmail.com" diff --git a/libraries/lua-filesystem/lua-filesystem.info b/libraries/lua-filesystem/lua-filesystem.info index 2b159a4d5c..d5ac178358 100644 --- a/libraries/lua-filesystem/lua-filesystem.info +++ b/libraries/lua-filesystem/lua-filesystem.info @@ -1,7 +1,7 @@ PRGNAM="lua-filesystem" VERSION="1.6.3" HOMEPAGE="http://keplerproject.github.com/luafilesystem/" -DOWNLOAD="https://github.com/keplerproject/luafilesystem/archive/v_1_6_3.tar.gz" +DOWNLOAD="https://github.com/keplerproject/luafilesystem/archive/v_1_6_3/luafilesystem-v_1_6_3.tar.gz" MD5SUM="d0552c7e5a082f5bb2865af63fb9dc95" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/lua-md5/lua-md5.info b/libraries/lua-md5/lua-md5.info index 37fafff518..07382e377a 100644 --- a/libraries/lua-md5/lua-md5.info +++ b/libraries/lua-md5/lua-md5.info @@ -1,7 +1,7 @@ PRGNAM="lua-md5" VERSION="1.2" HOMEPAGE="http://keplerproject.github.io/md5/" -DOWNLOAD="https://github.com/keplerproject/md5/archive/v1.2.tar.gz" +DOWNLOAD="https://github.com/keplerproject/md5/archive/v1.2/md5-1.2.tar.gz" MD5SUM="c166f8a983401802a86655a8c733441e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/lua-readline/README b/libraries/lua-readline/README deleted file mode 100644 index 6effa3b8f8..0000000000 --- a/libraries/lua-readline/README +++ /dev/null @@ -1,5 +0,0 @@ -This Lua module offers a simple calling interface -to the GNU Readline/History Library. - -Optional Dependency: lua52, lua53. -Default support for all versions of Lua installed before build. diff --git a/libraries/lua-readline/lua-readline.SlackBuild b/libraries/lua-readline/lua-readline.SlackBuild deleted file mode 100644 index f2ec41e0ab..0000000000 --- a/libraries/lua-readline/lua-readline.SlackBuild +++ /dev/null @@ -1,109 +0,0 @@ -#!/bin/bash - -# Slackware build script for lua-readline -# Copyright 2021 abooksigun <abooksigun09@gmail.com> -# 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=lua-readline -SRCNAM=readline -VERSION=${VERSION:-2.9} -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 -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -LUAVERS="5.1 5.2 5.3 5.4" - -for luaver in $LUAVERS -do - if [ $luaver != 5.1 ]; then version=$luaver dir=lua$version; fi - if $(lua$version -v &> /dev/null) - then - gcc $SLKCFLAGS -I /usr/include/$dir -c C-readline.c -o C-readline.o - gcc $SLKCFLAGS -shared -o C-readline.so.$luaver C-readline.o - - install -D -m 0755 C-readline.so.$luaver $PKG/usr/lib$LIBDIRSUFFIX/lua/$luaver/C-readline.so - install -D -m 0644 readline.lua $PKG/usr/share/lua/$luaver/readline.lua - fi -done - -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 doc/readline.html $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/libraries/lua-readline/lua-readline.info b/libraries/lua-readline/lua-readline.info deleted file mode 100644 index 6c8455a684..0000000000 --- a/libraries/lua-readline/lua-readline.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="lua-readline" -VERSION="2.9" -HOMEPAGE="http://www.pjb.com.au/comp/lua/readline.html" -DOWNLOAD="http://www.pjb.com.au/comp/lua/readline-2.9.tar.gz" -MD5SUM="9423302e81cad9a2b9f0fbfd0b39b5a8" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="lua-posix" -MAINTAINER="abooksigun" -EMAIL="abooksigun09@gmail.com" diff --git a/libraries/lua-readline/slack-desc b/libraries/lua-readline/slack-desc deleted file mode 100644 index 566ea2ce2a..0000000000 --- a/libraries/lua-readline/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------------------------------------------------------| -lua-readline: lua-readline (Interface to the readline library) -lua-readline: -lua-readline: This Lua module offers a simple calling interface -lua-readline: to the GNU Readline/History Library. -lua-readline: -lua-readline: Homepage: http://www.pjb.com.au/comp/lua/readline.html -lua-readline: -lua-readline: -lua-readline: -lua-readline: -lua-readline: diff --git a/libraries/lua-zlib/lua-zlib.info b/libraries/lua-zlib/lua-zlib.info index 7dd388ce7f..4850711d5f 100644 --- a/libraries/lua-zlib/lua-zlib.info +++ b/libraries/lua-zlib/lua-zlib.info @@ -1,7 +1,7 @@ PRGNAM="lua-zlib" VERSION="20140201_c0014bc" HOMEPAGE="https://github.com/brimworks/lua-zlib" -DOWNLOAD="https://github.com/brimworks/lua-zlib/archive/c0014bcbc4c3fd65ba3519b10965f0c184c1a059.tar.gz" +DOWNLOAD="https://github.com/brimworks/lua-zlib/archive/c0014bcbc4c3fd65ba3519b10965f0c184c1a059/lua-zlib-c0014bcbc4c3fd65ba3519b10965f0c184c1a059.tar.gz" MD5SUM="3ba445324203e4e0beb2bc1cd93c547a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/luaevent/luaevent.info b/libraries/luaevent/luaevent.info index 61fe5131f0..092d887b88 100644 --- a/libraries/luaevent/luaevent.info +++ b/libraries/luaevent/luaevent.info @@ -1,7 +1,7 @@ PRGNAM="luaevent" VERSION="0.4.3" HOMEPAGE="https://github.com/harningt/luaevent" -DOWNLOAD="https://github.com/harningt/luaevent/archive/v0.4.3.tar.gz" +DOWNLOAD="https://github.com/harningt/luaevent/archive/v0.4.3/luaevent-0.4.3.tar.gz" MD5SUM="3d0efc3d3751fddecedba0c25e0652df" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild b/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild index dced673631..9f8403e6ec 100644 --- a/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild +++ b/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild @@ -4,7 +4,7 @@ # # Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # Copyright 2018-2022 Matteo Bernardini, Pisa, Italy. -# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/libraries/lxqt-build-tools/lxqt-build-tools.info b/libraries/lxqt-build-tools/lxqt-build-tools.info index c832f7d827..69a95e8278 100644 --- a/libraries/lxqt-build-tools/lxqt-build-tools.info +++ b/libraries/lxqt-build-tools/lxqt-build-tools.info @@ -1,6 +1,6 @@ PRGNAM="lxqt-build-tools" VERSION="0.13.0" -HOMEPAGE="https://github.com/lxde/lxqt-build-tools" +HOMEPAGE="https://github.com/lxqt/lxqt-build-tools" DOWNLOAD="https://github.com/lxqt/lxqt-build-tools/releases/download/0.13.0/lxqt-build-tools-0.13.0.tar.xz" MD5SUM="f434042d33af5b47d61afdd6f0677276" DOWNLOAD_x86_64="" diff --git a/libraries/lxqt-qtplugin/lxqt-qtplugin.SlackBuild b/libraries/lxqt-qtplugin/lxqt-qtplugin.SlackBuild index b291015091..8bdfdb7ec8 100644 --- a/libraries/lxqt-qtplugin/lxqt-qtplugin.SlackBuild +++ b/libraries/lxqt-qtplugin/lxqt-qtplugin.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for lxqt-qtplugin -# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lxqt-qtplugin -VERSION=${VERSION:-1.3.0} +VERSION=${VERSION:-1.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/lxqt-qtplugin/lxqt-qtplugin.info b/libraries/lxqt-qtplugin/lxqt-qtplugin.info index 1d3e7fee8f..88d27a54cb 100644 --- a/libraries/lxqt-qtplugin/lxqt-qtplugin.info +++ b/libraries/lxqt-qtplugin/lxqt-qtplugin.info @@ -1,8 +1,8 @@ PRGNAM="lxqt-qtplugin" -VERSION="1.3.0" +VERSION="1.4.1" HOMEPAGE="https://github.com/lxqt/lxqt-qtplugin" -DOWNLOAD="https://github.com/lxqt/lxqt-qtplugin/releases/download/1.3.0/lxqt-qtplugin-1.3.0.tar.xz" -MD5SUM="569bbb880942c3eeb1b08b8d4115365b" +DOWNLOAD="https://github.com/lxqt/lxqt-qtplugin/releases/download/1.4.1/lxqt-qtplugin-1.4.1.tar.xz" +MD5SUM="b2644cd53c16341013b3987077b6fec6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libfm-qt libqtxdg" diff --git a/libraries/md4c/md4c.SlackBuild b/libraries/md4c/md4c.SlackBuild index 1c3e48f377..71b8fa7a33 100644 --- a/libraries/md4c/md4c.SlackBuild +++ b/libraries/md4c/md4c.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for <appname> +# Slackware build script for md4c -# Copyright 2022 Steven Voges <svoges.sbo@gmail.com> +# Copyright 2022-2024 Steven Voges <Oregon, USA> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=md4c SRCNAM=md4c-release -VERSION=${VERSION:-0.4.8} +VERSION=${VERSION:-0.5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/md4c/md4c.info b/libraries/md4c/md4c.info index 08315ace4d..af0a76b327 100644 --- a/libraries/md4c/md4c.info +++ b/libraries/md4c/md4c.info @@ -1,8 +1,8 @@ PRGNAM="md4c" -VERSION="0.4.8" +VERSION="0.5.2" HOMEPAGE="https://github.com/mity/md4c" -DOWNLOAD="https://github.com/mity/md4c/archive/release-0.4.8/md4c-release-0.4.8.tar.gz" -MD5SUM="3a3d87255705dd812a679d329638a92d" +DOWNLOAD="https://github.com/mity/md4c/archive/release-0.5.2/md4c-release-0.5.2.tar.gz" +MD5SUM="8ead909cfe31884295e81e2eee32bac9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/mimalloc/mimalloc.SlackBuild b/libraries/mimalloc/mimalloc.SlackBuild index 7cde1378c7..8f87d83a0f 100644 --- a/libraries/mimalloc/mimalloc.SlackBuild +++ b/libraries/mimalloc/mimalloc.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mimalloc -VERSION=${VERSION:-2.1.2} +VERSION=${VERSION:-2.1.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/mimalloc/mimalloc.info b/libraries/mimalloc/mimalloc.info index 55cded1893..79cf6a1b71 100644 --- a/libraries/mimalloc/mimalloc.info +++ b/libraries/mimalloc/mimalloc.info @@ -1,8 +1,8 @@ PRGNAM="mimalloc" -VERSION="2.1.2" +VERSION="2.1.4" HOMEPAGE="https://github.com/microsoft/mimalloc" -DOWNLOAD="https://github.com/microsoft/mimalloc/archive/v2.1.2/mimalloc-2.1.2.tar.gz" -MD5SUM="5179c8f5cf1237d2300e2d8559a7bc55" +DOWNLOAD="https://github.com/microsoft/mimalloc/archive/v2.1.4/mimalloc-2.1.4.tar.gz" +MD5SUM="50f2e6e2bf0e92876bedf95cf5444d43" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/msgpack-c-c/README b/libraries/msgpack-c-c/README index bf28a832f9..4219870b84 100644 --- a/libraries/msgpack-c-c/README +++ b/libraries/msgpack-c-c/README @@ -1,16 +1,21 @@ MessagePack is an efficient binary serialisation format that lets you -exchange data among multiple languages like JSON. +exchange data among multiple languages like JSON. Versions later than 3.3.0 have separate C and C++ implementations. -This slackbuild builds only the C implementation of MessagePack. -If you need also the C++ implementation you have to build and install -the package msgpack-c-cpp even. Both packages can coexist. +This slackbuild builds only the C++ implementation of MessagePack as +header-only library. +If you need also the C implementation you have to build and install +the package msgpack-c-c even. Both packages can coexist. -Note: msgpack-c-c conflicts with the old msgpack-c package, that -implements both C and C++ but is based on old outdated release of +Note: msgpack-c-cpp conflicts with the old msgpack-c package, that +implements both C and C++ but is based on a old outdated release of msgpack-c. If you have msgpack-c version 3.3.0 in your system, please remove it before installing these package. This slackbuild is experimental because some slackbuilds that require msgpack-c should be updated. If your installed packages work still with the old msgpack-c for version 3.3.0, you should kept it. + +At the moment, this package is tested and strictly required by mmtf-cpp, +other slackbuilds based on msgpack-c could not work with this +installation. diff --git a/libraries/msgpack-c-c/msgpack-c-c.SlackBuild b/libraries/msgpack-c-c/msgpack-c-c.SlackBuild index 17468be352..6fdb6c3bc7 100644 --- a/libraries/msgpack-c-c/msgpack-c-c.SlackBuild +++ b/libraries/msgpack-c-c/msgpack-c-c.SlackBuild @@ -31,10 +31,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=msgpack-c-c -VERSION=${VERSION:-6.0.0} +VERSION=${VERSION:-6.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=msgpack-c if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -92,9 +93,9 @@ fi rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +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 \ @@ -107,7 +108,7 @@ sed -i ./CMakeLists.txt -e "s/VERSION 2.8.12/VERSION 3.5/g" mkdir -p build cd build cmake \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \ diff --git a/libraries/msgpack-c-c/msgpack-c-c.info b/libraries/msgpack-c-c/msgpack-c-c.info index 30e19a5774..74301ee2b3 100644 --- a/libraries/msgpack-c-c/msgpack-c-c.info +++ b/libraries/msgpack-c-c/msgpack-c-c.info @@ -1,8 +1,8 @@ PRGNAM="msgpack-c-c" -VERSION="6.0.0" +VERSION="6.0.1" HOMEPAGE="https://github.com/msgpack/msgpack-c" -DOWNLOAD="https://github.com/msgpack/msgpack-c/archive/c-6.0.0/c-6.0.0.tar.gz" -MD5SUM="25500d7a34944c4b3b7e7208f61fdac3" +DOWNLOAD="https://github.com/msgpack/msgpack-c/releases/download/c-6.0.1/msgpack-c-6.0.1.tar.gz" +MD5SUM="090df53a59b845767fcfc48221b30ee9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gtest" diff --git a/libraries/msgpack-c-cpp/README b/libraries/msgpack-c-cpp/README index 4219870b84..0848ebd417 100644 --- a/libraries/msgpack-c-cpp/README +++ b/libraries/msgpack-c-cpp/README @@ -3,8 +3,8 @@ exchange data among multiple languages like JSON. Versions later than 3.3.0 have separate C and C++ implementations. This slackbuild builds only the C++ implementation of MessagePack as -header-only library. -If you need also the C implementation you have to build and install +header-only library. +If you need also the C implementation you have to build and install the package msgpack-c-c even. Both packages can coexist. Note: msgpack-c-cpp conflicts with the old msgpack-c package, that diff --git a/libraries/msgpack-c-cpp/msgpack-c-cpp.SlackBuild b/libraries/msgpack-c-cpp/msgpack-c-cpp.SlackBuild index 6beefdd0d8..e26f4c46e8 100644 --- a/libraries/msgpack-c-cpp/msgpack-c-cpp.SlackBuild +++ b/libraries/msgpack-c-cpp/msgpack-c-cpp.SlackBuild @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=msgpack-c-cpp -VERSION=${VERSION:-6.1.0} +VERSION=${VERSION:-6.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -93,7 +93,7 @@ find -L . \ -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 {} \+ - + sed -i ./CMakeLists.txt -e "s/VERSION 3.1 FATAL_ERROR/VERSION 3.5 FATAL_ERROR/g" mkdir -p build diff --git a/libraries/msgpack-c-cpp/msgpack-c-cpp.info b/libraries/msgpack-c-cpp/msgpack-c-cpp.info index 1adc2baa10..aed8f36148 100644 --- a/libraries/msgpack-c-cpp/msgpack-c-cpp.info +++ b/libraries/msgpack-c-cpp/msgpack-c-cpp.info @@ -1,8 +1,8 @@ PRGNAM="msgpack-c-cpp" -VERSION="6.1.0" +VERSION="6.1.1" HOMEPAGE="https://github.com/msgpack/msgpack-c" -DOWNLOAD="https://github.com/msgpack/msgpack-c/archive/cpp-6.1.0/cpp-6.1.0.tar.gz" -MD5SUM="42cce30906229fc124bac04c502f1241" +DOWNLOAD="https://github.com/msgpack/msgpack-c/archive/cpp-6.1.1/msgpack-c-cpp-6.1.1.tar.gz" +MD5SUM="a0398798d8b9733bd5cd87a6d2f0b05f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/mygpoclient/mygpoclient.SlackBuild b/libraries/mygpoclient/mygpoclient.SlackBuild index 8196857746..6045c1ff15 100644 --- a/libraries/mygpoclient/mygpoclient.SlackBuild +++ b/libraries/mygpoclient/mygpoclient.SlackBuild @@ -2,7 +2,9 @@ # Slackware build script for mygpoclient -# Copyright 2024 Diniz Bortolotto <diniz.bortolotto@gmail.com> +# Copyright 2010-2017 Luis Henrique <lmello.009@gmail.com> +# Copyright 2018-2023 Chris Farrell <timcowchip@gorge.net> +# Copyright 2024- Diniz Bortolotto <diniz.bortolotto@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/libraries/mygpoclient/mygpoclient.info b/libraries/mygpoclient/mygpoclient.info index 87c3e34cbb..21039c87f5 100644 --- a/libraries/mygpoclient/mygpoclient.info +++ b/libraries/mygpoclient/mygpoclient.info @@ -1,7 +1,7 @@ PRGNAM="mygpoclient" VERSION="1.9" HOMEPAGE="https://github.com/gpodder/mygpoclient" -DOWNLOAD="https://github.com/gpodder/mygpoclient/archive/refs/tags/1.9.tar.gz" +DOWNLOAD="https://github.com/gpodder/mygpoclient/archive/1.9/mygpoclient-1.9.tar.gz" MD5SUM="c6f453c6f9be6eca935efe54e0db6556" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/netcdf-fortran/netcdf-fortran.info b/libraries/netcdf-fortran/netcdf-fortran.info index 56329347bd..846dbca401 100644 --- a/libraries/netcdf-fortran/netcdf-fortran.info +++ b/libraries/netcdf-fortran/netcdf-fortran.info @@ -1,7 +1,7 @@ PRGNAM="netcdf-fortran" VERSION="4.5.4" HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" -DOWNLOAD="https://github.com/Unidata/netcdf-fortran/archive/refs/tags/v4.5.4.tar.gz" +DOWNLOAD="https://github.com/Unidata/netcdf-fortran/archive/refs/tags/v4.5.4/netcdf-fortran-4.5.4.tar.gz" MD5SUM="77e1be413ab343f42a4a6e8b338b45d5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/nng/nng.SlackBuild b/libraries/nng/nng.SlackBuild index b85000e4b5..79e9122276 100644 --- a/libraries/nng/nng.SlackBuild +++ b/libraries/nng/nng.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=nng -VERSION=${VERSION:-1.6.0} +VERSION=${VERSION:-1.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/nng/nng.info b/libraries/nng/nng.info index c29dc48122..98339ffc94 100644 --- a/libraries/nng/nng.info +++ b/libraries/nng/nng.info @@ -1,8 +1,8 @@ PRGNAM="nng" -VERSION="1.6.0" +VERSION="1.8.0" HOMEPAGE="https://nng.nanomsg.org/" -DOWNLOAD="https://github.com/nanomsg/nng/archive/v1.6.0/nng-v1.6.0.tar.gz" -MD5SUM="1af544f3cc51c0d240e3dcd329333264" +DOWNLOAD="https://github.com/nanomsg/nng/archive/v1.8.0/nng-v1.8.0.tar.gz" +MD5SUM="6a8857856b9b15f0187ebcc5f7301b5a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/ode/ode.SlackBuild b/libraries/ode/ode.SlackBuild index 651d4eb876..f4f6cd9458 100644 --- a/libraries/ode/ode.SlackBuild +++ b/libraries/ode/ode.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2020 - 2023 Johannes Schoepfer, Germany +# Copyright 2020-2024 Johannes Schoepfer, Germany # All rights reserved. # Written by hollywoodb # Modified by the SlackBuilds.org project @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ode -VERSION=${VERSION:-0.16.4} +VERSION=${VERSION:-0.16.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/ode/ode.info b/libraries/ode/ode.info index c1f1bbd73b..981e6d0d8c 100644 --- a/libraries/ode/ode.info +++ b/libraries/ode/ode.info @@ -1,8 +1,8 @@ PRGNAM="ode" -VERSION="0.16.4" +VERSION="0.16.5" HOMEPAGE="https://ode.org/" -DOWNLOAD="https://bitbucket.org/odedevs/ode/downloads/ode-0.16.4.tar.gz" -MD5SUM="78509e7405c97181e73f9159b0e79406" +DOWNLOAD="https://bitbucket.org/odedevs/ode/downloads/ode-0.16.5.tar.gz" +MD5SUM="a4adcd39237b2ba813184c7148f3c895" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/onevpl/onevpl.SlackBuild b/libraries/onevpl/onevpl.SlackBuild index 59d91663c9..a7b40fdbad 100644 --- a/libraries/onevpl/onevpl.SlackBuild +++ b/libraries/onevpl/onevpl.SlackBuild @@ -34,7 +34,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=onevpl SRCNAM=libvpl -VERSION=${VERSION:-2023.4.0} +VERSION=${VERSION:-2.10.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/onevpl/onevpl.info b/libraries/onevpl/onevpl.info index e3787d3fd4..52b28a6758 100644 --- a/libraries/onevpl/onevpl.info +++ b/libraries/onevpl/onevpl.info @@ -1,10 +1,10 @@ PRGNAM="onevpl" -VERSION="2023.4.0" +VERSION="2.10.2" HOMEPAGE="https://www.intel.com/content/www/us/en/developer/tools/oneapi/onevpl.html" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/oneapi-src/oneVPL/archive/refs/tags/v2023.4.0/libvpl-2023.4.0.tar.gz" -MD5SUM_x86_64="a3543cebb39823cbfd8b30193bb99e1c" +DOWNLOAD_x86_64="https://github.com/oneapi-src/oneVPL/archive/refs/tags/v2.10.2/libvpl-2.10.2.tar.gz" +MD5SUM_x86_64="09d6347097590abd3e952619f5ed6316" REQUIRES="" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/libraries/opencl-amd/README b/libraries/opencl-amd/README index 135afae341..2dd51d4909 100644 --- a/libraries/opencl-amd/README +++ b/libraries/opencl-amd/README @@ -1,10 +1,9 @@ OpenCL userspace driver as provided in the amdgpu-pro driver stack and -intended to work along with the free amdgpu stack. It's a repackage -of AUR opencl-amd and don't provide the full amdgpu-pro stack. +intended to work along with the free amdgpu stack. +It's a repackage of AUR opencl-amd and don't provide the full +amdgpu-pro stack. -The Ubuntu 18.04 drivers can be downloaded using: - -/usr/bin/wget --referer \ -https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx \ ---timestamping \ -https://drivers.amd.com/drivers/linux/19.50/amdgpu-pro-19.50-967956-ubuntu-18.04.tar.xz +Current version: proprietary drivers 22.20.3 / ROCM 5.2.3 +This package works on Slackware 15 +For a newer libclc (18.1.2) which could be used in Slackware 15, see +libclc package. diff --git a/libraries/opencl-amd/opencl-amd.SlackBuild b/libraries/opencl-amd/opencl-amd.SlackBuild index 3bbdbaf980..e0e2193223 100644 --- a/libraries/opencl-amd/opencl-amd.SlackBuild +++ b/libraries/opencl-amd/opencl-amd.SlackBuild @@ -1,13 +1,12 @@ #!/bin/bash -# Copyright 2020 Ciprian Stingu <ciprian dot stingu at gmail dot com> +# Copyright 2024 Ciprian Stingu <ciprian dot stingu at gmail dot com> # Repackage of AUR : opencl-amd.git for Slackware +# Last version of OpenCL AMD drivers which works with GLIBC 2.33 # # Original credits of AUR : opencl-amd.git -# Maintainer: Christopher Snowhill <kode54 at gmail dot com> -# Contributor: ipha <ipha00 at gmail dot com> -# Contributor: johnnybash <georgpfahler at wachenzell dot org> -# Contributor: grmat <grmat at sub dot red> +# Maintainer: Carson Rueter <roachh at proton mail dot com> +# Co-Maintainer: George Sofianos # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -26,38 +25,26 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 20220301 bkw: Modified by SlackBuilds.org, BUILD=2: -# - do not include -$MINVER in the package filename: for one thing, -# dashes aren't allowed in package version numbers. -# - install shared libs executable. -# - include standard Slackware doc dir, with this SlackBuild in it. -# - include a copy of amdgpu.ids, rather than a symlink to the system one. - cd $(dirname $0) ; CWD=$(pwd) PRGNAM="opencl-amd" -VERSION=${VERSION:-19.50} -MINVER="967956" -AMDVER="2.4.99" -BUILD=${BUILD:-2} +VERSION=${VERSION:-22.20.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM="amdgpu-pro-${VERSION}-${MINVER}-ubuntu-18.04" -CLINFO_SHARED="opt/amdgpu-pro/bin" -OPENCL_SHARED="opt/amdgpu-pro/lib/x86_64-linux-gnu" -LIBDRM_SHARED="opt/amdgpu/lib/x86_64-linux-gnu" - -# Allow $ARCH to be preset before running the script. This is useful in the -# case where someone is running a 32-bit chroot environment under an x86_64 -# kernel: ARCH=${ARCH:-$(uname -m)} - case "$ARCH" in x86_64) DEBARCH="amd64" ; LIBDIRSUFFIX="64" ; ARCH=x86_64 ;; *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;; esac + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + if [ ! $UID = 0 ]; then cat << EOF @@ -67,82 +54,106 @@ EOF exit 1 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}" -SRCDIR="${TMP}/${SRCNAM}" +PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -rm -rf "${PKG}" -mkdir -p "${TMP}" "${PKG}" "${OUTPUT}" -cd "${TMP}" - -rm -rf ${SRCDIR} -tar -xf "${CWD}/${SRCNAM}.tar.xz" - -rm -rf "${TMP}/opencl" -rm -rf "${TMP}/libdrm" - #start AUR : opencl-amd.git -mkdir -p "${TMP}/opencl" -cd "${TMP}/opencl" -# clinfo -ar x "${SRCDIR}/clinfo-amdgpu-pro_${VERSION}-${MINVER}_${DEBARCH}.deb" -tar xJf "data.tar.xz" -# pal -ar x "${SRCDIR}/opencl-amdgpu-pro-icd_${VERSION}-${MINVER}_${DEBARCH}.deb" -tar xJf "data.tar.xz" -ar x "${SRCDIR}/opencl-amdgpu-pro-comgr_${VERSION}-${MINVER}_${DEBARCH}.deb" -tar xJf "data.tar.xz" -# orca -ar x "${SRCDIR}/opencl-orca-amdgpu-pro-icd_${VERSION}-${MINVER}_${DEBARCH}.deb" -tar xJf "data.tar.xz" -cd "${OPENCL_SHARED}" +exz() { +# echo "File:" $1 + ar x $1 data.tar.xz + tar xJf data.tar.xz + rm data.tar.xz +} + +egz() { +# echo "File:" $1 + ar x $1 data.tar.gz + tar xfx data.tar.gz + rm data.tar.gz +} + +AMDGPU="opt/amdgpu" +AMDGPU_PRO="opt/amdgpu-pro" + +# LIBDRM +exz "${CWD}/libdrm-amdgpu-amdgpu1_2.4.110.50203-1462318~22.04_${DEBARCH}.deb" +# ROCM +egz "${CWD}/rocm-core_5.2.3.50203-109_${DEBARCH}.deb" +egz "${CWD}/comgr_2.4.0.50203-109_${DEBARCH}.deb" +egz "${CWD}/hip-dev_5.2.21153.50203-109_${DEBARCH}.deb" +egz "${CWD}/hip-doc_5.2.21153.50203-109_${DEBARCH}.deb" +egz "${CWD}/hip-samples_5.2.21153.50203-109_${DEBARCH}.deb" +egz "${CWD}/hsakmt-roct-dev_20220426.1.026.50203-109_${DEBARCH}.deb" +egz "${CWD}/hsa-rocr_1.5.0.50203-109_${DEBARCH}.deb" +egz "${CWD}/hsa-rocr-dev_1.5.0.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocminfo_1.0.0.50203-109_${DEBARCH}.deb" +egz "${CWD}/hip-runtime-amd_5.2.21153.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocm-device-libs_1.0.0.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocm-language-runtime_5.2.3.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocm-hip-runtime_5.2.3.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocm-ocl-icd_2.0.0.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocm-opencl_2.0.0.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocm-opencl-dev_2.0.0.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocm-opencl-runtime_5.2.3.50203-109_${DEBARCH}.deb" +# ROCM DEV +egz "${CWD}/rocm-clang-ocl_0.5.0.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocm-smi-lib_5.0.0.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocm-cmake_0.7.3.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocm-dbgapi_0.65.1.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocm-debug-agent_2.0.3.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocm-utils_5.2.3.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocprofiler-dev_1.0.0.50203-109_${DEBARCH}.deb" +egz "${CWD}/roctracer-dev_1.0.0.50203-109_${DEBARCH}.deb" +egz "${CWD}/rocm-dev_5.2.3.50203-109_${DEBARCH}.deb" +egz "${CWD}/hsa-amd-aqlprofile_1.0.0.50203-109_${DEBARCH}.deb" +exz "${CWD}/openmp-extras_14.52.0.50203-109_${DEBARCH}.deb" +exz "${CWD}/rocm-gdb_11.2.50203-109_${DEBARCH}.deb" +# Proprietary +exz "${CWD}/opencl-legacy-amdgpu-pro-icd_22.20-1462318~22.04_${DEBARCH}.deb" + +cd ${CWD}/${AMDGPU_PRO}/lib/x86_64-linux-gnu sed -i "s|libdrm_amdgpu|libdrm_amdgpo|g" libamdocl-orca64.so -# libdrm -mkdir -p "${TMP}/libdrm" -cd "${TMP}/libdrm" -ar x "${SRCDIR}/libdrm-amdgpu-amdgpu1_${AMDVER}-${MINVER}_${DEBARCH}.deb" -tar xJf "data.tar.xz" -cd "${LIBDRM_SHARED}" + +cd ${CWD}/${AMDGPU}/lib/x86_64-linux-gnu rm "libdrm_amdgpu.so.1" mv "libdrm_amdgpu.so.1.0.0" "libdrm_amdgpo.so.1.0.0" -ln -s "libdrm_amdgpo.so.1.0.0" "libdrm_amdgpo.so.1" - -mv "${TMP}/opencl/etc" "${PKG}/" -mkdir -p "${PKG}/usr/lib${LIBDIRSUFFIX}" -mkdir -p "${PKG}/usr/bin" -# clinfo -mv "${TMP}/opencl/${CLINFO_SHARED}/clinfo" "${PKG}/usr/bin/" -# pal -mv "${TMP}/opencl/${OPENCL_SHARED}/libamdocl64.so" "${PKG}/usr/lib${LIBDIRSUFFIX}/" -mv "${TMP}/opencl/${OPENCL_SHARED}/libamd_comgr.so" "${PKG}/usr/lib${LIBDIRSUFFIX}/" -# orca -mv "${TMP}/opencl/${OPENCL_SHARED}/libamdocl-orca64.so" "${PKG}/usr/lib${LIBDIRSUFFIX}/" -mv "${TMP}/opencl/${OPENCL_SHARED}/libamdocl12cl64.so" "${PKG}/usr/lib${LIBDIRSUFFIX}/" -# libdrm -mv "${TMP}/libdrm/${LIBDRM_SHARED}/libdrm_amdgpo.so.1.0.0" "${PKG}/usr/lib${LIBDIRSUFFIX}/" -chmod 755 $PKG/usr/lib*/lib*.so* -mv "${TMP}/libdrm/${LIBDRM_SHARED}/libdrm_amdgpo.so.1" "${PKG}/usr/lib${LIBDIRSUFFIX}/" +ln -f -s "libdrm_amdgpo.so.1.0.0" "libdrm_amdgpo.so.1" + +# legacy +mkdir -p ${PKG}/usr/lib${LIBDIRSUFFIX} +mv "${CWD}/${AMDGPU_PRO}/lib/x86_64-linux-gnu/libamdocl-orca64.so" "${PKG}/usr/lib${LIBDIRSUFFIX}/" +rm -r "${CWD}/${AMDGPU_PRO}/" +mv "${CWD}/${AMDGPU}/lib/x86_64-linux-gnu/libdrm_amdgpo.so.1.0.0" "${PKG}/usr/lib${LIBDIRSUFFIX}/" +mv "${CWD}/${AMDGPU}/lib/x86_64-linux-gnu/libdrm_amdgpo.so.1" "${PKG}/usr/lib${LIBDIRSUFFIX}/" +rm -r "${CWD}/${AMDGPU}/" + +mv -b "${CWD}/opt/" "${PKG}/" +ln -f -s "rocm-5.2.3" "$PKG/opt/rocm" mkdir -p "${PKG}/opt/amdgpu/share/libdrm" cd "${PKG}/opt/amdgpu/share/libdrm" -cp "/usr/share/libdrm/amdgpu.ids" "amdgpu.ids" +ln -s -f /usr/share/libdrm/amdgpu.ids amdgpu.ids + +mkdir -p ${PKG}/etc/OpenCL/vendors +echo libamdocl64.so > "${PKG}/etc/OpenCL/vendors/amdocl64.icd" +echo libamdocl-orca64.so > "${PKG}/etc/OpenCL/vendors/amdocl-orca64.icd" +rm -r "${CWD}/etc" +rm -r "${CWD}/usr" -rm -rf "${TMP}/opencl" -rm -rf "${TMP}/libdrm" +mkdir -p ${PKG}/etc/ld.so.conf.d +echo /opt/rocm-5.2.3/opencl/lib > "$PKG/etc/ld.so.conf.d/opencl-amd.conf" +echo /opt/rocm-5.2.3/lib >> "$PKG/etc/ld.so.conf.d/opencl-amd.conf" +echo /opt/rocm-5.2.3/hip/lib >> "$PKG/etc/ld.so.conf.d/opencl-amd.conf" + +mkdir -p ${PKG}/etc/profile.d +echo export PATH="\${PATH}:/opt/rocm-5.2.3/bin:/opt/rocm-5.2.3/hip/bin" > "$PKG/etc/profile.d/opencl-amd.sh" #end AUR : opencl-amd.git +chmod 0755 $PKG/etc/profile.d/opencl-amd.sh mkdir -p "${PKG}/install" cat "${CWD}/slack-desc" > "${PKG}/install/slack-desc" -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - cd ${PKG} chown -R root:root . find -L . \ @@ -151,4 +162,4 @@ 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 {} \; -/sbin/makepkg -l y -c n "${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.$PKGTYPE" +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/libraries/opencl-amd/opencl-amd.info b/libraries/opencl-amd/opencl-amd.info index 4d1f18ec03..8ff03f005d 100644 --- a/libraries/opencl-amd/opencl-amd.info +++ b/libraries/opencl-amd/opencl-amd.info @@ -1,10 +1,70 @@ PRGNAM="opencl-amd" -VERSION="19.50" -HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx" +VERSION="22.20.3" +HOMEPAGE="https://docs.amd.com/bundle/ROCm-Release-Notes-v5.2/page/About_This_Document.html" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://ponce.cc/slackware/sources/repo/amdgpu-pro-19.50-967956-ubuntu-18.04.tar.xz" -MD5SUM_x86_64="aa0df956b488789896b82359ddb856c8" +DOWNLOAD_x86_64="https://repo.radeon.com/amdgpu/22.20.3/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.110.50203-1462318~22.04_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-core/rocm-core_5.2.3.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/c/comgr/comgr_2.4.0.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hip-dev/hip-dev_5.2.21153.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hip-doc/hip-doc_5.2.21153.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hip-samples/hip-samples_5.2.21153.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hsakmt-roct-dev/hsakmt-roct-dev_20220426.1.026.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hsa-rocr/hsa-rocr_1.5.0.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hsa-rocr-dev/hsa-rocr-dev_1.5.0.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocminfo/rocminfo_1.0.0.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hip-runtime-amd/hip-runtime-amd_5.2.21153.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-device-libs/rocm-device-libs_1.0.0.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-language-runtime/rocm-language-runtime_5.2.3.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-hip-runtime/rocm-hip-runtime_5.2.3.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-ocl-icd/rocm-ocl-icd_2.0.0.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-opencl/rocm-opencl_2.0.0.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-opencl-dev/rocm-opencl-dev_2.0.0.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-opencl-runtime/rocm-opencl-runtime_5.2.3.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-clang-ocl/rocm-clang-ocl_0.5.0.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/o/openmp-extras/openmp-extras_14.52.0.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-smi-lib/rocm-smi-lib_5.0.0.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-cmake/rocm-cmake_0.7.3.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-dbgapi/rocm-dbgapi_0.65.1.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-debug-agent/rocm-debug-agent_2.0.3.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-gdb/rocm-gdb_11.2.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-utils/rocm-utils_5.2.3.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocprofiler-dev/rocprofiler-dev_1.0.0.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/roctracer-dev/roctracer-dev_1.0.0.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-dev/rocm-dev_5.2.3.50203-109_amd64.deb \ + https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.50203-109_amd64.deb \ + https://repo.radeon.com/amdgpu/22.20.3/ubuntu/pool/proprietary/o/opencl-legacy-amdgpu-pro/opencl-legacy-amdgpu-pro-icd_22.20-1462318~22.04_amd64.deb" +MD5SUM_x86_64="cd291312140d06b001381991c3e6ce24 \ + 9e9e454b2f01499b37e4776530eec533 \ + b403a97a58f7d3802638e15dc8a566b2 \ + 95fbf52417c61aa2d441294af3fec030 \ + 363fc77283f55ba4e586f6026b06ff66 \ + 7f0c535e5044f79d9e1ba84a63ca6ebf \ + ce728c0a2da5e76813cedbaaeee11d6a \ + ed125f553e809c57a5cbed66e5937b33 \ + 68390897e6a4e504bf1e6360ae959f1b \ + 0c06b99160d3491a9247b9a645769e5f \ + f6d5573414d7125d960ca69b0bd8f9a3 \ + 82d3a0780387c3cac6954bd16b12f9d5 \ + e68951700313b6df59ed10c4dbc6489c \ + e71692c2c3cb0d68db58601773305bba \ + 92f6a45225dff496b5388037f4f9b00c \ + 663bc9a9d4a3697df7c24767a24e1e26 \ + ad278038e217d2ec6dfa7f2507dddbff \ + af6ad62ba60ba4137ea8af7ddcee8a5b \ + 8fd3394fec76d9ceaadf3f24cf5ae5dd \ + 7cfbac553e7190c616c94dc0c53b7cdb \ + e8856743812ca9b88e482573cad8dead \ + 680a433e33bba898e48f1155a235d9ce \ + 95de9c5569503fb51695b324b49645df \ + 7a841083b35338a757e63341ffd5ad29 \ + b2c9710cb14f27a9314c39977d234c03 \ + 5c15a2d94b8a6a20c4f336657df1382a \ + fd19d8932d7e1e70b313d075cedfc611 \ + 1a7f89261b907965aba5134fda33e973 \ + 4a28be2fdacfb192981e52bd5f3c517a \ + a9f174669faabb44f696d2ec235d654e \ + 214f5f10b8806a1d6977af2a3a241493" REQUIRES="" MAINTAINER="Ciprian Stingu" EMAIL="ciprian dot stingu at gmail dot com" diff --git a/libraries/opencl-amd/slack-desc b/libraries/opencl-amd/slack-desc index ee2d33b540..2e8d0dafc5 100644 --- a/libraries/opencl-amd/slack-desc +++ b/libraries/opencl-amd/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -opencl-amd: opencl-amd (OpenCL Userspace Driver) +opencl-amd: opencl-amd (AMD OpenCL driver) opencl-amd: -opencl-amd: OpenCL userspace driver as provided in the amdgpu-pro driver stack -opencl-amd: This package is intended to work along with the free amdgpu stack +opencl-amd: ROCr OpenCL stack, supports Vega 10 and later products +opencl-amd: - Legacy OpenCL stack (Proprietary), supports legacy products +opencl-amd: older than Vega 10 - This package is intended to work +opencl-amd: along with the free amdgpu stack. opencl-amd: -opencl-amd: -opencl-amd: -opencl-amd: Homepage: https://support.amd.com/en-us/kb-articles/Pages/ -opencl-amd: AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx +opencl-amd: Homepage: https://docs.amd.com/bundle/ROCm-Release-Notes-v5.2/ +opencl-amd: page/About_This_Document.html opencl-amd: opencl-amd: diff --git a/libraries/openvdb/openvdb.info b/libraries/openvdb/openvdb.info index f27cbec8cb..88e5891ac6 100644 --- a/libraries/openvdb/openvdb.info +++ b/libraries/openvdb/openvdb.info @@ -1,10 +1,10 @@ PRGNAM="openvdb" VERSION="10.0.1" HOMEPAGE="https://github.com/AcademySoftwareFoundation/openvdb/" -DOWNLOAD="https://github.com/AcademySoftwareFoundation/openvdb/archive/v10.0.1/openvdb-10.0.1.tar.gz" -MD5SUM="0239ff0c912a3eac76bd6a4ae1b03522" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/AcademySoftwareFoundation/openvdb/archive/v10.0.1/openvdb-10.0.1.tar.gz" +MD5SUM_x86_64="0239ff0c912a3eac76bd6a4ae1b03522" REQUIRES="c-blosc tbb glfw3" MAINTAINER="Lockywolf" EMAIL="for_sbo.openvdb_2023-07-12@lockywolf.net" diff --git a/libraries/openvino/README b/libraries/openvino/README new file mode 100644 index 0000000000..5370ef436e --- /dev/null +++ b/libraries/openvino/README @@ -0,0 +1,9 @@ +OpenVINO is an open-source toolkit for optimizing and deploying AI +inference. + +Supported hardware: +https://docs.openvino.ai/2024/about-openvino/system-requirements.html + +The dependency oneTBB needs to be compiled with its optional +dependency hwloc, otherwise libtbbbind-2.5 is missing and openvino +will fail to build. diff --git a/libraries/openvino/openvino.SlackBuild b/libraries/openvino/openvino.SlackBuild new file mode 100644 index 0000000000..e05fe6fbfa --- /dev/null +++ b/libraries/openvino/openvino.SlackBuild @@ -0,0 +1,181 @@ +#!/bin/bash + +# Slackware build script for openvino + +# Copyright 2024 Johannes Schoepfer, Germany +# 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=openvino +VERSION=${VERSION:-2024.1.0} +VERSION_FLATBUFFERS=24.3.25 +VERSION_ONNX=1.16.0 +VERSION_ITTAPI=3.24.4 +COMMIT_ONEDNN=26633ae49edd4353a29b7170d9fcef6b2d79f4b3 +COMMIT_MLAS=d1bc25ec4660cddd87804fcf03b2411b5dfb2e94 +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" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "arm" ]; then + SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" + LIBDIRSUFFIX="" +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.?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 {} + + +# Flatbuffers from SBo provide broken cmake files(static-lib removed but static-lib-cmake-files not removed) +( +cd thirdparty/flatbuffers/ +rmdir flatbuffers +tar vxf $CWD/flatbuffers-$VERSION_FLATBUFFERS.tar.gz +ln -s flatbuffers-$VERSION_FLATBUFFERS flatbuffers +) +## onnx frontend +( +cd thirdparty/onnx/ +rmdir onnx +tar vxf $CWD/onnx-$VERSION_ONNX.tar.gz +ln -s onnx-$VERSION_ONNX onnx +) +# ittapi +( +cd thirdparty/ittapi/ +rmdir ittapi +tar vxf $CWD/ittapi-$VERSION_ITTAPI.tar.gz +ln -s ittapi-$VERSION_ITTAPI ittapi +) +# mlas for cpu inference device +( +cd src/plugins/intel_cpu/thirdparty +rmdir mlas +tar vxf $CWD/mlas-$COMMIT_MLAS.tar.gz +ln -s mlas-$COMMIT_MLAS mlas +) +# oneDNN for cpu inference device +# oneDNN supports 64 bit platforms only +if [ "$LIBDIRSUFFIX" == 64 ]; then + CPU=ON + GPU=ON + ( + cd src/plugins/intel_cpu/thirdparty + rmdir onednn + tar vxf $CWD/oneDNN-$COMMIT_ONEDNN.tar.gz + ln -s oneDNN-$COMMIT_ONEDNN onednn + ) + # oneDNN for gpu inference device, original project + ( + cd src/plugins/intel_gpu/thirdparty + rmdir onednn_gpu + tar vxf $CWD/oneDNN-$COMMIT_ONEDNN.tar.gz + ln -s oneDNN-$COMMIT_ONEDNN onednn + ) +else + CPU=OFF + GPU=OFF +fi + +mkdir -p build +cd build + unshare -n cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_STANDARD=17 \ + -DCMAKE_INSTALL_PREFIX=/usr/share/openvino \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DONNX_ML=ON \ + -DENABLE_SYSTEM_SNAPPY=ON \ + -DENABLE_SYSTEM_TBB=ON \ + -DENABLE_SYSTEM_PROTOBUF=ON \ + -DENABLE_SYSTEM_PUGIXML=ON \ + -DProtobuf_LIBRARY=/usr/lib$LIBDIRSUFFIX/libprotobuf.so \ + -DENABLE_PROFILING_ITT=ON \ + -DENABLE_TBBBIND_2_5=OFF \ + -DENABLE_JS=OFF \ + -DENABLE_SAMPLES=OFF \ + -DENABLE_INTEL_CPU=$CPU \ + -DENABLE_INTEL_GPU=$GPU \ + -DENABLE_INTEL_NPU=OFF \ + -DENABLE_ONEDNN_FOR_GPU=OFF \ + -Wno-dev \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. + +# We don't build samples, so we remove samples stub files +rm -rf $PKG/usr/share/openvino/samples + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.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/libraries/openvino/openvino.info b/libraries/openvino/openvino.info new file mode 100644 index 0000000000..01a9c32ad4 --- /dev/null +++ b/libraries/openvino/openvino.info @@ -0,0 +1,20 @@ +PRGNAM="openvino" +VERSION="2024.1.0" +HOMEPAGE="https://github.com/openvinotoolkit/openvino/" +DOWNLOAD="https://github.com/openvinotoolkit/openvino/archive/2024.1.0/openvino-2024.1.0.tar.gz \ + https://github.com/openvinotoolkit/mlas/archive/d1bc25e/mlas-d1bc25ec4660cddd87804fcf03b2411b5dfb2e94.tar.gz \ + https://github.com/openvinotoolkit/onednn/archive/26633ae/oneDNN-26633ae49edd4353a29b7170d9fcef6b2d79f4b3.tar.gz \ + https://github.com/google/flatbuffers/archive/v24.3.25/flatbuffers-24.3.25.tar.gz \ + https://github.com/onnx/onnx/archive/v1.16.0/onnx-1.16.0.tar.gz \ + https://github.com/intel/ittapi/archive/v3.24.4/ittapi-3.24.4.tar.gz" +MD5SUM="459481c0b3f7fe3fcc2be799fe413308 \ + 0e87473410db355fd9251a2e1337dc32 \ + 2cbdb4f80608959b3c013bab745bb807 \ + f28f12fc16c72f4e7c22066a35405c3a \ + 5ef5a7bd4f9dad914bddc3b4335a67cd \ + aec402d3441bb8ecb9c8e75bab6cc102" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="protobuf3 oneTBB xbyak pugixml snappy pybind11 OpenCL-CLHPP" +MAINTAINER="Johannes Schoepfer" +EMAIL="slackbuilds@schoepfer.info" diff --git a/libraries/openvino/slack-desc b/libraries/openvino/slack-desc new file mode 100644 index 0000000000..d5180cdf26 --- /dev/null +++ b/libraries/openvino/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +openvino: openvino (toolkit for optimizing and deploying AI inference) +openvino: +openvino: OpenVINO is an open-source toolkit for optimizing and deploying AI +openvino: inference. +openvino: +openvino: Supported hardware: +openvino: https://docs.openvino.ai/2024/about-openvino/system-requirements.html +openvino: +openvino: +openvino: https://github.com/openvinotoolkit/openvino/ +openvino: diff --git a/libraries/pcl/pcl.SlackBuild b/libraries/pcl/pcl.SlackBuild index c99211b384..fad32479ee 100644 --- a/libraries/pcl/pcl.SlackBuild +++ b/libraries/pcl/pcl.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2017 Nikolay Nikolov <nikobnikolov[at]gmail[dot]com> # All rights reserved. -# Copyright 2019 Chriastoph Willing Brisbane, Australia +# Copyright 2019-2024 Christoph Willing Sydney, Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pcl -VERSION=${VERSION:-1.12.1} +VERSION=${VERSION:-1.14.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/pcl/pcl.info b/libraries/pcl/pcl.info index 02a97014de..5a6657f92c 100644 --- a/libraries/pcl/pcl.info +++ b/libraries/pcl/pcl.info @@ -1,8 +1,8 @@ PRGNAM="pcl" -VERSION="1.12.1" +VERSION="1.14.0" HOMEPAGE="http://www.pointclouds.org/" -DOWNLOAD="https://github.com/PointCloudLibrary/pcl/archive/pcl-1.12.1/pcl-pcl-1.12.1.tar.gz" -MD5SUM="eb1be79330872f9674c9850bb35023bf" +DOWNLOAD="https://github.com/PointCloudLibrary/pcl/archive/pcl-1.14.0/pcl-pcl-1.14.0.tar.gz" +MD5SUM="b0a73380e878837916a782c8ee807ab6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="flann VTK" diff --git a/libraries/python-xlrd/python-xlrd.SlackBuild b/libraries/python-xlrd/python-xlrd.SlackBuild index 8fac848819..2a6a1bfa39 100644 --- a/libraries/python-xlrd/python-xlrd.SlackBuild +++ b/libraries/python-xlrd/python-xlrd.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xlrd -# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-xlrd SCRNAM=$(echo $PRGNAM | cut -c8-11) -VERSION=${VERSION:-1.1.0} +VERSION=${VERSION:-2.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,7 +80,8 @@ 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 {} \; -python setup.py install --root=$PKG +python2 setup.py install --root=$PKG +python3 setup.py install --root=$PKG if $(python3 -c 'import sys' 2>/dev/null); then python3 setup.py install --root=$PKG @@ -90,7 +91,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a PKG-INFO README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/python-xlrd/python-xlrd.info b/libraries/python-xlrd/python-xlrd.info index b080ab21e9..fb284b4ff7 100644 --- a/libraries/python-xlrd/python-xlrd.info +++ b/libraries/python-xlrd/python-xlrd.info @@ -1,10 +1,10 @@ PRGNAM="python-xlrd" -VERSION="1.1.0" +VERSION="2.0.1" HOMEPAGE="http://www.python-excel.org/" -DOWNLOAD="https://pypi.python.org/packages/86/cf/bb010f16cefa8f26ac9329ca033134bcabc7a27f5c3d8de961bacc0f80b3/xlrd-1.1.0.tar.gz" -MD5SUM="b85c9916ac755cad489a9005f5a0d390" +DOWNLOAD="https://files.pythonhosted.org/packages/a6/b3/19a2540d21dea5f908304375bd43f5ed7a4c28a370dc9122c565423e6b44/xlrd-2.0.1.tar.gz" +MD5SUM="ae3f951c857a490d432f0a7d722352bf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" diff --git a/libraries/python3-plumbum/python3-plumbum.SlackBuild b/libraries/python3-plumbum/python3-plumbum.SlackBuild index c0b05b63d8..e2e122d53b 100644 --- a/libraries/python3-plumbum/python3-plumbum.SlackBuild +++ b/libraries/python3-plumbum/python3-plumbum.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-plumbum -# Copyright 2022-2023 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-plumbum SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-1.8.2} +VERSION=${VERSION:-1.8.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,23 +50,6 @@ 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 - set -e rm -rf $PKG diff --git a/libraries/python3-plumbum/python3-plumbum.info b/libraries/python3-plumbum/python3-plumbum.info index 71c973a35d..dffb0c0c36 100644 --- a/libraries/python3-plumbum/python3-plumbum.info +++ b/libraries/python3-plumbum/python3-plumbum.info @@ -1,8 +1,8 @@ PRGNAM="python3-plumbum" -VERSION="1.8.2" +VERSION="1.8.3" HOMEPAGE="http://plumbum.readthedocs.org" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/plumbum/plumbum-1.8.2.tar.gz" -MD5SUM="9484ac142c2a637e5d397040a22a6907" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/plumbum/plumbum-1.8.3.tar.gz" +MD5SUM="02ac5ff47e1a20105b24e9f9b6be3b8e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatch_vcs" diff --git a/libraries/pytorch/README b/libraries/pytorch/README new file mode 100644 index 0000000000..34bcd6aac5 --- /dev/null +++ b/libraries/pytorch/README @@ -0,0 +1,7 @@ +Deep neural networks built on a tape-based autograd system. + +CUDA(nvidia GPU) support is untested, but might be picked up +at buildtime if the environment is present. + +Optional autodetected dependencies: +OpenBLAS || blas diff --git a/libraries/pytorch/pytorch.SlackBuild b/libraries/pytorch/pytorch.SlackBuild new file mode 100644 index 0000000000..30ac0a2b9f --- /dev/null +++ b/libraries/pytorch/pytorch.SlackBuild @@ -0,0 +1,131 @@ +#!/bin/bash + +# Slackware build script for pytorch + +# Copyright 2024 Johannes Schoepfer, Germany +# 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=pytorch +VERSION=${VERSION:-2.3.0} +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 [ ! -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" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "arm" ]; then + SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" +else + SLKCFLAGS="-O2" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-v$VERSION +tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz +cd $PRGNAM-v$VERSION +chown -R root:root . +chmod -R u+w,go-w,a+rX-st $PKG + +# Fix cmake libdir location +sed -i c10/CMakeLists.txt \ + -e "s;DESTINATION lib;DESTINATION lib$LIBDIRSUFFIX;g" + +# Make Vulkan Warnings not to make the build fail +sed -i "/Werror=return-type/d" CMakeLists.txt + +# When compiled with icecream, building dnnl-mkl outputs errors like "unspellable token PRAGMA_EOL". +# This seems harmless as these get recompiled again locally, but it slows down the building process. +# See https://github.com/icecc/icecream/issues/336 + +export USE_NNPACK=0 +python3 setup.py build --cmake-only + +cd build + unshare -n cmake \ + -G Ninja \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_STANDARD=17 \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DLIBSHM_INSTALL_LIB_SUBDIR="lib$LIBDIRSUFFIX" \ + -DTORCH_INSTALL_LIB_DIR="lib$LIBDIRSUFFIX" \ + -DPYTHON_EXECUTABLE=$(which python3) \ + -DBUILD_CUSTOM_PROTOBUF=OFF \ + -DBUILD_TEST=OFF \ + -DUSE_FFMPEG=ON \ + -DUSE_GOLD_LINKER=ON \ + -DUSE_NNPACK=OFF \ + -DUSE_OPENCL=ON \ + -DUSE_OPENCV=ON \ + -DUSE_VULKAN=ON \ + -DCMAKE_BUILD_TYPE=Release .. + "${NINJA:=ninja}" + DESTDIR=tmpxxx $NINJA install/strip + + mkdir -p $PKG/usr + mv tmpxxx/usr/bin $PKG/usr + mkdir -p $PKG/usr/lib$LIBDIRSUFFIX + mv tmpxxx/usr/lib$LIBDIRSUFFIX/*.so $PKG/usr/lib$LIBDIRSUFFIX +cd .. +python3 setup.py install --root=$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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE NOTICE README.md RELEASE.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/libraries/pytorch/pytorch.info b/libraries/pytorch/pytorch.info new file mode 100644 index 0000000000..175aa944be --- /dev/null +++ b/libraries/pytorch/pytorch.info @@ -0,0 +1,10 @@ +PRGNAM="pytorch" +VERSION="2.3.0" +HOMEPAGE="https://pytorch.org/" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/pytorch/pytorch/releases/download/v2.3.0/pytorch-v2.3.0.tar.gz" +MD5SUM_x86_64="786047d07da744410eb41493a1cd0687" +REQUIRES="protobuf3 typing-extensions" +MAINTAINER="Johannes Schoepfer" +EMAIL="slackbuilds@schoepfer.info" diff --git a/libraries/pytorch/slack-desc b/libraries/pytorch/slack-desc new file mode 100644 index 0000000000..72ee22b524 --- /dev/null +++ b/libraries/pytorch/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +pytorch: pytorch (Tensors and Dynamic neural networks in Python) +pytorch: +pytorch: Deep neural networks built on a tape-based autograd system. +pytorch: +pytorch: This package is a library build, supporting CPU(not GPU). +pytorch: +pytorch: +pytorch: +pytorch: +pytorch: https://pytorch.org +pytorch: diff --git a/libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.SlackBuild b/libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.SlackBuild index 70e57cf688..14977111f0 100644 --- a/libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.SlackBuild +++ b/libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=qt-jpegxl-image-plugin -VERSION=${VERSION:-0.6.0} +VERSION=${VERSION:-0.6.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,13 +49,10 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=$ARCH -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e @@ -76,10 +73,7 @@ find -L . \ cmake -B build -S $TMP/$PRGNAM-$VERSION \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DJPEGXL_ENABLE_PLUGINS:BOOL=ON \ -DBUILD_TESTING:BOOL=OFF \ - -DJPEGXL_WARNINGS_AS_ERRORS:BOOL=OFF \ - -DJPEGXL_ENABLE_SJPEG:BOOL=OFF \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DCMAKE_BUILD_TYPE=Release diff --git a/libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.info b/libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.info index 823a10a7e0..159a8a77b5 100644 --- a/libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.info +++ b/libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.info @@ -1,8 +1,8 @@ PRGNAM="qt-jpegxl-image-plugin" -VERSION="0.6.0" +VERSION="0.6.2" HOMEPAGE="https://github.com/novomesk/qt-jpegxl-image-plugin" -DOWNLOAD="https://github.com/novomesk/qt-jpegxl-image-plugin/archive/refs/tags/v0.6.0/qt-jpegxl-image-plugin-0.6.0.tar.gz" -MD5SUM="119c1c15593286a8443933624e41bd4e" +DOWNLOAD="https://github.com/novomesk/qt-jpegxl-image-plugin/archive/refs/tags/v0.6.2/qt-jpegxl-image-plugin-0.6.2.tar.gz" +MD5SUM="5a5532e936fc6751a2a9b5c81c680ce3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libjxl" diff --git a/libraries/qt5gtk2/README b/libraries/qt5gtk2/README new file mode 100644 index 0000000000..469995df24 --- /dev/null +++ b/libraries/qt5gtk2/README @@ -0,0 +1,4 @@ +GTK+2.0 integration plugin for Qt5. + +qt5gtk2 contains a newer gtk2 integration theme than that from +qt5-styleplugins. diff --git a/libraries/qt5gtk2/qt5gtk2.SlackBuild b/libraries/qt5gtk2/qt5gtk2.SlackBuild new file mode 100644 index 0000000000..1fa574f679 --- /dev/null +++ b/libraries/qt5gtk2/qt5gtk2.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/bash + +# Slackware build script for qt5gtk2 + +# Copyright 2024 Isaac Yu <isaacyu@protonmail.com> +# 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=qt5gtk2 +VERSION=${VERSION:-1.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.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 {} \; + +QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \ +QMAKE_CXXFLAGS_RELEASE="$SLKCFLAGS" \ +PREFIX=/usr \ +LIBDIR=/usr/lib${LIBDIRSUFFIX} \ +qmake-qt5 + +make +make install INSTALL_ROOT=$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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp AUTHORS COPYING 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/libraries/qt5gtk2/qt5gtk2.info b/libraries/qt5gtk2/qt5gtk2.info new file mode 100644 index 0000000000..7b6ff6acb2 --- /dev/null +++ b/libraries/qt5gtk2/qt5gtk2.info @@ -0,0 +1,10 @@ +PRGNAM="qt5gtk2" +VERSION="1.0" +HOMEPAGE="https://github.com/trialuser02/qt5gtk2" +DOWNLOAD="https://github.com/trialuser02/qt5gtk2/releases/download/1.0/qt5gtk2-1.0.tar.bz2" +MD5SUM="c1955cf5386da6f329368f2d548b906b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/libraries/qt5gtk2/slack-desc b/libraries/qt5gtk2/slack-desc new file mode 100644 index 0000000000..579c25129a --- /dev/null +++ b/libraries/qt5gtk2/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +qt5gtk2: qt5gtk2 (GTK+2.0 integration plugin for Qt5) +qt5gtk2: +qt5gtk2: GTK+2.0 integration plugin for Qt5. +qt5gtk2: +qt5gtk2: +qt5gtk2: +qt5gtk2: +qt5gtk2: +qt5gtk2: +qt5gtk2: +qt5gtk2: diff --git a/libraries/qt6gtk2/README b/libraries/qt6gtk2/README new file mode 100644 index 0000000000..306b8ac20b --- /dev/null +++ b/libraries/qt6gtk2/README @@ -0,0 +1,4 @@ +GTK+2.0 integration plugin for Qt6. + +qt5gtk2 (designed to be compatible with qt6gtk2) contains GTK+2.0 +integration for Qt5. diff --git a/libraries/qt6gtk2/qt6gtk2.SlackBuild b/libraries/qt6gtk2/qt6gtk2.SlackBuild new file mode 100644 index 0000000000..5594b11b1c --- /dev/null +++ b/libraries/qt6gtk2/qt6gtk2.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/bash + +# Slackware build script for qt5gtk2 + +# Copyright 2024 Isaac Yu <isaacyu@protonmail.com> +# 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=qt6gtk2 +VERSION=${VERSION:-0.2} +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.xz +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 {} \; + +QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \ +QMAKE_CXXFLAGS_RELEASE="$SLKCFLAGS" \ +PREFIX=/usr \ +LIBDIR=/usr/lib${LIBDIRSUFFIX} \ +qmake-qt6 + +make +make install INSTALL_ROOT=$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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp AUTHORS ChangeLog COPYING README.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/libraries/qt6gtk2/qt6gtk2.info b/libraries/qt6gtk2/qt6gtk2.info new file mode 100644 index 0000000000..7a8bb612ef --- /dev/null +++ b/libraries/qt6gtk2/qt6gtk2.info @@ -0,0 +1,10 @@ +PRGNAM="qt6gtk2" +VERSION="0.2" +HOMEPAGE="https://github.com/trialuser02/qt6gtk2" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/trialuser02/qt6gtk2/releases/download/0.2/qt6gtk2-0.2.tar.xz" +MD5SUM_x86_64="67c6430bf425bbf1ba3a07b349265a5d" +REQUIRES="qt6" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/libraries/qt6gtk2/slack-desc b/libraries/qt6gtk2/slack-desc new file mode 100644 index 0000000000..acd120202a --- /dev/null +++ b/libraries/qt6gtk2/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +qt6gtk2: qt6gtk2 (GTK+2.0 integration plugin for Qt6) +qt6gtk2: +qt6gtk2: GTK+2.0 integration plugin for Qt6. +qt6gtk2: +qt6gtk2: +qt6gtk2: +qt6gtk2: +qt6gtk2: +qt6gtk2: +qt6gtk2: +qt6gtk2: diff --git a/libraries/rapidjson/fix-build-on-gcc7.diff b/libraries/rapidjson/fix-build-on-gcc7.diff deleted file mode 100644 index d55a477678..0000000000 --- a/libraries/rapidjson/fix-build-on-gcc7.diff +++ /dev/null @@ -1,13 +0,0 @@ -diff -Nur rapidjson-1.1.0.orig/include/rapidjson/internal/regex.h rapidjson-1.1.0/include/rapidjson/internal/regex.h ---- rapidjson-1.1.0.orig/include/rapidjson/internal/regex.h 2016-08-25 02:59:05.000000000 -0500 -+++ rapidjson-1.1.0/include/rapidjson/internal/regex.h 2017-12-27 01:10:17.765316098 -0600 -@@ -29,6 +29,9 @@ - #ifdef __GNUC__ - RAPIDJSON_DIAG_PUSH - RAPIDJSON_DIAG_OFF(effc++) -+#if __GNUC__ >= 7 -+RAPIDJSON_DIAG_OFF(implicit-fallthrough) -+#endif - #endif - - #ifdef _MSC_VER diff --git a/libraries/rapidjson/rapidjson.SlackBuild b/libraries/rapidjson/rapidjson.SlackBuild index e1454d89c6..029cf9421d 100644 --- a/libraries/rapidjson/rapidjson.SlackBuild +++ b/libraries/rapidjson/rapidjson.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for RapidJson # Copyright 2017 Andre Barboza, Belo Horizonte - Brazil +# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,7 +30,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rapidjson VERSION=${VERSION:-1.1.0} -BUILD=${BUILD:-3} +GTESTVER=${GTESTVER:-ba96d0b1161f540656efdaed035b3c062b60e006} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -72,6 +74,9 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION +rmdir thirdparty/gtest/ +tar xvf $CWD/googletest-$GTESTVER.tar.gz +mv googletest-$GTESTVER thirdparty/gtest chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,26 +84,27 @@ 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 for -current but should be harmless on -stable -patch -p1 < $CWD/fix-build-on-gcc7.diff -find -name CMakeLists.txt | xargs sed -e 's|-Werror||' -i +# Fix for gcc7+ +find -name CMakeLists.txt -exec sed -i 's/ -Werror//g' {} + mkdir -p build cd build cmake \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \ + -DDOC_INSTALL_DIR=/usr/doc/$PRGNAM-$VERSION \ + -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=ON \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG cd .. -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/doc/RapidJSON/* $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG.md license.txt readme.md readme.zh-cn.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.md license.txt readme.md readme.zh-cn.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -rmdir --parents $PKG/usr/share/doc/RapidJSON 2>/dev/null || true mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/rapidjson/rapidjson.info b/libraries/rapidjson/rapidjson.info index 4eff481a5f..281fa98e7a 100644 --- a/libraries/rapidjson/rapidjson.info +++ b/libraries/rapidjson/rapidjson.info @@ -1,10 +1,12 @@ PRGNAM="rapidjson" VERSION="1.1.0" -HOMEPAGE="https://github.com/miloyip/rapidjson/" -DOWNLOAD="https://github.com/miloyip/rapidjson/archive/v1.1.0/rapidjson-1.1.0.tar.gz" -MD5SUM="badd12c511e081fec6c89c43a7027bce" +HOMEPAGE="https://github.com/Tencent/rapidjson/" +DOWNLOAD="https://github.com/Tencent/rapidjson/archive/v1.1.0/rapidjson-1.1.0.tar.gz \ + https://github.com/google/googletest/archive/ba96d0b/googletest-ba96d0b1161f540656efdaed035b3c062b60e006.tar.gz" +MD5SUM="badd12c511e081fec6c89c43a7027bce \ + b629364cd39a2dd886d449d9559da0f1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Andre Barboza" -EMAIL="bmg.andre@gmail.com" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@@gmail.com" diff --git a/libraries/rapidjson/slack-desc b/libraries/rapidjson/slack-desc index 937f0eb30e..cb48eb4d26 100644 --- a/libraries/rapidjson/slack-desc +++ b/libraries/rapidjson/slack-desc @@ -15,5 +15,5 @@ rapidjson: rapidjson: rapidjson: rapidjson: -rapidjson: https://github.com/miloyip/rapidjson +rapidjson: https://github.com/Tencent/rapidjson rapidjson: diff --git a/libraries/rarfile/README b/libraries/rarfile/README index 6103dbd00b..897463a7c5 100644 --- a/libraries/rarfile/README +++ b/libraries/rarfile/README @@ -3,11 +3,13 @@ RAR archive reader for Python. This is Python module for RAR archive reading. The interface is made as zipfile like as possible. Licensed under ISC license. -- Supports both RAR 2.x and 3.x archives. +- Supports both RAR3 and RAR5 format archives. - Supports multi volume archives. - Supports Unicode filenames. - Supports password-protected archives. - Supports archive and file comments. - Archive parsing and non-compressed files handled in pure Python code. - For compressed files runs ``unrar`` utility. -- Works with both Python 2.x and 3.x. + +NOTE: Can swap unrar dependency for unrar-free, with whatever +limitations unrar-free has over the proprietary unrar. diff --git a/libraries/rarfile/rarfile.SlackBuild b/libraries/rarfile/rarfile.SlackBuild index f2f069aa6a..7669931081 100644 --- a/libraries/rarfile/rarfile.SlackBuild +++ b/libraries/rarfile/rarfile.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for rarfile # Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece -# Copyright 2023 Jeremy Hansen jebrhansen+SBo@gmail.com +# Copyright 2023-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rarfile -VERSION=${VERSION:-4.1} +VERSION=${VERSION:-4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,7 +63,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 {} \; -python2 setup.py install --root=$PKG python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/libraries/rarfile/rarfile.info b/libraries/rarfile/rarfile.info index 3256bd1688..37472876e9 100644 --- a/libraries/rarfile/rarfile.info +++ b/libraries/rarfile/rarfile.info @@ -1,10 +1,10 @@ PRGNAM="rarfile" -VERSION="4.1" +VERSION="4.2" HOMEPAGE="https://github.com/markokr/rarfile" -DOWNLOAD="https://github.com/markokr/rarfile/archive/refs/tags/v4.1/rarfile-4.1.tar.gz" -MD5SUM="8d5c4d1665148a979d6d5a5cb529da1d" +DOWNLOAD="https://github.com/markokr/rarfile/archive/refs/tags/v4.2/rarfile-4.2.tar.gz" +MD5SUM="19d557536f63d4894332a5746c09dfa7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="unrar" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/libraries/raylib/README b/libraries/raylib/README index 594b0b4a6b..f8da3e89dd 100644 --- a/libraries/raylib/README +++ b/libraries/raylib/README @@ -2,8 +2,8 @@ raylib is a simple and easy-to-use library to enjoy videogames programming and it is highly inspired by Borland BGI graphics lib and by XNA framework. -Wayland support can be enabled with WAYLAND=ON when building the -package. +Set JARXM_LINEAR_INTERPOLATION=1 to patch jarxm to use linear +interpolation instead of no interpolation when playing back XM +(FastTracker II) music modules. -Set GLFW=ON to use a system-wide installation of GLFW instead -of raylib's bundled one. +Set WAYLAND=1 to make Raylib work on Wayland instead of X11. diff --git a/libraries/raylib/raylib.SlackBuild b/libraries/raylib/raylib.SlackBuild index ced5ee1f3c..73efeb0417 100644 --- a/libraries/raylib/raylib.SlackBuild +++ b/libraries/raylib/raylib.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for raylib -# Copyright 2022-2023 rc-05 <rc_o5@protonmail.com> +# Copyright 2024 rc_05 <contact@rc-05.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=raylib -VERSION=${VERSION:-4.5.0} +VERSION=${VERSION:-5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -47,6 +47,9 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +JARXM_LINEAR_INTERPOLATION=${JARXM_LINEAR_INTERPOLATION:-0} +WAYLAND=${WAYLAND:-0} + if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" @@ -76,7 +79,9 @@ 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 -d src < $CWD/jarxm_linear_interpolation.patch +if [ $JARXM_LINEAR_INTERPOLATION -eq 1 ]; then + patch -d src < $CWD/jarxm_linear_interpolation.patch +fi mkdir -p build cd build @@ -86,8 +91,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS=ON \ - -DUSE_EXTERNAL_GLFW=${GLFW:-OFF} \ - -DUSE_WAYLAND=${WAYLAND:-OFF} \ + -DUSE_WAYLAND=`[[ $WAYLAND -eq 1 ]] && echo "ON" || echo "OFF"` \ -DBUILD_EXAMPLES=OFF .. make RAYLIB_MODULE_RAYGUI=TRUE make install DESTDIR=$PKG diff --git a/libraries/raylib/raylib.info b/libraries/raylib/raylib.info index e5566592be..eb78b09007 100644 --- a/libraries/raylib/raylib.info +++ b/libraries/raylib/raylib.info @@ -1,10 +1,10 @@ PRGNAM="raylib" -VERSION="4.5.0" +VERSION="5.0" HOMEPAGE="https://raylib.com/" -DOWNLOAD="https://github.com/raysan5/raylib/archive/refs/tags/4.5.0/raylib-4.5.0.tar.gz" -MD5SUM="feb608a91e27f71f9b33f0073177b1ee" +DOWNLOAD="https://github.com/raysan5/raylib/archive/refs/tags/5.0/raylib-5.0.tar.gz" +MD5SUM="6d855d7bd87b506eb58308d4ed67ab97" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="rc-05" -EMAIL="rc_o5@protonmail.com" +MAINTAINER="rc_05" +EMAIL="contact@rc-05.com" diff --git a/libraries/re2/re2.SlackBuild b/libraries/re2/re2.SlackBuild index f399d1a195..e9c6ae87c8 100644 --- a/libraries/re2/re2.SlackBuild +++ b/libraries/re2/re2.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=re2 -VERSION=${VERSION:-2024_03_01} +VERSION=${VERSION:-2024_04_01} PKGVER=$(echo $VERSION | tr _ -) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/re2/re2.info b/libraries/re2/re2.info index ddfafb8da8..b51d94de16 100644 --- a/libraries/re2/re2.info +++ b/libraries/re2/re2.info @@ -1,8 +1,8 @@ PRGNAM="re2" -VERSION="2024_03_01" +VERSION="2024_04_01" HOMEPAGE="https://github.com/google/re2" -DOWNLOAD="https://github.com/google/re2/archive/2024-03-01/re2-2024-03-01.tar.gz" -MD5SUM="2ae1abc81424c60f96771cebdab32869" +DOWNLOAD="https://github.com/google/re2/archive/2024-04-01/re2-2024-04-01.tar.gz" +MD5SUM="05e993e11aa173b63552fb4d88e6524c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="abseil-cpp" diff --git a/libraries/scafacos/README b/libraries/scafacos/README new file mode 100644 index 0000000000..a4eece60a9 --- /dev/null +++ b/libraries/scafacos/README @@ -0,0 +1,7 @@ +ScaFaCoS ("Scalable Fast Coulomb Solver") is a parallel library that +includes in a common interface various metods for solving electrostatic +and gravitational problems in large particle simulations for scientific +and technical applications in Phisics and Materials science. + +If you use this library for scientific researches please cite the +Authors using the BibTex entry given in the file libfcs.bib. diff --git a/libraries/scafacos/libfcs.bib b/libraries/scafacos/libfcs.bib new file mode 100644 index 0000000000..b7dcc41b8f --- /dev/null +++ b/libraries/scafacos/libfcs.bib @@ -0,0 +1,6 @@ +@MISC{scafacos-web, + Author = {M.~Bolten and F.~Fahrenberger and R.~Halver and F.~Heber and M.~Hofmann and I.~Kabadshow and O.~Lenz and M.~Pippig and G.~Sutmann}, + Howpublished = {{\verb+http://scafacos.github.com/+}}, + Title = {{ScaFaCoS, C subroutine library}}, + Url = {http://scafacos.github.com}, +} diff --git a/libraries/scafacos/scafacos-1.0.1.fix.diff b/libraries/scafacos/scafacos-1.0.1.fix.diff new file mode 100644 index 0000000000..1307e4d841 --- /dev/null +++ b/libraries/scafacos/scafacos-1.0.1.fix.diff @@ -0,0 +1,188 @@ +--- ./lib/fmm/src/mp_wrapper.f90 ++++ ./lib/fmm/src/mp_wrapper.f90 +index c78178b..6a3c403 100644 +--- a/lib/fmm/src/mp_wrapper.f90 ++++ b/lib/fmm/src/mp_wrapper.f90 +@@ -491,7 +491,12 @@ implicit none + integer(MyMPI_Comm) :: comm + integer(MyMPI_Errorcode) :: ierr,ierr2 + integer(MyMPI_Entries) :: elem_tmp +- ++ interface ++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr) ++ integer(kind=8) :: recv ++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr ++ end subroutine mpi_allreduce ++ end interface + elem_tmp = 1 + + call mpi_allreduce(MPI_IN_PLACE,dst,elem_tmp,MPI_INTEGER8,op,comm,ierr) +@@ -510,6 +515,12 @@ implicit none + integer(MyMPI_Comm) :: comm + integer(MyMPI_Errorcode) :: ierr,ierr2 + integer(MyMPI_Entries) :: elem_tmp ++ interface ++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr) ++ integer(kind=8), dimension(*) :: recv ++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr ++ end subroutine mpi_allreduce ++ end interface + + elem_tmp = elem + +@@ -528,6 +539,12 @@ implicit none + integer(MyMPI_Comm) :: comm + integer(MyMPI_Errorcode):: ierr,ierr2 + integer(MyMPI_Entries) :: elem_tmp ++ interface ++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr) ++ real(kind=4) :: recv ++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr ++ end subroutine mpi_allreduce ++ end interface + + elem_tmp = 1 + +@@ -547,6 +564,12 @@ implicit none + integer(MyMPI_Comm) :: comm + integer(MyMPI_Errorcode) :: ierr,ierr2 + integer(MyMPI_Entries) :: elem_tmp ++ interface ++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr) ++ real(kind=4), dimension(*) :: recv ++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr ++ end subroutine mpi_allreduce ++ end interface + + elem_tmp = elem + +@@ -566,6 +589,12 @@ implicit none + integer(MyMPI_Comm) :: comm + integer(MyMPI_Errorcode) :: ierr,ierr2 + integer(MyMPI_Entries) :: elem_tmp ++ interface ++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr) ++ real(kind=4), dimension(*) :: recv ++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr ++ end subroutine mpi_allreduce ++ end interface + + lo = lbound(dst,1) + hi = ubound(dst,1) +@@ -586,6 +615,12 @@ implicit none + integer(MyMPI_Comm) :: comm + integer(MyMPI_Errorcode):: ierr,ierr2 + integer(MyMPI_Entries) :: elem_tmp ++ interface ++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr) ++ real(kind=8) :: recv ++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr ++ end subroutine mpi_allreduce ++ end interface + + elem_tmp = 1 + +@@ -605,6 +640,12 @@ implicit none + integer(MyMPI_Comm) :: comm + integer(MyMPI_Errorcode) :: ierr,ierr2 + integer(MyMPI_Entries) :: elem_tmp ++ interface ++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr) ++ real(kind=8), dimension(*) :: recv ++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr ++ end subroutine mpi_allreduce ++ end interface + + elem_tmp = elem + +@@ -624,6 +665,12 @@ implicit none + integer(MyMPI_Comm) :: comm + integer(MyMPI_Errorcode) :: ierr,ierr2 + integer(MyMPI_Entries) :: elem_tmp ++ interface ++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr) ++ real(kind=8), dimension(*) :: recv ++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr ++ end subroutine mpi_allreduce ++ end interface + + lo = lbound(dst,1) + hi = ubound(dst,1) +@@ -648,6 +695,12 @@ implicit none + integer(MyMPI_Comm) :: comm + integer(MyMPI_Errorcode):: ierr,ierr2 + integer(MyMPI_Entries) :: elem_tmp ++ interface ++ subroutine mpi_allgather(send,snum,stype,recv,rnum,rtype,gcomm,gerr) ++ byte, dimension(*) :: recv ++ integer(kind=4) :: send, snum, rnum, stype, rtype, gcomm, gerr ++ end subroutine mpi_allgather ++ end interface + + lo = lbound(dst,1) + hi = ubound(dst,1) +@@ -668,6 +721,12 @@ implicit none + integer(MyMPI_Comm) :: comm + integer(MyMPI_Errorcode):: ierr,ierr2 + integer(MyMPI_Entries) :: elem_tmp ++ interface ++ subroutine mpi_allgather(send,snum,stype,recv,rnum,rtype,gcomm,gerr) ++ byte, dimension(*) :: recv ++ integer(kind=4) :: send, snum, rnum, stype, rtype, gcomm, gerr ++ end subroutine mpi_allgather ++ end interface + + lo1 = lbound(dst,1) + hi1 = ubound(dst,1) +@@ -690,6 +749,12 @@ implicit none + integer(MyMPI_Comm) :: comm + integer(MyMPI_Errorcode) :: ierr,ierr2 + integer(MyMPI_Entries) :: elem_tmp ++ interface ++ subroutine mpi_allgather(send,snum,stype,recv,rnum,rtype,gcomm,gerr) ++ real(kind=4), dimension(*) :: recv ++ integer(kind=4) :: send, snum, rnum, stype, rtype, gcomm, gerr ++ end subroutine mpi_allgather ++ end interface + + elem_tmp = elem + +@@ -708,6 +773,12 @@ implicit none + integer(MyMPI_Comm) :: comm + integer(MyMPI_Errorcode) :: ierr,ierr2 + integer(MyMPI_Entries) :: elem_tmp ++ interface ++ subroutine mpi_allgather(send,snum,stype,recv,rnum,rtype,gcomm,gerr) ++ integer(kind=8), dimension(*) :: recv ++ integer(kind=4) :: send, snum, rnum, stype, rtype, gcomm, gerr ++ end subroutine mpi_allgather ++ end interface + + elem_tmp = elem + +@@ -726,6 +797,12 @@ implicit none + integer(MyMPI_Comm) :: comm + integer(MyMPI_Errorcode) :: ierr,ierr2 + integer(MyMPI_Entries) :: elem_tmp ++ interface ++ subroutine mpi_allgather(send,snum,stype,recv,rnum,rtype,gcomm,gerr) ++ integer(kind=8), dimension(*) :: recv ++ integer(kind=4) :: send, snum, rnum, stype, rtype, gcomm, gerr ++ end subroutine mpi_allgather ++ end interface + + lo = lbound(dst,1) + hi = ubound(dst,1) +diff --git a/src/fcs_fmm.c b/src/fcs_fmm.c +index 37acb67..10bbd10 100644 +--- a/src/fcs_fmm.c ++++ b/src/fcs_fmm.c +@@ -430,7 +430,7 @@ FCSResult fcs_fmm_tune(FCS handle, fcs_int local_particles, fcs_float *positions + return FCS_RESULT_SUCCESS; + } + +-int fcs_mpi_fmm_sort_front_part, fcs_mpi_fmm_sort_back_part, fcs_mpi_fmm_sort_front_merge_presorted; ++extern int fcs_mpi_fmm_sort_front_part, fcs_mpi_fmm_sort_back_part, fcs_mpi_fmm_sort_front_merge_presorted; + + /* internal fmm-specific run function */ + FCSResult fcs_fmm_run(FCS handle, fcs_int local_particles, diff --git a/libraries/scafacos/scafacos.SlackBuild b/libraries/scafacos/scafacos.SlackBuild new file mode 100644 index 0000000000..1bd68bf063 --- /dev/null +++ b/libraries/scafacos/scafacos.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/bash + +# Slackware build script for scafacos + +# Copyright 2024 Giancarlo Dessi, Cagliari, IT +# 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=scafacos +VERSION=${VERSION:-1.0.1} +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 [ ! -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 {} \; + +patch -p1 < $CWD/scafacos-1.0.1.fix.diff + +CFLAGS="$SLKCFLAGS -g " \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux \ + --enable-fcs-solvers=fmm,p2nfft,direct,ewald,p3m \ + --disable-static \ + --enable-shared + +make +make doc +make install DESTDIR=$PKG + +rm -f $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 README COPYING.GPL COPYING.LGPL $CWD/libfcs.bib $PKG/usr/doc/$PRGNAM-$VERSION +chown root:root $PKG/usr/doc/$PRGNAM-$VERSION/libfcs.bib +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/libraries/scafacos/scafacos.info b/libraries/scafacos/scafacos.info new file mode 100644 index 0000000000..d615cb0d57 --- /dev/null +++ b/libraries/scafacos/scafacos.info @@ -0,0 +1,10 @@ +PRGNAM="scafacos" +VERSION="1.0.1" +HOMEPAGE="http://www.scafacos.de" +DOWNLOAD="https://github.com/scafacos/scafacos/releases/download/v1.0.1/scafacos-1.0.1.tar.gz" +MD5SUM="bd46d74e3296bd8a444d731bb10c1738" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="openmpi" +MAINTAINER="Giancarlo Dessi" +EMAIL="slack@giand.it" diff --git a/libraries/scafacos/slack-desc b/libraries/scafacos/slack-desc new file mode 100644 index 0000000000..9c3f1b73ad --- /dev/null +++ b/libraries/scafacos/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +scafacos: scafacos (Scalable Fast Coulomb Solver) +scafacos: +scafacos: ScaFaCoS is a parallel library that includes in a common interface +scafacos: various algorithms for solving electrostatic and gravitational +scafacos: problems in large particle simulations for scientific and technical +scafacos: applications in Physics and Materials science. +scafacos: +scafacos: Home page: http://www.scafacos.de +scafacos: +scafacos: +scafacos: diff --git a/libraries/simde/simde.SlackBuild b/libraries/simde/simde.SlackBuild index ffedd6acbd..05aab2484f 100644 --- a/libraries/simde/simde.SlackBuild +++ b/libraries/simde/simde.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=simde -VERSION=${VERSION:-0.8.0} +VERSION=${VERSION:-0.8.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/simde/simde.info b/libraries/simde/simde.info index c639595c47..6ea75a2a2a 100644 --- a/libraries/simde/simde.info +++ b/libraries/simde/simde.info @@ -1,8 +1,8 @@ PRGNAM="simde" -VERSION="0.8.0" +VERSION="0.8.2" HOMEPAGE="https://simd-everywhere.github.io/blog/" -DOWNLOAD="https://github.com/simd-everywhere/simde/releases/download/v0.8.0/simde-amalgamated-0.8.0.tar.xz" -MD5SUM="1163abbb1c0c4627a1dfd95f8eedcc1d" +DOWNLOAD="https://github.com/simd-everywhere/simde/releases/download/v0.8.2/simde-amalgamated-0.8.2.tar.xz" +MD5SUM="57239a45e0cc7ceccb20b3b69cae6db5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/skalibs/README b/libraries/skalibs/README index 909a34f220..9bcd32683d 100644 --- a/libraries/skalibs/README +++ b/libraries/skalibs/README @@ -33,8 +33,9 @@ the static libraries should be sufficient. Also, the execvep() function from skalibs (used by all skarnet.org software) has a default executable search path that will be used if the -PATH environment variable is undefined. The default is /usr/bin:/bin. -Pass DEF_PATH=some:path:list to the script if you want to change it, -e.g., +PATH environment variable is undefined. The upstream default is +/usr/bin:/bin, but the script defaults to /usr/bin:/bin:/usr/sbin:/sbin +where all system-installed binaries reside in Slackware. Pass +DEF_PATH=some:path:list to the script if you want to change it, e.g., - DEF_PATH=/usr/bin:/bin:/usr/sbin:/sbin ./skalibs.SlackBuild + DEF_PATH=/bin:/sbin ./skalibs.SlackBuild diff --git a/libraries/skalibs/skalibs.SlackBuild b/libraries/skalibs/skalibs.SlackBuild index e2078191dc..d0ff206b63 100644 --- a/libraries/skalibs/skalibs.SlackBuild +++ b/libraries/skalibs/skalibs.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=skalibs -VERSION=${VERSION:-2.14.1.0} +VERSION=${VERSION:-2.14.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,9 +76,11 @@ BUILD_SHARED=${BUILD_SHARED:-no} # The execvep() function from skalibs (used by all skarnet.org software) has a # default executable search path that will be used if the PATH environment -# variable is undefined. The default is /usr/bin:/bin. Pass -# DEF_PATH=some:path:list to this script if you want to change it. -DEF_PATH=${DEF_PATH:-/usr/bin:/bin} +# variable is undefined. The upstream default is /usr/bin:/bin, but this script +# defaults to /usr/bin:/bin:/usr/sbin:/sbin where all system-installed binaries +# reside in Slackware. Pass DEF_PATH=some:path:list to this script if you want +# to change it. +DEF_PATH=${DEF_PATH:-/usr/bin:/bin:/usr/sbin:/sbin} set -e diff --git a/libraries/skalibs/skalibs.info b/libraries/skalibs/skalibs.info index ffde666904..6dbe1c8406 100644 --- a/libraries/skalibs/skalibs.info +++ b/libraries/skalibs/skalibs.info @@ -1,8 +1,8 @@ PRGNAM="skalibs" -VERSION="2.14.1.0" +VERSION="2.14.1.1" HOMEPAGE="https://skarnet.org/software/skalibs/" -DOWNLOAD="https://skarnet.org/software/skalibs/skalibs-2.14.1.0.tar.gz" -MD5SUM="289392217e4434909cf1ca31950e1f07" +DOWNLOAD="https://skarnet.org/software/skalibs/skalibs-2.14.1.1.tar.gz" +MD5SUM="72313c17ae00863e55c865d71ab6ba64" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/spdlog/spdlog.SlackBuild b/libraries/spdlog/spdlog.SlackBuild index 627bd4daf0..b94c82e6cb 100644 --- a/libraries/spdlog/spdlog.SlackBuild +++ b/libraries/spdlog/spdlog.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for spdlog -# Copyright 2023 Steven Voges <Oregon, USA> +# Copyright 2023-2024 Steven Voges <Oregon, USA> # Copyright 2019-2020 Hunter Sezen California, USA # Copyright 2017 Andre Barboza, Belo Horizonte - Brazil # All rights reserved. @@ -27,9 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=spdlog -VERSION=${VERSION:-1.12.0} +VERSION=${VERSION:-1.14.1} BUILD=${BUILD:-1} -FMT=${FMT:-ON} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -87,21 +86,17 @@ 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 {} \+ -pkg-config --exists fmt || FMT=OFF - mkdir -p build cd build cmake \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \ - -DFETCHCONTENT_FULLY_DISCONNECTED=ON \ - -DFETCHCONTENT_QUIET=OFF \ -DSPDLOG_BUILD_SHARED=ON \ -DSPDLOG_BUILD_TESTS=ON \ -DSPDLOG_BUILD_BENCH=OFF \ -DSPDLOG_BUILD_EXAMPLE=OFF \ - -DSPDLOG_FMT_EXTERNAL=$FMT \ + -DSPDLOG_FMT_EXTERNAL=OFF \ -DCMAKE_SKIP_RPATH=TRUE \ -DCMAKE_BUILD_TYPE=Release .. make @@ -120,6 +115,7 @@ if [ "$COMPAT32" = "yes" ]; then -DSPDLOG_BUILD_TESTS=ON \ -DSPDLOG_BUILD_BENCH=OFF \ -DSPDLOG_BUILD_EXAMPLE=OFF \ + -DSPDLOG_FMT_EXTERNAL=OFF \ -DCMAKE_SKIP_RPATH=TRUE \ -DCMAKE_BUILD_TYPE=Release .. make diff --git a/libraries/spdlog/spdlog.info b/libraries/spdlog/spdlog.info index 2da0e77b10..e4584a4019 100644 --- a/libraries/spdlog/spdlog.info +++ b/libraries/spdlog/spdlog.info @@ -1,10 +1,10 @@ PRGNAM="spdlog" -VERSION="1.12.0" +VERSION="1.14.1" HOMEPAGE="https://github.com/gabime/spdlog" -DOWNLOAD="https://github.com/gabime/spdlog/archive/v1.12.0/spdlog-1.12.0.tar.gz" -MD5SUM="6b4446526264c1d1276105482adc18d1" +DOWNLOAD="https://github.com/gabime/spdlog/archive/v1.14.1/spdlog-1.14.1.tar.gz" +MD5SUM="f2c3f15c20e67b261836ff7bfda302cf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="Catch2" +REQUIRES="Catch2 fmt" MAINTAINER="Steven Voges" EMAIL="svoges.sbo@gmail.com" diff --git a/libraries/spglib/spglib.SlackBuild b/libraries/spglib/spglib.SlackBuild index 56be6cefd0..c3714dc50d 100644 --- a/libraries/spglib/spglib.SlackBuild +++ b/libraries/spglib/spglib.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for spglib -# Copyright 2020-2022 Giancarlo Dessì, Cagliari, IT +# Copyright 2020-2024 Giancarlo Dessì, Cagliari, IT # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,12 +22,10 @@ # 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=spglib -VERSION=${VERSION:-2.2.0} +VERSION=${VERSION:-2.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/spglib/spglib.info b/libraries/spglib/spglib.info index 75105208e0..e2ef6a9fc3 100644 --- a/libraries/spglib/spglib.info +++ b/libraries/spglib/spglib.info @@ -1,8 +1,8 @@ PRGNAM="spglib" -VERSION="2.2.0" +VERSION="2.4.0" HOMEPAGE="https://spglib.github.io/spglib/" -DOWNLOAD="https://github.com/spglib/spglib/archive/v2.2.0/spglib-2.2.0.tar.gz" -MD5SUM="f262d2c8a340697fc7b2a90e2f6a371b" +DOWNLOAD="https://github.com/spglib/spglib/archive/v2.4.0/spglib-2.4.0.tar.gz" +MD5SUM="1779172c4cc96d8ce1f5e19d050544e7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-numpy" diff --git a/libraries/tclws/tclws.info b/libraries/tclws/tclws.info index c3f5e6da90..4d7a8cb331 100644 --- a/libraries/tclws/tclws.info +++ b/libraries/tclws/tclws.info @@ -2,7 +2,7 @@ PRGNAM="tclws" VERSION="3.4.0" HOMEPAGE="https://core.tcl-lang.org/tclws" DOWNLOAD="https://core.tcl-lang.org/tclws/tarball/tclws-3.4.0.tar.gz" -MD5SUM="36815313028e90332048d9e16bd0726f" +MD5SUM="886df07686b75354b6cd70c55316ea82" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="tcllib tcl-tls tDOM" diff --git a/libraries/td_lib/README b/libraries/td_lib/README new file mode 100644 index 0000000000..2d4a7dac55 --- /dev/null +++ b/libraries/td_lib/README @@ -0,0 +1,7 @@ +td_lib (support library for ded) + +This is a common library of procedures which are shared not only among +the CM_TOOLS utilities, but also with other programs which are not +part of CM_TOOLS. + +In practice, the only program that uses this library is "ded". diff --git a/libraries/td_lib/slack-desc b/libraries/td_lib/slack-desc new file mode 100644 index 0000000000..cd92a5ba4c --- /dev/null +++ b/libraries/td_lib/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +td_lib: td_lib (support library for ded) +td_lib: +td_lib: This is a common library of procedures which are shared not only among +td_lib: the CM_TOOLS utilities, but also with other programs which are not +td_lib: part of CM_TOOLS. +td_lib: +td_lib: In practice, the only program that uses this library is "ded". +td_lib: +td_lib: +td_lib: +td_lib: diff --git a/libraries/td_lib/td_lib.SlackBuild b/libraries/td_lib/td_lib.SlackBuild new file mode 100644 index 0000000000..1f9fef6ff9 --- /dev/null +++ b/libraries/td_lib/td_lib.SlackBuild @@ -0,0 +1,107 @@ +#!/bin/bash + +# Slackware build script for td_lib + +# Written by B. Watson (urchlay@slackware.uk) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# For a long time, this was bundled with ded. However, recent versions +# of ded have configure scripts and makefiles that have grown too +# complex to easily force it to find td_lib in a custom directory. The +# path of least resistance is to break this library out into its own +# build, even though nothing else besides ded uses it. + +# 20240423 bkw, BUILD=2: add missing .pc file to package. I thought +# ded was compiling OK without it, but it was actually pulling in +# td_lib from $TMP, not the installed package... which meant building +# td_lib followed by ded seemed to work, but building td_lib, then "rm +# -rf /tmp/SBo", *then* building ded would fail. Grr. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=td_lib +VERSION=${VERSION:-20230122} +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 [ ! -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.tgz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + + +# "checking for long filenames" wants to create files in /usr/lib and +# /var/lib. Violates the principle of least surprise: users don't expect +# configure scripts (or SlackBuilds) to touch their system directories. +# We skip this check with an environment variable. + +ac_cv_sys_long_file_names="set" \ +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --disable-static \ + --build=$ARCH-slackware-linux + +# Yes, the -j1's are necessary. +make -j1 +make -j1 install DESTDIR=$PKG + +# 20240423 bkw: make install doesn't install this, ded needs it. +PC=$PKG/usr/lib$LIBDIRSUFFIX/pkgconfig +mkdir -p $PC +cp -a support/$PRGNAM.pc $PC + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a CHANGES COPYING README $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$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/libraries/td_lib/td_lib.info b/libraries/td_lib/td_lib.info new file mode 100644 index 0000000000..038ea2d55b --- /dev/null +++ b/libraries/td_lib/td_lib.info @@ -0,0 +1,10 @@ +PRGNAM="td_lib" +VERSION="20230122" +HOMEPAGE="http://invisible-island.net/ded/" +DOWNLOAD="https://invisible-mirror.net/archives/ded/td_lib-20230122.tgz" +MD5SUM="bb6d9f756b77e2c5eaa1260a3f98bd0b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/libraries/tepl/tepl.info b/libraries/tepl/tepl.info index 1b279bf63a..4be0680124 100644 --- a/libraries/tepl/tepl.info +++ b/libraries/tepl/tepl.info @@ -6,5 +6,5 @@ MD5SUM="5d29b2c9032a1ba2d33ef9c9c9c7de79" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libgedit-gtksourceview libgedit-amtk" -MAINTAINER="Juan M. Lasca" -EMAIL="juanmlasca@gmail.com" +MAINTAINER="Bob Funk" +EMAIL="bobfunk11@gmail.com" diff --git a/libraries/tinyxml2/tinyxml2.SlackBuild b/libraries/tinyxml2/tinyxml2.SlackBuild index 0a7b6cca8f..c761b7bb6d 100644 --- a/libraries/tinyxml2/tinyxml2.SlackBuild +++ b/libraries/tinyxml2/tinyxml2.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tinyxml2 -VERSION=${VERSION:-8.0.0} +VERSION=${VERSION:-10.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then 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 @@ -93,6 +90,7 @@ cd build -DCMAKE_INSTALL_LIBDIR:PATH="lib$LIBDIRSUFFIX" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DBUILD_SHARED_LIBS=ON \ -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 diff --git a/libraries/tinyxml2/tinyxml2.info b/libraries/tinyxml2/tinyxml2.info index 529d10048b..d484cc627a 100644 --- a/libraries/tinyxml2/tinyxml2.info +++ b/libraries/tinyxml2/tinyxml2.info @@ -1,8 +1,8 @@ PRGNAM="tinyxml2" -VERSION="8.0.0" +VERSION="10.0.0" HOMEPAGE="http://www.grinninglizard.com/tinyxml2/index.html" -DOWNLOAD="https://github.com/leethomason/tinyxml2/archive/8.0.0/tinyxml2-8.0.0.tar.gz" -MD5SUM="5dc535c8b34ee621fe2128f072d275b5" +DOWNLOAD="https://github.com/leethomason/tinyxml2/archive/10.0.0/tinyxml2-10.0.0.tar.gz" +MD5SUM="04de2fa311b2fa3b6875886122dc2333" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/tree-sitter/tree-sitter.SlackBuild b/libraries/tree-sitter/tree-sitter.SlackBuild index eb202a69fc..238f0aa65c 100644 --- a/libraries/tree-sitter/tree-sitter.SlackBuild +++ b/libraries/tree-sitter/tree-sitter.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tree-sitter -VERSION=${VERSION:-0.22.2} +VERSION=${VERSION:-0.22.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/tree-sitter/tree-sitter.info b/libraries/tree-sitter/tree-sitter.info index 78bf22119e..939b2148af 100644 --- a/libraries/tree-sitter/tree-sitter.info +++ b/libraries/tree-sitter/tree-sitter.info @@ -1,8 +1,8 @@ PRGNAM="tree-sitter" -VERSION="0.22.2" +VERSION="0.22.6" HOMEPAGE="https://github.com/tree-sitter/tree-sitter" -DOWNLOAD="https://github.com/tree-sitter/tree-sitter/archive/v0.22.2/tree-sitter-0.22.2.tar.gz" -MD5SUM="48afab8eb7c16f7a5e86417dcf0e4110" +DOWNLOAD="https://github.com/tree-sitter/tree-sitter/archive/v0.22.6/tree-sitter-0.22.6.tar.gz" +MD5SUM="1c8767fcc22be1b66583677d6ab07cb1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/unixODBC/README b/libraries/unixODBC/README index e74e4af87d..2782b91481 100644 --- a/libraries/unixODBC/README +++ b/libraries/unixODBC/README @@ -4,13 +4,3 @@ to include GUI support for both KDE and GNOME. ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources. Data Sources include SQL Servers and any Data Source with an ODBC Driver. - -This will be compiled without GUI support. If you want to give it -a try, edit the build script and comment out the "--disable-gui" -configure argument. - -Also, there is a seperate GUI frontend available separately from: -http://www.unixodbc.org/gui/ - -NOTE: This package conflicts with libiodbc in Slackware. Make sure to -reinstall libiodbc if you remove this package. diff --git a/libraries/unixODBC/unixODBC.SlackBuild b/libraries/unixODBC/unixODBC.SlackBuild index 889bbdd627..9b50e90011 100644 --- a/libraries/unixODBC/unixODBC.SlackBuild +++ b/libraries/unixODBC/unixODBC.SlackBuild @@ -33,7 +33,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=unixODBC VERSION=${VERSION:-2.3.12} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,6 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ + --includedir=/usr/include/unixodbc \ --sysconfdir=/etc \ --disable-static \ --disable-gui \ diff --git a/libraries/urdfdom_headers/urdfdom_headers.SlackBuild b/libraries/urdfdom_headers/urdfdom_headers.SlackBuild index 2e0463d584..af44399eee 100644 --- a/libraries/urdfdom_headers/urdfdom_headers.SlackBuild +++ b/libraries/urdfdom_headers/urdfdom_headers.SlackBuild @@ -22,11 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20240330 bkw: Modified by SlackBuilds.org, BUILD=2: +# - pkg-config file was getting installed to /usr/lib on x86_64, fix. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=urdfdom_headers VERSION=${VERSION:-0.4.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +41,6 @@ if [ -z "$ARCH" ]; then 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 @@ -75,9 +75,9 @@ 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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + mkdir -p build cd build @@ -90,8 +90,7 @@ cd build 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 +[ "$LIBDIRSUFFIX" != "" ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/libraries/urdfdom_headers/urdfdom_headers.info b/libraries/urdfdom_headers/urdfdom_headers.info index 2511f6680d..4eef635ae8 100644 --- a/libraries/urdfdom_headers/urdfdom_headers.info +++ b/libraries/urdfdom_headers/urdfdom_headers.info @@ -1,7 +1,7 @@ PRGNAM="urdfdom_headers" VERSION="0.4.1" HOMEPAGE="http://wiki.ros.org/urdf" -DOWNLOAD="https://github.com/ros/urdfdom_headers/archive/0.4.1.tar.gz" +DOWNLOAD="https://github.com/ros/urdfdom_headers/archive/0.4.1/urdfdom_headers-0.4.1.tar.gz" MD5SUM="73cfc08b936231a78dc899df5ebd269d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/uriparser/uriparser.SlackBuild b/libraries/uriparser/uriparser.SlackBuild index 4011fb00d1..fb7aad977d 100644 --- a/libraries/uriparser/uriparser.SlackBuild +++ b/libraries/uriparser/uriparser.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for uriparser -# Copyright 2015-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2015-2024 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=uriparser -VERSION=${VERSION:-0.9.7} +VERSION=${VERSION:-0.9.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then 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 @@ -81,15 +78,13 @@ 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 {} \; -# Test building is disabled ATM because we haven't an up2date gtest +# Tests building is disabled ATM because we haven't an up2date gtest mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \ -DURIPARSER_BUILD_TESTS=OFF \ -DCMAKE_BUILD_TYPE=Release .. diff --git a/libraries/uriparser/uriparser.info b/libraries/uriparser/uriparser.info index 92a6f24b8a..620633abd4 100644 --- a/libraries/uriparser/uriparser.info +++ b/libraries/uriparser/uriparser.info @@ -1,8 +1,8 @@ PRGNAM="uriparser" -VERSION="0.9.7" +VERSION="0.9.8" HOMEPAGE="https://uriparser.github.io" -DOWNLOAD="https://github.com/uriparser/uriparser/releases/download/uriparser-0.9.7/uriparser-0.9.7.tar.xz" -MD5SUM="5c64361cb0a7432b98309c94918a0b86" +DOWNLOAD="https://github.com/uriparser/uriparser/releases/download/uriparser-0.9.8/uriparser-0.9.8.tar.xz" +MD5SUM="2ee6738028a2a7d57a1fd2fb5fac2441" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="graphviz" diff --git a/libraries/webkit2gtk/timer.patch b/libraries/webkit2gtk/timer.patch deleted file mode 100644 index ec876b9b1f..0000000000 --- a/libraries/webkit2gtk/timer.patch +++ /dev/null @@ -1,35 +0,0 @@ -Patch-Source: https://github.com/WebKit/WebKit/commit/2922af379dc70b4b1a63b01d67179eb431f03ac4 -From 2922af379dc70b4b1a63b01d67179eb431f03ac4 Mon Sep 17 00:00:00 2001 -From: Michael Catanzaro <mcatanzaro@redhat.com> -Date: Mon, 18 Mar 2024 11:14:54 -0700 -Subject: [PATCH] REGRESSION(274077@main): failure to build on i586 (and likely - other 32bit arches): static assertion failed: Timer should stay small - https://bugs.webkit.org/show_bug.cgi?id=271108 - -Unreviewed build fix. This changes SameSizeOfTimer to ensure it matches -the size of Timer on 32-bit platforms. - -* Source/WebCore/platform/Timer.cpp: - -Canonical link: https://commits.webkit.org/276282@main ---- - Source/WebCore/platform/Timer.cpp | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/Source/WebCore/platform/Timer.cpp b/Source/WebCore/platform/Timer.cpp -index 4f7c0f5c39ca9..0f3734cca2474 100644 ---- a/Source/WebCore/platform/Timer.cpp -+++ b/Source/WebCore/platform/Timer.cpp -@@ -263,7 +263,11 @@ struct SameSizeAsTimer { - - WeakPtr<TimerAlignment> timerAlignment; - double times[2]; -- void* pointers[3]; -+ void* pointers[2]; -+#if CPU(ADDRESS32) -+ uint8_t bitfields; -+#endif -+ void* pointer; - }; - - static_assert(sizeof(Timer) == sizeof(SameSizeAsTimer), "Timer should stay small"); diff --git a/libraries/webkit2gtk/webkit2gtk.SlackBuild b/libraries/webkit2gtk/webkit2gtk.SlackBuild index 18d064ddc5..db0780ca37 100644 --- a/libraries/webkit2gtk/webkit2gtk.SlackBuild +++ b/libraries/webkit2gtk/webkit2gtk.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=webkit2gtk SRCNAM=webkitgtk -VERSION=${VERSION:-2.44.0} +VERSION=${VERSION:-2.44.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,9 +80,6 @@ find -L . \ patch -p1 < $CWD/unhide-deprecated-api.patch patch -p1 < $CWD/3d5373575695b293b8559155431d0079a6153aff.patch -# https://git.alpinelinux.org/aports/commit/?id=6ac1a60697be269de429404a602aaeb44ffe1149 -patch -p1 < $CWD/timer.patch - mkdir -p build cd build cmake -DPORT=GTK \ diff --git a/libraries/webkit2gtk/webkit2gtk.info b/libraries/webkit2gtk/webkit2gtk.info index 0618403d87..e13aa39445 100644 --- a/libraries/webkit2gtk/webkit2gtk.info +++ b/libraries/webkit2gtk/webkit2gtk.info @@ -1,8 +1,8 @@ PRGNAM="webkit2gtk" -VERSION="2.44.0" +VERSION="2.44.2" HOMEPAGE="https://www.webkitgtk.org/" -DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.44.0.tar.xz" -MD5SUM="20fef6a9122fc46f66f2f8550d5f08c6" +DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.44.2.tar.xz" +MD5SUM="b61ff37133cabc9ef5d870b296e9694d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="bubblewrap geoclue2 wpebackend-fdo xdg-dbus-proxy unifdef" diff --git a/libraries/webkit2gtk4.1/timer.patch b/libraries/webkit2gtk4.1/timer.patch deleted file mode 100644 index ec876b9b1f..0000000000 --- a/libraries/webkit2gtk4.1/timer.patch +++ /dev/null @@ -1,35 +0,0 @@ -Patch-Source: https://github.com/WebKit/WebKit/commit/2922af379dc70b4b1a63b01d67179eb431f03ac4 -From 2922af379dc70b4b1a63b01d67179eb431f03ac4 Mon Sep 17 00:00:00 2001 -From: Michael Catanzaro <mcatanzaro@redhat.com> -Date: Mon, 18 Mar 2024 11:14:54 -0700 -Subject: [PATCH] REGRESSION(274077@main): failure to build on i586 (and likely - other 32bit arches): static assertion failed: Timer should stay small - https://bugs.webkit.org/show_bug.cgi?id=271108 - -Unreviewed build fix. This changes SameSizeOfTimer to ensure it matches -the size of Timer on 32-bit platforms. - -* Source/WebCore/platform/Timer.cpp: - -Canonical link: https://commits.webkit.org/276282@main ---- - Source/WebCore/platform/Timer.cpp | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/Source/WebCore/platform/Timer.cpp b/Source/WebCore/platform/Timer.cpp -index 4f7c0f5c39ca9..0f3734cca2474 100644 ---- a/Source/WebCore/platform/Timer.cpp -+++ b/Source/WebCore/platform/Timer.cpp -@@ -263,7 +263,11 @@ struct SameSizeAsTimer { - - WeakPtr<TimerAlignment> timerAlignment; - double times[2]; -- void* pointers[3]; -+ void* pointers[2]; -+#if CPU(ADDRESS32) -+ uint8_t bitfields; -+#endif -+ void* pointer; - }; - - static_assert(sizeof(Timer) == sizeof(SameSizeAsTimer), "Timer should stay small"); diff --git a/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild b/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild index 31c7b2863c..093b929826 100644 --- a/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild +++ b/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=webkit2gtk4.1 SRCNAM=webkitgtk -VERSION=${VERSION:-2.44.0} +VERSION=${VERSION:-2.44.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,9 +80,6 @@ find -L . \ patch -p1 < $CWD/unhide-deprecated-api.patch patch -p1 < $CWD/3d5373575695b293b8559155431d0079a6153aff.patch -# https://git.alpinelinux.org/aports/commit/?id=6ac1a60697be269de429404a602aaeb44ffe1149 -patch -p1 < $CWD/timer.patch - mkdir -p build cd build cmake -DPORT=GTK \ diff --git a/libraries/webkit2gtk4.1/webkit2gtk4.1.info b/libraries/webkit2gtk4.1/webkit2gtk4.1.info index 302e109270..e4ed81f235 100644 --- a/libraries/webkit2gtk4.1/webkit2gtk4.1.info +++ b/libraries/webkit2gtk4.1/webkit2gtk4.1.info @@ -1,8 +1,8 @@ PRGNAM="webkit2gtk4.1" -VERSION="2.44.0" +VERSION="2.44.2" HOMEPAGE="https://www.webkitgtk.org/" -DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.44.0.tar.xz" -MD5SUM="20fef6a9122fc46f66f2f8550d5f08c6" +DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.44.2.tar.xz" +MD5SUM="b61ff37133cabc9ef5d870b296e9694d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="bubblewrap geoclue2 wpebackend-fdo xdg-dbus-proxy libsoup3 unifdef" diff --git a/libraries/wjelement/wjelement.info b/libraries/wjelement/wjelement.info index 04a1b5d91d..27e5e74428 100644 --- a/libraries/wjelement/wjelement.info +++ b/libraries/wjelement/wjelement.info @@ -1,7 +1,7 @@ PRGNAM="wjelement" VERSION="1.3" HOMEPAGE="https://github.com/netmail-open/wjelement" -DOWNLOAD="https://github.com/netmail-open/wjelement/archive/v1.3.tar.gz" +DOWNLOAD="https://github.com/netmail-open/wjelement/archive/v1.3/wjelement-1.3.tar.gz" MD5SUM="236b3ed275bae73a7d144c927401d2bf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/wv/wv.info b/libraries/wv/wv.info index 60affcb321..c14535bab9 100644 --- a/libraries/wv/wv.info +++ b/libraries/wv/wv.info @@ -1,7 +1,7 @@ PRGNAM="wv" VERSION="1.2.9" HOMEPAGE="http://abisource.com/" -DOWNLOAD="http://abisource.com/downloads/wv/1.2.9/wv-1.2.9.tar.gz" +DOWNLOAD="https://fossies.org/linux/misc/old/wv-1.2.9.tar.gz" MD5SUM="dbccf2e9f747e50c913b7e3d126b73f7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/wxPython/wxPython.SlackBuild b/libraries/wxPython/wxPython.SlackBuild index a5ef7f01be..781371e9e8 100644 --- a/libraries/wxPython/wxPython.SlackBuild +++ b/libraries/wxPython/wxPython.SlackBuild @@ -118,7 +118,7 @@ make -C contrib/src/ogl install DESTDIR=$PKG make -C contrib/src/stc install DESTDIR=$PKG cd wxPython - python setup.py \ + python2 setup.py \ WXPORT=gtk2 \ UNICODE=1 \ EP_ADD_OPTS=1 \ @@ -130,7 +130,7 @@ cd wxPython --rpath=/usr/lib$LIBDIRSUFFIX \ build - python setup.py \ + python2 setup.py \ WXPORT=gtk2 \ UNICODE=1 \ EP_ADD_OPTS=1 \ diff --git a/libraries/wxPython4/cython.patch b/libraries/wxPython4/cython.patch new file mode 100644 index 0000000000..3e1a2a0377 --- /dev/null +++ b/libraries/wxPython4/cython.patch @@ -0,0 +1,16 @@ +Fix compatibility with Cython 3.0.0 +Remove unused import which seems to be removed in Cython 3. +https://github.com/wxWidgets/Phoenix/issues/2439 +https://github.com/wxWidgets/Phoenix/pull/2441 +https://github.com/wxWidgets/Phoenix/issues/2514 +https://github.com/wxWidgets/Phoenix/commit/aeb557d01e7cd37176ebbf0f1ae6d0b53c115378 +--- wx/svg/_nanosvg.pyx.orig ++++ wx/svg/_nanosvg.pyx +@@ -42,7 +42,6 @@ for manipulating the SVG shape info in memory. + + import sys + +-cimport cython.object + from cpython.buffer cimport ( + Py_buffer, PyObject_CheckBuffer, PyObject_GetBuffer, PyBUF_SIMPLE, + PyBuffer_Release) diff --git a/libraries/wxPython4/wxPython4.SlackBuild b/libraries/wxPython4/wxPython4.SlackBuild index 0bbcbc0f50..ea7862534f 100644 --- a/libraries/wxPython4/wxPython4.SlackBuild +++ b/libraries/wxPython4/wxPython4.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for wxPython4 -# Copyright 2018-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2018-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=wxPython4 SRCNAM=wxPython VERSION=${VERSION:-4.2.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,6 +79,8 @@ 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 -p0 < $CWD/cython.patch + python3 setup.py install --root=$PKG mkdir -p $PKG/usr/share/{applications,pixmaps} $PKG/usr/share/icons/hicolor/{16x16,32x32}/apps diff --git a/libraries/wxWidgets/wxWidgets.SlackBuild b/libraries/wxWidgets/wxWidgets.SlackBuild index d0bd31f480..02302b62e6 100644 --- a/libraries/wxWidgets/wxWidgets.SlackBuild +++ b/libraries/wxWidgets/wxWidgets.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=wxWidgets -VERSION=${VERSION:-3.2.4} +VERSION=${VERSION:-3.2.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/wxWidgets/wxWidgets.info b/libraries/wxWidgets/wxWidgets.info index 041fd0b6ea..43bf4794da 100644 --- a/libraries/wxWidgets/wxWidgets.info +++ b/libraries/wxWidgets/wxWidgets.info @@ -1,8 +1,8 @@ PRGNAM="wxWidgets" -VERSION="3.2.4" +VERSION="3.2.5" HOMEPAGE="http://www.wxwidgets.org" -DOWNLOAD="https://github.com/wxWidgets/wxWidgets/archive/v3.2.4/wxWidgets-3.2.4.tar.gz" -MD5SUM="42f94852aad2be0a534424679a42db50" +DOWNLOAD="https://github.com/wxWidgets/wxWidgets/archive/v3.2.5/wxWidgets-3.2.5.tar.gz" +MD5SUM="d0a5436a48d2008e451976e92b09d248" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/yaml-cpp0.3/yaml-cpp0.3.info b/libraries/yaml-cpp0.3/yaml-cpp0.3.info index 62178bb2d5..8921b4a6ec 100644 --- a/libraries/yaml-cpp0.3/yaml-cpp0.3.info +++ b/libraries/yaml-cpp0.3/yaml-cpp0.3.info @@ -1,7 +1,7 @@ PRGNAM="yaml-cpp0.3" VERSION="0.3.0" HOMEPAGE="https://github.com/jbeder/yaml-cpp" -DOWNLOAD="https://github.com/jbeder/yaml-cpp/archive/release-0.3.0.tar.gz" +DOWNLOAD="https://github.com/jbeder/yaml-cpp/archive/release-0.3.0/yaml-cpp-release-0.3.0.tar.gz" MD5SUM="0c0496b195299e956056430444e237b9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/yascreen/yascreen.SlackBuild b/libraries/yascreen/yascreen.SlackBuild index e00d1cd642..ea1ca081f9 100644 --- a/libraries/yascreen/yascreen.SlackBuild +++ b/libraries/yascreen/yascreen.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for yascreen -# Copyright 2022-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2022-2024 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=yascreen -VERSION=${VERSION:-1.97} +VERSION=${VERSION:-1.99} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/yascreen/yascreen.info b/libraries/yascreen/yascreen.info index e0006d05b4..c9ad43afc7 100644 --- a/libraries/yascreen/yascreen.info +++ b/libraries/yascreen/yascreen.info @@ -1,8 +1,8 @@ PRGNAM="yascreen" -VERSION="1.97" +VERSION="1.99" HOMEPAGE="https://github.com/bbonev/yascreen" -DOWNLOAD="https://github.com/bbonev/yascreen/releases/download/v1.97/yascreen-1.97.tar.xz" -MD5SUM="6e0d650760d3376d83cedbff4133f214" +DOWNLOAD="https://github.com/bbonev/yascreen/releases/download/v1.99/yascreen-1.99.tar.xz" +MD5SUM="016255de7841ff711e1f778cff7b3c23" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |