diff options
Diffstat (limited to 'libraries')
314 files changed, 2619 insertions, 1827 deletions
diff --git a/libraries/ETL/ETL.SlackBuild b/libraries/ETL/ETL.SlackBuild index 74fe1f41c0..ad613ceb83 100644 --- a/libraries/ETL/ETL.SlackBuild +++ b/libraries/ETL/ETL.SlackBuild @@ -6,7 +6,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ETL -VERSION=${VERSION:-1.5.1} +VERSION=${VERSION:-1.5.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/ETL/ETL.info b/libraries/ETL/ETL.info index b75f98b946..19260ea996 100644 --- a/libraries/ETL/ETL.info +++ b/libraries/ETL/ETL.info @@ -1,8 +1,8 @@ PRGNAM="ETL" -VERSION="1.5.1" +VERSION="1.5.3" HOMEPAGE="https://www.synfig.org/" -DOWNLOAD="https://github.com/synfig/synfig/releases/download/v1.5.1/ETL-1.5.1.tar.gz" -MD5SUM="1eb58a29867edd23d97657bed5e66419" +DOWNLOAD="https://github.com/synfig/synfig/releases/download/v1.5.3/ETL-1.5.3.tar.gz" +MD5SUM="f0b5448af718cdee47ce20deef9d451d" 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 46b54dbfd1..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/LucenePlusPlus-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/OpenBLAS/OpenBLAS.SlackBuild b/libraries/OpenBLAS/OpenBLAS.SlackBuild index 994162c534..6ca93b9f6c 100644 --- a/libraries/OpenBLAS/OpenBLAS.SlackBuild +++ b/libraries/OpenBLAS/OpenBLAS.SlackBuild @@ -22,7 +22,7 @@ if [ -z "$ARCH" ]; then fi EXTRAPARMS="" TARGET=${TARGET:-"GENERIC"} -if [ "x`uname -p|grep QEMU|wc -l`" = "x1" ]; then +if [ "x$( uname -p|grep QEMU|wc -l )" = "x1" ]; then #we are running in a vm with a QEMU cpu. OpenBLAS does not like this EXTRAPARMS="DYNAMIC_ARCH=1" if [ "x$TARGET" = "x" ]; then diff --git a/libraries/OpenBLAS/README b/libraries/OpenBLAS/README index 772a8d7fd6..8ba19cecfa 100644 --- a/libraries/OpenBLAS/README +++ b/libraries/OpenBLAS/README @@ -1,8 +1,10 @@ OpenBLAS is an optimized BLAS library -Added symbolic link to install a generic blas library that can be used by Octave and R. -OpenBLAS has cpu specific targetted assembly code for speed optimisation. -In most cases, the installation will detect the correct CPU architecture -If you want to specify the architecture you can define the EXTRAPARAMS -environmental variable with EXTRAPARAMS="TARGET=ZEN" (for AMD Ryzen CPUs) +Added symbolic link to install a generic blas library that can be used +by Octave and R. +OpenBLAS has cpu specific targetted assembly code for speed +optimisation. In most cases, the installation will detect the +correct CPU architecture If you want to specify the architecture +you can define the EXTRAPARAMS environmental variable with +EXTRAPARAMS="TARGET=ZEN" (for AMD Ryzen CPUs) diff --git a/libraries/OptiX-Headers/OptiX-Headers.info b/libraries/OptiX-Headers/OptiX-Headers.info index 51ccc837a2..196da6b54f 100644 --- a/libraries/OptiX-Headers/OptiX-Headers.info +++ b/libraries/OptiX-Headers/OptiX-Headers.info @@ -5,6 +5,6 @@ DOWNLOAD="UNSUPPORTED" MD5SUM="" DOWNLOAD_x86_64="https://developer.download.nvidia.com/redist/optix/v7.6/OptiX-7.6-Include.zip" MD5SUM_x86_64="32f170454a9a6c944854ca6fef8c5ec1" -REQUIRES="%README%" +REQUIRES="" MAINTAINER="Tobias M. Monckton" EMAIL="tmmonckton@gmail.com" diff --git a/libraries/PrettyTable/PrettyTable.SlackBuild b/libraries/PrettyTable/PrettyTable.SlackBuild index 61059f2846..6c5c378d88 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,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 {} \; -python setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages -# 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/SimGear/SimGear.SlackBuild b/libraries/SimGear/SimGear.SlackBuild index 3b611b701f..48a63c1b42 100644 --- a/libraries/SimGear/SimGear.SlackBuild +++ b/libraries/SimGear/SimGear.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=SimGear SRCNAM=simgear VERSION=${VERSION:-2020.3.19} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,6 +81,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 {} \; +if [ "${CURRENT:-no}" = "yes" ]; then + patch -p1 < $CWD/compositor-pass-missing-array-include.patch +fi + mkdir -p build cd build cmake \ diff --git a/libraries/SimGear/compositor-pass-missing-array-include.patch b/libraries/SimGear/compositor-pass-missing-array-include.patch new file mode 100644 index 0000000000..5572f5f9e4 --- /dev/null +++ b/libraries/SimGear/compositor-pass-missing-array-include.patch @@ -0,0 +1,11 @@ +diff -ur simgear-2020.3.17.orig/simgear/scene/viewer/Compositor.hxx simgear-2020.3.17/simgear/scene/viewer/Compositor.hxx +--- simgear-2020.3.17.orig/simgear/scene/viewer/Compositor.hxx 2022-11-20 19:01:30.000000000 +0100 ++++ simgear-2020.3.17/simgear/scene/viewer/Compositor.hxx 2023-03-10 18:40:59.219808993 +0100 +@@ -17,6 +17,7 @@ + #ifndef SG_COMPOSITOR_HXX + #define SG_COMPOSITOR_HXX + ++#include <array> + #include <unordered_map> + #include <vector> + diff --git a/libraries/adns/adns-1.6.1.DESTDIR.patch b/libraries/adns/adns-1.6.1.DESTDIR.patch new file mode 100644 index 0000000000..9d9c46d9cc --- /dev/null +++ b/libraries/adns/adns-1.6.1.DESTDIR.patch @@ -0,0 +1,27 @@ +diff -pur adns-1.6.1.orig/common.make.in adns-1.6.1/common.make.in +--- adns-1.6.1.orig/common.make.in 2024-05-05 23:28:40.000000000 +0200 ++++ adns-1.6.1/common.make.in 2024-06-19 12:27:28.903419587 +0200 +@@ -47,17 +47,6 @@ bindir := @bindir@ + libdir := @libdir@ + includedir := @includedir@ + +-ifneq ($(DESTDIR),) +-# autoconf likes to define some of these in terms of each other +-# so if we want to add a prefix to each one we have to do it this way: +-destdir_prefix=$(DESTDIR)/ +-prefix := ${destdir_prefix}${prefix} +-exec_prefix := ${destdir_prefix}${exec_prefix} +-bindir := ${destdir_prefix}${bindir} +-libdir := ${destdir_prefix}${libdir} +-includedir := ${destdir_prefix}${includedir} +-endif +- + AC_INSTALL= @INSTALL@ + ifeq ($(AC_INSTALL),./install-sh -c) + INSTALL= $(srcdir)/../$(AC_INSTALL) +@@ -67,4 +56,4 @@ endif + + INSTALL_PROGRAM= $(INSTALL) -m 755 $(INSTALL_PROGRAM_FLAGS) + INSTALL_DATA= $(INSTALL) -m 644 +-INSTALL_DIR= $(INSTALL) -d 755 ++INSTALL_DIR= $(INSTALL) -m 755 -d diff --git a/libraries/adns/adns.SlackBuild b/libraries/adns/adns.SlackBuild index 0170604b05..a264cf629c 100644 --- a/libraries/adns/adns.SlackBuild +++ b/libraries/adns/adns.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ADNS -# Copyright 2018-2020 Sergey Poznyakoff, <gray@gnu.org> +# Copyright 2018-2024 Sergey Poznyakoff, <gray@gnu.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=adns -VERSION=${VERSION:-1.6.0} -BUILD=${BUILD:-5} +VERSION=${VERSION:-1.6.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,6 +71,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION +patch -p1 < $CWD/adns-1.6.1.DESTDIR.patch chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -88,8 +89,6 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --infodir=/usr/info \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-static \ - --enable-shared \ --build=$ARCH-slackware-linux make diff --git a/libraries/adns/adns.info b/libraries/adns/adns.info index b9db6c6b5e..da642b124d 100644 --- a/libraries/adns/adns.info +++ b/libraries/adns/adns.info @@ -1,8 +1,8 @@ PRGNAM="adns" -VERSION="1.6.0" +VERSION="1.6.1" HOMEPAGE="http://www.gnu.org/software/adns" -DOWNLOAD="http://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-1.6.0.tar.gz" -MD5SUM="b01ba30e4b486d523059bb02ad1441f3" +DOWNLOAD="http://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-1.6.1.tar.gz" +MD5SUM="dfd46495001615819cc3a1852ce0d2e1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/allegro/README b/libraries/allegro/README index 7409d02ada..0257d99378 100644 --- a/libraries/allegro/README +++ b/libraries/allegro/README @@ -14,3 +14,7 @@ of its key features include: * Open Source - anyone can contribute, including you! * Free - it won't cost you a dime, and there are no restrictions on its usage + +physfs is optional, but allegro needs to be built against it to use it, +and some programs using allegro, like opensurge, requires physfs built +into it. diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild index 4201cdc093..149c36367a 100644 --- a/libraries/allegro/allegro.SlackBuild +++ b/libraries/allegro/allegro.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=allegro SRCNAM=allegro5 VERSION=${VERSION:-5.2.9.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/allegro/allegro.info b/libraries/allegro/allegro.info index 22b3540386..8cede97aa3 100644 --- a/libraries/allegro/allegro.info +++ b/libraries/allegro/allegro.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/liballeg/allegro5/archive/5.2.9.1/allegro5-5.2.9.1. MD5SUM="94b189f2b138891b5f068e9a0915b5eb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="physfs" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" diff --git a/libraries/antlr4/antlr4.SlackBuild b/libraries/antlr4/antlr4.SlackBuild index 8adfa04eaa..e65576f684 100644 --- a/libraries/antlr4/antlr4.SlackBuild +++ b/libraries/antlr4/antlr4.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=antlr4 -VERSION=${VERSION:-4.13.1} +VERSION=${VERSION:-4.13.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/antlr4/antlr4.info b/libraries/antlr4/antlr4.info index a8e0b086d3..29fd104f49 100644 --- a/libraries/antlr4/antlr4.info +++ b/libraries/antlr4/antlr4.info @@ -1,8 +1,8 @@ PRGNAM="antlr4" -VERSION="4.13.1" +VERSION="4.13.2" HOMEPAGE="https://www.antlr.org/" -DOWNLOAD="https://www.antlr.org/download/antlr4-cpp-runtime-4.13.1-source.zip" -MD5SUM="c875c148991aacd043f733827644a76f" +DOWNLOAD="https://www.antlr.org/download/antlr4-cpp-runtime-4.13.2-source.zip" +MD5SUM="bac8aef215ffd7b23a1dde2fcfe3c842" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="utfcpp" diff --git a/libraries/appstream-glib/appstream-glib.SlackBuild b/libraries/appstream-glib/appstream-glib.SlackBuild index 090772116a..18962a929c 100644 --- a/libraries/appstream-glib/appstream-glib.SlackBuild +++ b/libraries/appstream-glib/appstream-glib.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for appstream-glib # Copyright 2017-2021 Andrew Clemons, Wellington New Zealand -# Copyright 2022 Andrew Clemons, Tokyo Japan +# Copyright 2022,2024 Andrew Clemons, Tokyo Japan # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,9 +26,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=appstream-glib -VERSION=${VERSION:-0.8.2} +VERSION=${VERSION:-0.8.3} SRCVERSION=$(echo "$PRGNAM" | tr - _)_$(echo "$VERSION" | tr . _) -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -88,7 +88,6 @@ meson \ --sysconfdir=/etc \ --mandir=/usr/man \ -Dgtk-doc=true \ - -Dstemmer=false \ .. "${NINJA:=ninja}" diff --git a/libraries/appstream-glib/appstream-glib.info b/libraries/appstream-glib/appstream-glib.info index 70aed3ed0d..9e3aea5f9d 100644 --- a/libraries/appstream-glib/appstream-glib.info +++ b/libraries/appstream-glib/appstream-glib.info @@ -1,8 +1,8 @@ PRGNAM="appstream-glib" -VERSION="0.8.2" +VERSION="0.8.3" HOMEPAGE="https://github.com/hughsie/appstream-glib" -DOWNLOAD="https://github.com/hughsie/appstream-glib/archive/appstream_glib_0_8_2/appstream-glib-appstream_glib_0_8_2.tar.gz" -MD5SUM="96e82a83c11a3d5cba1662d1dda0e41d" +DOWNLOAD="https://github.com/hughsie/appstream-glib/archive/appstream_glib_0_8_3/appstream-glib-appstream_glib_0_8_3.tar.gz" +MD5SUM="9818702cda4bda00eeec2db9758e4a20" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gcab" diff --git a/libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.SlackBuild b/libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.SlackBuild index efd48e9e0f..b210817dbc 100644 --- a/libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.SlackBuild +++ b/libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=aspnetcore-runtime-6.0 SRCNAM=aspnetcore-runtime -VERSION=${VERSION:-6.0.27} +VERSION=${VERSION:-6.0.33} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.info b/libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.info index c17092d8db..d2d5c4b8e6 100644 --- a/libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.info +++ b/libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.info @@ -1,10 +1,10 @@ PRGNAM="aspnetcore-runtime-6.0" -VERSION="6.0.27" +VERSION="6.0.33" HOMEPAGE="https://dotnet.microsoft.com/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/d3e6b8a2-f7de-441e-a3af-c18b7584034b/9f15be4d095b7bbb751222b4d68a17e3/aspnetcore-runtime-6.0.27-linux-x64.tar.gz" -MD5SUM_x86_64="42a926f0983ecc672c3bf34cd691663c" +DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/91f66f75-bd3e-48f1-acb9-99c0da753f96/42c47999ee4c4d108774536afe5da160/aspnetcore-runtime-6.0.33-linux-x64.tar.gz" +MD5SUM_x86_64="56565ecd3563c010e014cd5a249b3476" REQUIRES="" MAINTAINER="Reza Talebi" EMAIL="reza.talebi.73@outlook.com" diff --git a/libraries/ayatana-ido/ayatana-ido.SlackBuild b/libraries/ayatana-ido/ayatana-ido.SlackBuild index 5230181fde..75b4d421b7 100644 --- a/libraries/ayatana-ido/ayatana-ido.SlackBuild +++ b/libraries/ayatana-ido/ayatana-ido.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for ayatana-ido. # # Copyright 2023 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2023 Reza Talebi, Shahin Shahr, Iran. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ayatana-ido -VERSION=${VERSION:-0.10.1} +VERSION=${VERSION:-0.10.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/ayatana-ido/ayatana-ido.info b/libraries/ayatana-ido/ayatana-ido.info index 58783f3f3b..88b3c1d71d 100644 --- a/libraries/ayatana-ido/ayatana-ido.info +++ b/libraries/ayatana-ido/ayatana-ido.info @@ -1,10 +1,10 @@ PRGNAM="ayatana-ido" -VERSION="0.10.1" +VERSION="0.10.4" HOMEPAGE="https://github.com/AyatanaIndicators/ayatana-ido" -DOWNLOAD="https://github.com/AyatanaIndicators/ayatana-ido/archive/0.10.1/ayatana-ido-0.10.1.tar.gz" -MD5SUM="9d87a3af97cc3f9e662293e6354e3072" +DOWNLOAD="https://github.com/AyatanaIndicators/ayatana-ido/archive/0.10.4/ayatana-ido-0.10.4.tar.gz" +MD5SUM="c5c889f68c4d3b9d5544219a470e7a43" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Edinaldo P. Silva" -EMAIL="edps.mundognu@gmail.com" +MAINTAINER="Reza Talebi" +EMAIL="reza.talebi.73@outlook.com" diff --git a/libraries/belle-sip/README b/libraries/belle-sip/README deleted file mode 100644 index 1f4bada577..0000000000 --- a/libraries/belle-sip/README +++ /dev/null @@ -1 +0,0 @@ -belle-sip is a C object oriented SIP Stack used by linphone. diff --git a/libraries/belle-sip/belle-sip.info b/libraries/belle-sip/belle-sip.info deleted file mode 100644 index a479743faa..0000000000 --- a/libraries/belle-sip/belle-sip.info +++ /dev/null @@ -1,12 +0,0 @@ -PRGNAM="belle-sip" -VERSION="1.6.3" -HOMEPAGE="http://www.linphone.org/technical-corner/belle-sip.html" -DOWNLOAD="https://download.linphone.org/releases/old/sources/belle-sip/belle-sip-1.6.3.tar.gz \ - https://github.com/antlr/website-antlr3/raw/gh-pages/download/antlr-3.4-complete.jar" -MD5SUM="90c40812d98671ad2f40621542500bc6 \ - 1b91dea1c7d480b3223f7c8a9aa0e172" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="bctoolbox zulu-openjdk8 libantlr3c" -MAINTAINER="Euan Thoms" -EMAIL="euan at potensol dot com" diff --git a/libraries/belle-sip/gcc9.patch b/libraries/belle-sip/gcc9.patch deleted file mode 100644 index 35fa1ceae0..0000000000 --- a/libraries/belle-sip/gcc9.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/src/dns.h b/src/dns.h -index ac390ae..33d99de 100644 ---- a/src/dns.h -+++ b/src/dns.h -@@ -158,14 +158,6 @@ DNS_PUBLIC int *dns_debug_p(void); - - #define dns_quietinit(...) \ - DNS_PRAGMA_PUSH DNS_PRAGMA_QUIET __VA_ARGS__ DNS_PRAGMA_POP --#elif (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4 --#define DNS_PRAGMA_PUSH _Pragma("GCC diagnostic push") --#define DNS_PRAGMA_QUIET _Pragma("GCC diagnostic ignored \"-Woverride-init\"") --#define DNS_PRAGMA_POP _Pragma("GCC diagnostic pop") -- --/* GCC parses the _Pragma operator less elegantly than clang. */ --#define dns_quietinit(...) \ -- __extension__ ({ DNS_PRAGMA_PUSH DNS_PRAGMA_QUIET __VA_ARGS__; DNS_PRAGMA_POP }) - #else - #define DNS_PRAGMA_PUSH - #define DNS_PRAGMA_QUIET diff --git a/libraries/camlpdf/camlpdf.SlackBuild b/libraries/camlpdf/camlpdf.SlackBuild index 37a5d8626c..4dd0f26442 100644 --- a/libraries/camlpdf/camlpdf.SlackBuild +++ b/libraries/camlpdf/camlpdf.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=camlpdf -VERSION=${VERSION:-2.7} +VERSION=${VERSION:-2.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/camlpdf/camlpdf.info b/libraries/camlpdf/camlpdf.info index 8ab267c795..8c4824b094 100644 --- a/libraries/camlpdf/camlpdf.info +++ b/libraries/camlpdf/camlpdf.info @@ -1,8 +1,8 @@ PRGNAM="camlpdf" -VERSION="2.7" +VERSION="2.7.1" HOMEPAGE="https://github.com/johnwhitington/camlpdf" -DOWNLOAD="https://github.com/johnwhitington/camlpdf/archive/v2.7/camlpdf-2.7.tar.gz" -MD5SUM="7d53d94a2783801ff0df13595d599aa8" +DOWNLOAD="https://github.com/johnwhitington/camlpdf/archive/v2.7.1/camlpdf-2.7.1.tar.gz" +MD5SUM="5ec4c14006769e68be97a3ed70d46bc7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ocaml-findlib" diff --git a/libraries/cmark/cmark.SlackBuild b/libraries/cmark/cmark.SlackBuild index a0cc6b6dca..2c0d06b295 100644 --- a/libraries/cmark/cmark.SlackBuild +++ b/libraries/cmark/cmark.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cmark -VERSION=${VERSION:-0.31.0} +VERSION=${VERSION:-0.31.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/cmark/cmark.info b/libraries/cmark/cmark.info index f85a6f0251..f662bb89f5 100644 --- a/libraries/cmark/cmark.info +++ b/libraries/cmark/cmark.info @@ -1,8 +1,8 @@ PRGNAM="cmark" -VERSION="0.31.0" +VERSION="0.31.1" HOMEPAGE="https://github.com/commonmark/cmark" -DOWNLOAD="https://github.com/commonmark/cmark/archive/0.31.0/cmark-0.31.0.tar.gz" -MD5SUM="0f18ad50f77cc20e048316857f187da2" +DOWNLOAD="https://github.com/commonmark/cmark/archive/0.31.1/cmark-0.31.1.tar.gz" +MD5SUM="362160f1c0457389f5ad6e9d5eaf4cfb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/curlpp/README b/libraries/curlpp/README new file mode 100644 index 0000000000..9b57c9f746 --- /dev/null +++ b/libraries/curlpp/README @@ -0,0 +1,3 @@ +curlpp is a C++ wrapper around libcURL + +A thin object-oriented, type- and exception-safe wrapper over libcURL. diff --git a/libraries/curlpp/curlpp.SlackBuild b/libraries/curlpp/curlpp.SlackBuild new file mode 100644 index 0000000000..2511d830b1 --- /dev/null +++ b/libraries/curlpp/curlpp.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/bash + +# Slackware build script for curlpp + +# Copyright 2024 xaizek <xaizek@posteo.net> +# 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=curlpp +VERSION=${VERSION:-0.8.1} +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 {} \; + +# CURLOPT_CLOSEPOLICY is no longer a valid option since curl v8.10, changing its +# type from an enumeration to an integer and causing a build error +sed -i 's/CURLOPT_CLOSEPOLICY/(CURLoption)&/' include/curlpp/Options.hpp + +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 .. + +# Don't ship static library. At least in v0.8.1 there is no CMake option to +# disable building it. +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.a + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Readme.md doc/AUTHORS doc/LICENSE doc/TODO doc/guide.pdf \ + $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/curlpp/curlpp.info b/libraries/curlpp/curlpp.info new file mode 100644 index 0000000000..d4e75ff434 --- /dev/null +++ b/libraries/curlpp/curlpp.info @@ -0,0 +1,10 @@ +PRGNAM="curlpp" +VERSION="0.8.1" +HOMEPAGE="https://www.curlpp.org/" +DOWNLOAD="https://github.com/jpbarrette/curlpp/archive/v0.8.1/curlpp-0.8.1.tar.gz" +MD5SUM="2fdd2fc2e577b7e76193018cac457e9c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="xaizek" +EMAIL="xaizek@posteo.net" diff --git a/libraries/belle-sip/slack-desc b/libraries/curlpp/slack-desc index 1ae0797e4d..ea6859f61a 100644 --- a/libraries/belle-sip/slack-desc +++ b/libraries/curlpp/slack-desc @@ -5,15 +5,15 @@ # 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------------------------------------------------------| -belle-sip: belle-sip (A Voice-over-IP phone) -belle-sip: -belle-sip: Belle-SIP is a C object oriented SIP Stack used by Linphone. -belle-sip: -belle-sip: http://www.linphone.org/technical-corner/belle-sip/overview -belle-sip: -belle-sip: -belle-sip: -belle-sip: -belle-sip: -belle-sip: + |-----handy-ruler------------------------------------------------------| +curlpp: curlpp (C++ wrapper around libcURL) +curlpp: +curlpp: A thin object-oriented, type- and exception-safe wrapper over libcURL. +curlpp: +curlpp: +curlpp: +curlpp: +curlpp: +curlpp: +curlpp: +curlpp: diff --git a/libraries/dav1d/dav1d.SlackBuild b/libraries/dav1d/dav1d.SlackBuild index 70cced3037..5bdc954e7b 100644 --- a/libraries/dav1d/dav1d.SlackBuild +++ b/libraries/dav1d/dav1d.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for dav1d # # Copyright (c) 2019-2024 Andrew Strong, Blue Mountains, Australia. +# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that @@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dav1d -VERSION=${VERSION:-1.4.0} +VERSION=${VERSION:-1.4.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/dav1d/dav1d.info b/libraries/dav1d/dav1d.info index 53196f5a6e..e387ef18de 100644 --- a/libraries/dav1d/dav1d.info +++ b/libraries/dav1d/dav1d.info @@ -1,10 +1,10 @@ PRGNAM="dav1d" -VERSION="1.4.0" +VERSION="1.4.3" HOMEPAGE="https://code.videolan.org/videolan/dav1d" -DOWNLOAD="https://code.videolan.org/videolan/dav1d/-/archive/1.4.0/dav1d-1.4.0.tar.gz" -MD5SUM="827aff30accb3de733df9482e19935d4" +DOWNLOAD="https://code.videolan.org/videolan/dav1d/-/archive/1.4.3/dav1d-1.4.3.tar.gz" +MD5SUM="c6fd9302a28d8c8e41e9a658a2be2031" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Andrew Strong" -EMAIL="andrew.david.strong@gmail.com" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/libraries/digimend-kernel-drivers/digimend-kernel-drivers.SlackBuild b/libraries/digimend-kernel-drivers/digimend-kernel-drivers.SlackBuild index e720ec814d..243e216d4d 100644 --- a/libraries/digimend-kernel-drivers/digimend-kernel-drivers.SlackBuild +++ b/libraries/digimend-kernel-drivers/digimend-kernel-drivers.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for digimend-kernel-drivers -# Copyright 2020-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2020-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=digimend-kernel-drivers -VERSION=${VERSION:-11} -GITVER=eca6e1b701bffb80a293234a485ebf6b4bc85562 +VERSION=${VERSION:-13} +GITVER=201c430326ad53cb17300a06082965c97e076072 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/digimend-kernel-drivers/digimend-kernel-drivers.info b/libraries/digimend-kernel-drivers/digimend-kernel-drivers.info index 17ae14316e..693a8164d2 100644 --- a/libraries/digimend-kernel-drivers/digimend-kernel-drivers.info +++ b/libraries/digimend-kernel-drivers/digimend-kernel-drivers.info @@ -1,10 +1,10 @@ PRGNAM="digimend-kernel-drivers" -VERSION="11" +VERSION="13" HOMEPAGE="https://github.com/DIGImend/digimend-kernel-drivers" -DOWNLOAD="https://github.com/DIGImend/digimend-kernel-drivers/archive/eca6e1b701bffb80a293234a485ebf6b4bc85562/digimend-kernel-drivers-eca6e1b701bffb80a293234a485ebf6b4bc85562.zip" -MD5SUM="047a6b06b377fb4f179b07a7e0c5abe6" +DOWNLOAD="https://github.com/DIGImend/digimend-kernel-drivers/archive/201c430326ad53cb17300a06082965c97e076072/digimend-kernel-drivers-201c430326ad53cb17300a06082965c97e076072.zip" +MD5SUM="e03e46df0a5a4b14194c2b766ead7a71" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="%README%" +REQUIRES="" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" diff --git a/libraries/exempi/exempi.SlackBuild b/libraries/exempi/exempi.SlackBuild index d854ec7a78..f909b395b6 100644 --- a/libraries/exempi/exempi.SlackBuild +++ b/libraries/exempi/exempi.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for exempi # Copyright 2007-2012 Michiel van Wessem, Leicester, United Kingdom -# Copyright 2020 B. Watson +# Copyright 2020-2024 B. Watson # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -26,6 +26,7 @@ # Now maintained by B. Watson <urchlay@slackware.uk> +# 20240824 bkw: update for v2.6.5 # 20230823 bkw: update for v2.6.4 # 20221225 bkw: update for v2.6.3 # 20210801 bkw: update for v2.5.2 @@ -37,7 +38,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=exempi -VERSION=${VERSION:-2.6.4} +VERSION=${VERSION:-2.6.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/exempi/exempi.info b/libraries/exempi/exempi.info index 716d9136cc..9f5eec8677 100644 --- a/libraries/exempi/exempi.info +++ b/libraries/exempi/exempi.info @@ -1,8 +1,8 @@ PRGNAM="exempi" -VERSION="2.6.4" +VERSION="2.6.5" HOMEPAGE="https://libopenraw.freedesktop.org/exempi/" -DOWNLOAD="https://libopenraw.freedesktop.org/download/exempi-2.6.4.tar.xz" -MD5SUM="c2bd12b5773f35c3832dcd1169fac3dc" +DOWNLOAD="https://libopenraw.freedesktop.org/download/exempi-2.6.5.tar.xz" +MD5SUM="51fe14c2a5fa44816ba8187c6ad87d78" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/faun/faun.SlackBuild b/libraries/faun/faun.SlackBuild index 21d6e054ce..05a16f051b 100644 --- a/libraries/faun/faun.SlackBuild +++ b/libraries/faun/faun.SlackBuild @@ -11,12 +11,13 @@ # faun. I will not update it, if the update would break the xu4 build. # I'm not sure anything else uses faun, anyway. +# 20240807 bkw: updated for v0.1.5. # 20230712 bkw: updated for v0.1.3. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=faun -VERSION=${VERSION:-0.1.3} +VERSION=${VERSION:-0.1.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,16 +41,12 @@ 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 diff --git a/libraries/faun/faun.info b/libraries/faun/faun.info index d2826cc834..7ba1dfe67c 100644 --- a/libraries/faun/faun.info +++ b/libraries/faun/faun.info @@ -1,8 +1,8 @@ PRGNAM="faun" -VERSION="0.1.3" +VERSION="0.1.5" HOMEPAGE="https://github.com/WickedSmoke/faun/" -DOWNLOAD="https://github.com/WickedSmoke/faun/archive/v0.1.3/faun-0.1.3.tar.gz" -MD5SUM="4c067fc1ea0da300abaf31b85565fe6e" +DOWNLOAD="https://github.com/WickedSmoke/faun/archive/v0.1.5/faun-0.1.5.tar.gz" +MD5SUM="7c6bfa6354e827464a18849396b690ff" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/flatzebra/flatzebra.SlackBuild b/libraries/flatzebra/flatzebra.SlackBuild index c77dff2d7e..41ddfe9ca1 100644 --- a/libraries/flatzebra/flatzebra.SlackBuild +++ b/libraries/flatzebra/flatzebra.SlackBuild @@ -11,7 +11,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=flatzebra -VERSION=${VERSION:-0.1.7} +VERSION=${VERSION:-0.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -74,7 +74,7 @@ CXXFLAGS="$SLKCFLAGS" \ sed -i '/^docdir/s,datadir,prefix,' Makefile make -make install-strip DESTDIR=$PKG +make install-strip DESTDIR=$PKG docdir=/usr/doc/$PRGNAM-$VERSION rm -f $PKG/usr/lib*/*.la # 'make install-strip' created the doc dir already diff --git a/libraries/flatzebra/flatzebra.info b/libraries/flatzebra/flatzebra.info index b5fa113935..6bc756e418 100644 --- a/libraries/flatzebra/flatzebra.info +++ b/libraries/flatzebra/flatzebra.info @@ -1,8 +1,8 @@ PRGNAM="flatzebra" -VERSION="0.1.7" +VERSION="0.2.0" HOMEPAGE="http://perso.b2b2c.ca/~sarrazip/" -DOWNLOAD="https://slackware.uk/~urchlay/src/flatzebra-0.1.7.tar.gz" -MD5SUM="2cae300b3d8c75d6c810be0292ef201c" +DOWNLOAD="http://perso.b2b2c.ca/~sarrazip/dev/flatzebra-0.2.0.tar.gz" +MD5SUM="8186a9c8c6704f839a59c989e1edef71" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/gamemode/gamemode.SlackBuild b/libraries/gamemode/gamemode.SlackBuild index af7b660419..3a1666188c 100644 --- a/libraries/gamemode/gamemode.SlackBuild +++ b/libraries/gamemode/gamemode.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for gamemode -# 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 @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gamemode -VERSION=${VERSION:-1.8.1} +VERSION=${VERSION:-1.8.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/gamemode/gamemode.info b/libraries/gamemode/gamemode.info index 00cc1079a5..f72606443d 100644 --- a/libraries/gamemode/gamemode.info +++ b/libraries/gamemode/gamemode.info @@ -1,8 +1,8 @@ PRGNAM="gamemode" -VERSION="1.8.1" +VERSION="1.8.2" HOMEPAGE="https://github.com/FeralInteractive/gamemode" -DOWNLOAD="https://github.com/FeralInteractive/gamemode/archive/refs/tags/1.8.1/gamemode-1.8.1.tar.gz" -MD5SUM="12e169fd3502c1832f222b68afc7050a" +DOWNLOAD="https://github.com/FeralInteractive/gamemode/archive/refs/tags/1.8.2/gamemode-1.8.2.tar.gz" +MD5SUM="96522bb7cecac18999507f097f8e231f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/gcab/fix-gcab-options.patch b/libraries/gcab/fix-gcab-options.patch new file mode 100644 index 0000000000..5f95ce5db1 --- /dev/null +++ b/libraries/gcab/fix-gcab-options.patch @@ -0,0 +1,28 @@ +diff --git a/libgcab/cabinet.c b/libgcab/cabinet.c +index 6241904..275d5f5 100644 +--- a/libgcab/cabinet.c ++++ b/libgcab/cabinet.c +@@ -26,7 +26,7 @@ + static voidpf + zalloc (voidpf opaque, uInt items, uInt size) + { +- return g_malloc (items *size); ++ return g_malloc_n (items, size); + } + static void + zfree (voidpf opaque, voidpf address) +diff --git a/meson.build b/meson.build +index ec02cdc..38d1a19 100644 +--- a/meson.build ++++ b/meson.build +@@ -6,10 +6,6 @@ project('gcab', 'c', + ) + + git_version = [] +-git = find_program('git', required: false) +-if git.found() +- git_version = run_command(git, 'describe', '--abbrev=4', '--dirty', check: false).stdout().strip().split('-') +-endif + + # libtool versioning + lt_current = 3 diff --git a/libraries/gcab/gcab.SlackBuild b/libraries/gcab/gcab.SlackBuild index 5bcdae7954..bc23520ed4 100644 --- a/libraries/gcab/gcab.SlackBuild +++ b/libraries/gcab/gcab.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for "gcab". +# Copyright 2019-2024 Pouria Rezaei <Pouria.rz@outlook.com> # Copyright 2015 Marcel Saegebarth <marc@mos6581.de> # All rights reserved. # @@ -27,8 +28,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gcab -VERSION=${VERSION:-0.6} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.6} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,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 @@ -74,6 +72,10 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION +# - Avoid integer overflow in zalloc +# - Avoid needing git to build. +patch -p1 < "$CWD/fix-gcab-options.patch" + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -83,18 +85,19 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -./configure \ +meson setup build \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-static=no \ - --build=$ARCH-slackware-linux + -Ddefault_library=shared + +meson compile -C build +meson install -C build --destdir $PKG -make -make install-strip DESTDIR=$PKG +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done diff --git a/libraries/gcab/gcab.info b/libraries/gcab/gcab.info index aa752ab5e8..758ecb50a0 100644 --- a/libraries/gcab/gcab.info +++ b/libraries/gcab/gcab.info @@ -1,10 +1,10 @@ PRGNAM="gcab" -VERSION="0.6" +VERSION="1.6" HOMEPAGE="https://wiki.gnome.org/msitools/" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gcab/0.6/gcab-0.6.tar.xz" -MD5SUM="dd7333644cb88995693f043da9bf55d3" +DOWNLOAD="https://download.gnome.org/sources/gcab/1.6/gcab-1.6.tar.xz" +MD5SUM="13795d44b27c6b84107a83315edcfb01" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Marcel Saegebarth" -EMAIL="marc@mos6581.de" +MAINTAINER="Pouria Rezaei" +EMAIL="Pouria.rz@outlook.com" diff --git a/libraries/grpc/grpc.SlackBuild b/libraries/grpc/grpc.SlackBuild index 981e72a85d..6908460166 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.63.0} +VERSION=${VERSION:-1.66.1} OPENCENSUS_VERSION=${OPENCENSUS_VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/grpc/grpc.info b/libraries/grpc/grpc.info index a5342238d1..1d0c0c0d38 100644 --- a/libraries/grpc/grpc.info +++ b/libraries/grpc/grpc.info @@ -1,9 +1,9 @@ PRGNAM="grpc" -VERSION="1.63.0" +VERSION="1.66.1" HOMEPAGE="https://grpc.io/" -DOWNLOAD="https://github.com/grpc/grpc/archive/v1.63.0/grpc-1.63.0.tar.gz \ +DOWNLOAD="https://github.com/grpc/grpc/archive/v1.66.1/grpc-1.66.1.tar.gz \ https://github.com/census-instrumentation/opencensus-proto/archive/v0.3.0/opencensus-proto-0.3.0.tar.gz" -MD5SUM="a7a4cd8ce187c4a49d9498b3fcd148b2 \ +MD5SUM="93b5c17163d51517308a798221d3a563 \ 0b208800a68548cbf2d4bff763c050a2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/gsm/gsm.SlackBuild b/libraries/gsm/gsm.SlackBuild index fd369edbbf..e13bbf25ce 100644 --- a/libraries/gsm/gsm.SlackBuild +++ b/libraries/gsm/gsm.SlackBuild @@ -78,7 +78,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -ALTVER=`echo $VERSION|awk -F"." '{print $1 "." $2 "-pl" $3 }'` +ALTVER=$( echo $VERSION|awk -F"." '{print $1 "." $2 "-pl" $3 }' ) rm -rf $PRGNAM-$ALTVER tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$ALTVER diff --git a/libraries/gumbo-parser/gumbo-parser.SlackBuild b/libraries/gumbo-parser/gumbo-parser.SlackBuild index 4123637a97..4e25a2efaa 100644 --- a/libraries/gumbo-parser/gumbo-parser.SlackBuild +++ b/libraries/gumbo-parser/gumbo-parser.SlackBuild @@ -2,25 +2,13 @@ # Slackware build script for gumbo-parser -# Copyright 2020 Hunter Sezen California, 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. +# Original author: Hunter Sezen. +# Modified and now maintained by B. Watson <urchlay@slackware.uk>. + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20240905 bkw: +# - new maintainer. cd $(dirname $0) ; CWD=$(pwd) @@ -38,9 +26,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 @@ -64,7 +49,7 @@ else LIBDIRSUFFIX="" fi -set -eu +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -73,11 +58,8 @@ 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 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + autoreconf -fi @@ -90,18 +72,14 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | - grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES.md CONTRIBUTING.md COPYING DEBUGGING.md README.md THANKS \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - +make install-strip DESTDIR=$PKG rm -f $PKG/usr/lib*/*.la +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a *.md COPYING THANKS $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/gumbo-parser/gumbo-parser.info b/libraries/gumbo-parser/gumbo-parser.info index 2937052ec6..834a4e052b 100644 --- a/libraries/gumbo-parser/gumbo-parser.info +++ b/libraries/gumbo-parser/gumbo-parser.info @@ -6,5 +6,5 @@ MD5SUM="c6f75c9eda65e897c242f8958a34aed0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Hunter Sezen" -EMAIL="orbea@riseup.net" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/libraries/highway/changelog b/libraries/highway/changelog index 7b5e3a7be1..d3732fa44e 100644 --- a/libraries/highway/changelog +++ b/libraries/highway/changelog @@ -16,3 +16,7 @@ Updated to version 1.0.7 19/02/2024 Updated to version 1.1.0 + +14/08/2024: + +Updated to version 1.2.0 diff --git a/libraries/highway/highway.SlackBuild b/libraries/highway/highway.SlackBuild index 72566af773..2e179d6a55 100644 --- a/libraries/highway/highway.SlackBuild +++ b/libraries/highway/highway.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=highway -VERSION=${VERSION:-1.1.0} +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -89,7 +89,7 @@ cmake -B build -S $TMP/$PRGNAM-$VERSION \ -DBUILD_TESTING:BOOL=OFF \ -DHWY_SYSTEM_GTEST:BOOL=ON \ -DHWY_ENABLE_CONTRIB:BOOL=ON \ - -DHWY_ENABLE_EXAMPLES:BOOL=ON \ + -DHWY_ENABLE_EXAMPLES:BOOL=OFF \ -DHWY_ENABLE_INSTALL:BOOL=ON cmake --build build diff --git a/libraries/highway/highway.info b/libraries/highway/highway.info index 3ab7ea09b4..48b0a0e02a 100644 --- a/libraries/highway/highway.info +++ b/libraries/highway/highway.info @@ -1,8 +1,8 @@ PRGNAM="highway" -VERSION="1.1.0" +VERSION="1.2.0" HOMEPAGE="https://github.com/google/highway" -DOWNLOAD="https://github.com/google/highway/archive/1.1.0/highway-1.1.0.tar.gz" -MD5SUM="6a5d433b66626afbd3fcc5884d2f270a" +DOWNLOAD="https://github.com/google/highway/archive/1.2.0/highway-1.2.0.tar.gz" +MD5SUM="8b3d090a2d081730b40bca5ae0d65f11" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gtest" diff --git a/libraries/imlib2/imlib2.SlackBuild b/libraries/imlib2/imlib2.SlackBuild index 2561aff34d..57281586bd 100644 --- a/libraries/imlib2/imlib2.SlackBuild +++ b/libraries/imlib2/imlib2.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=imlib2 -VERSION=${VERSION:-1.12.2} +VERSION=${VERSION:-1.12.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/imlib2/imlib2.info b/libraries/imlib2/imlib2.info index 61b34c0a37..8a29230c98 100644 --- a/libraries/imlib2/imlib2.info +++ b/libraries/imlib2/imlib2.info @@ -1,8 +1,8 @@ PRGNAM="imlib2" -VERSION="1.12.2" +VERSION="1.12.3" HOMEPAGE="https://www.enlightenment.org" -DOWNLOAD="https://sourceforge.net/projects/enlightenment/files/imlib2-src/1.12.2/imlib2-1.12.2.tar.xz" -MD5SUM="046e7b2c918ae612dbf61dea8b59f37a" +DOWNLOAD="https://sourceforge.net/projects/enlightenment/files/imlib2-src/1.12.3/imlib2-1.12.3.tar.xz" +MD5SUM="93e5b769ed02a183dfd78569f7b0fbe3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/imlib2_loaders/imlib2_loaders.SlackBuild b/libraries/imlib2_loaders/imlib2_loaders.SlackBuild index 5f1cfd065e..2d96da080e 100644 --- a/libraries/imlib2_loaders/imlib2_loaders.SlackBuild +++ b/libraries/imlib2_loaders/imlib2_loaders.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2017 Azure Zanculmarktum <email removed> # Copyright 2020-2021 Igor Alexandrov <email removed> -# Copyright 2023 B. Watson (urchlay@gmail.com), current maintainer. +# Copyright 2023-2024 B. Watson (urchlay@gmail.com), current maintainer. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,6 +24,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20240827 bkw: update for v1.12.3. Again, no code changes. I wish +# upstream would stop releasing these with "no changes since v1.x.x" +# ChangeLog entries. All it does is make people contact me to update +# this build, which I can't even complain about because my README asks +# them to... + # 20230902 bkw: update for v1.11.1. # Note that the code didn't change between 1.10.0 and 1.11.1. In fact # there's a 1.12.0 and *it* has identical code. Basically, upstream @@ -41,7 +47,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=imlib2_loaders -VERSION=${VERSION:-1.11.1} +VERSION=${VERSION:-1.12.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,8 +92,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz 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 {} \+ +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/libraries/imlib2_loaders/imlib2_loaders.info b/libraries/imlib2_loaders/imlib2_loaders.info index 2e6fee3c0b..a104aacbec 100644 --- a/libraries/imlib2_loaders/imlib2_loaders.info +++ b/libraries/imlib2_loaders/imlib2_loaders.info @@ -1,8 +1,8 @@ PRGNAM="imlib2_loaders" -VERSION="1.11.1" +VERSION="1.12.3" HOMEPAGE="https://www.enlightenment.org" -DOWNLOAD="https://downloads.sourceforge.net/project/enlightenment/imlib2-src/1.11.1/imlib2_loaders-1.11.1.tar.xz" -MD5SUM="7364c8390595bc996aa9d2f5e395cb65" +DOWNLOAD="https://downloads.sourceforge.net/project/enlightenment/imlib2-src/1.12.3/imlib2_loaders-1.12.3.tar.xz" +MD5SUM="ad425ca611b9ac176030462542364670" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="imlib2" diff --git a/libraries/libaacs/libaacs.SlackBuild b/libraries/libaacs/libaacs.SlackBuild index fa2d613d3a..900686fe85 100644 --- a/libraries/libaacs/libaacs.SlackBuild +++ b/libraries/libaacs/libaacs.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# New maintainer: Edward W. Koenig <kingbeowulf@linuxgalaxy.org> + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libaacs diff --git a/libraries/libaacs/libaacs.info b/libraries/libaacs/libaacs.info index 9a75068a23..cda7e2327c 100644 --- a/libraries/libaacs/libaacs.info +++ b/libraries/libaacs/libaacs.info @@ -6,5 +6,5 @@ MD5SUM="9594fadca77a4010986d43f92e0959e7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" +MAINTAINER="Edward W. Koenig" +EMAIL="kingbeowulf@linuxgalaxy.org" diff --git a/libraries/libass/README b/libraries/libass/README index 5aef4001d0..b6a6558e40 100644 --- a/libraries/libass/README +++ b/libraries/libass/README @@ -2,4 +2,4 @@ libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter. -enca is an optional dependency. +enca and libunibreak are optional dependencies. diff --git a/libraries/libavif/changelog b/libraries/libavif/changelog index 2540c6b659..deefc94cec 100644 --- a/libraries/libavif/changelog +++ b/libraries/libavif/changelog @@ -38,3 +38,7 @@ Updated to version 1.0.3 19/02/2024: Updated to version 1.0.4 + +14/08/2024: + +Updated to version 1.1.1 diff --git a/libraries/libavif/libavif.SlackBuild b/libraries/libavif/libavif.SlackBuild index 4a695be48b..2385ac941b 100644 --- a/libraries/libavif/libavif.SlackBuild +++ b/libraries/libavif/libavif.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libavif -VERSION=${VERSION:-1.0.4} +VERSION=${VERSION:-1.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libavif/libavif.info b/libraries/libavif/libavif.info index c629421348..2d23ad892d 100644 --- a/libraries/libavif/libavif.info +++ b/libraries/libavif/libavif.info @@ -1,8 +1,8 @@ PRGNAM="libavif" -VERSION="1.0.4" +VERSION="1.1.1" HOMEPAGE="https://github.com/AOMediaCodec/libavif" -DOWNLOAD="https://github.com/AOMediaCodec/libavif/archive/v1.0.4/libavif-1.0.4.tar.gz" -MD5SUM="8c786fd21f8757ace8cc011401e4d420" +DOWNLOAD="https://github.com/AOMediaCodec/libavif/archive/v1.1.1/libavif-1.1.1.tar.gz" +MD5SUM="633c2113d52aecab5f0073da3456e2ae" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="aom dav1d svt-av1 libyuv" diff --git a/libraries/libayatana-appindicator/libayatana-appindicator.SlackBuild b/libraries/libayatana-appindicator/libayatana-appindicator.SlackBuild index 055102a92d..3d2c6479b0 100644 --- a/libraries/libayatana-appindicator/libayatana-appindicator.SlackBuild +++ b/libraries/libayatana-appindicator/libayatana-appindicator.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for libayatana-appindicator. # # Copyright 2023 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2024 Reza Talebi, Shahin Shahr, Iran. # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/libraries/libayatana-appindicator/libayatana-appindicator.info b/libraries/libayatana-appindicator/libayatana-appindicator.info index ed09354088..024d9634c1 100644 --- a/libraries/libayatana-appindicator/libayatana-appindicator.info +++ b/libraries/libayatana-appindicator/libayatana-appindicator.info @@ -6,5 +6,5 @@ MD5SUM="eb3121198bb7757c9aaf6482221a45de" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libayatana-indicator" -MAINTAINER="Edinaldo P. Silva" -EMAIL="edps.mundognu@gmail.com" +MAINTAINER="Reza Talebi" +EMAIL="reza.talebi.73@outlook.com" diff --git a/libraries/libayatana-indicator/libayatana-indicator.SlackBuild b/libraries/libayatana-indicator/libayatana-indicator.SlackBuild index 482712bcc0..4f07fd7ee5 100644 --- a/libraries/libayatana-indicator/libayatana-indicator.SlackBuild +++ b/libraries/libayatana-indicator/libayatana-indicator.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for libayatana-indicator. # # Copyright 2023 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2024 Reza Talebi, Shahin Shahr, Iran. # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/libraries/libayatana-indicator/libayatana-indicator.info b/libraries/libayatana-indicator/libayatana-indicator.info index b4b702400f..85bc392c15 100644 --- a/libraries/libayatana-indicator/libayatana-indicator.info +++ b/libraries/libayatana-indicator/libayatana-indicator.info @@ -6,5 +6,5 @@ MD5SUM="6279246c978a0d7fa582ada35bb315ef" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ayatana-ido" -MAINTAINER="Edinaldo P. Silva" -EMAIL="edps.mundognu@gmail.com" +MAINTAINER="Reza Talebi" +EMAIL="reza.talebi.73@outlook.com" diff --git a/libraries/libbdplus/libbdplus.SlackBuild b/libraries/libbdplus/libbdplus.SlackBuild index 08dff04bde..bbc95e3a0b 100644 --- a/libraries/libbdplus/libbdplus.SlackBuild +++ b/libraries/libbdplus/libbdplus.SlackBuild @@ -22,6 +22,9 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# New maintainer: Edward W. Koenig <kingbeowulf@linuxgalaxy.org> + + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libbdplus diff --git a/libraries/libbdplus/libbdplus.info b/libraries/libbdplus/libbdplus.info index 4c3a545074..0aac0f9dad 100644 --- a/libraries/libbdplus/libbdplus.info +++ b/libraries/libbdplus/libbdplus.info @@ -6,5 +6,5 @@ MD5SUM="f1ad1c67943d81e1e2e3ab1c1a8f3ebb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" +MAINTAINER="Edward W. Koenig" +EMAIL="kingbeowulf@linuxgalaxy.org" diff --git a/libraries/libcec/libcec.SlackBuild b/libraries/libcec/libcec.SlackBuild index 5ba5ad724f..e20696effe 100644 --- a/libraries/libcec/libcec.SlackBuild +++ b/libraries/libcec/libcec.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for libcec # Copyright 2011-2020 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -38,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 @@ -86,24 +84,28 @@ sed -i \ mkdir -p build cd build - cmake -G "Unix Makefiles" \ - -DCMAKE_INSTALL_PREFIX:PATH="/usr" \ + 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 .. - make VERBOSE=1 - make install 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 install -D -m 0644 debian/cec-client.1 $PKG/usr/man/man1/cec-client.1 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 README.md debian/changelog.in $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING README.md debian/changelog.in \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libcec/libcec.info b/libraries/libcec/libcec.info index b1b08d4473..991c513256 100644 --- a/libraries/libcec/libcec.info +++ b/libraries/libcec/libcec.info @@ -6,5 +6,5 @@ MD5SUM="68bb5aa90857fb5436795f2cfc163e0c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="platform" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/libraries/libcoap/libcoap.SlackBuild b/libraries/libcoap/libcoap.SlackBuild index e3dcf1c902..93071348fe 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.4a} +VERSION=${VERSION:-4.3.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libcoap/libcoap.info b/libraries/libcoap/libcoap.info index d1a5f8bbf5..31107100f1 100644 --- a/libraries/libcoap/libcoap.info +++ b/libraries/libcoap/libcoap.info @@ -1,8 +1,8 @@ PRGNAM="libcoap" -VERSION="4.3.4a" +VERSION="4.3.5" HOMEPAGE="https://libcoap.net/" -DOWNLOAD="https://github.com/obgm/libcoap/archive/v4.3.4a/libcoap-4.3.4a.tar.gz" -MD5SUM="c0de2c977c6bc42356750e6bd10b2d81" +DOWNLOAD="https://github.com/obgm/libcoap/archive/v4.3.5/libcoap-4.3.5.tar.gz" +MD5SUM="046e57980175a978c8c0dc6e56b0fb4b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libcpuid/libcpuid.SlackBuild b/libraries/libcpuid/libcpuid.SlackBuild index f5aed0b7fe..46e941f3fc 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.5} +VERSION=${VERSION:-0.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -103,7 +103,7 @@ 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 COPYING README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING Readme.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild rm -f $PKG/usr/lib*/*.la diff --git a/libraries/libcpuid/libcpuid.info b/libraries/libcpuid/libcpuid.info index 0ce6795494..68a4d130f4 100644 --- a/libraries/libcpuid/libcpuid.info +++ b/libraries/libcpuid/libcpuid.info @@ -1,8 +1,8 @@ PRGNAM="libcpuid" -VERSION="0.6.5" +VERSION="0.7.0" HOMEPAGE="http://libcpuid.sourceforge.net" -DOWNLOAD="https://github.com/anrieff/libcpuid/archive/v0.6.5/libcpuid-0.6.5.tar.gz" -MD5SUM="034584d695e8df67d544c571c98c9467" +DOWNLOAD="https://github.com/anrieff/libcpuid/archive/v0.7.0/libcpuid-0.7.0.tar.gz" +MD5SUM="dffa22c68dca9aca179ef697b1c7e46f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild b/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild index f803491e73..2c99323aa6 100644 --- a/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild +++ b/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild @@ -5,6 +5,7 @@ # Copyright 2020-2022 Corrado Franco (https://corradofranco.it) # Copyright 2022 marav Paris, France # Copyright 2023-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2024 Reza Talebi, Shahin Shahr, Iran. # All rights reserved. # # This program is free software: you can redistribute it and/or modify @@ -34,7 +35,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libcurl-gnutls SRCNAM=curl -VERSION=${VERSION:-8.6.0} +VERSION=${VERSION:-8.10.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libcurl-gnutls/libcurl-gnutls.info b/libraries/libcurl-gnutls/libcurl-gnutls.info index d7220759ce..6e2a0ecbb5 100644 --- a/libraries/libcurl-gnutls/libcurl-gnutls.info +++ b/libraries/libcurl-gnutls/libcurl-gnutls.info @@ -1,10 +1,10 @@ PRGNAM="libcurl-gnutls" -VERSION="8.6.0" +VERSION="8.10.0" HOMEPAGE="https://curl.haxx.se" -DOWNLOAD="https://curl.se/download/curl-8.6.0.tar.xz" -MD5SUM="8f28f7e08c91cc679a45fccf66184fbc" +DOWNLOAD="https://curl.se/download/curl-8.10.0.tar.xz" +MD5SUM="00e41b4c316108ac4ca66c2a6d0bf18a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Edinaldo P. Silva" -EMAIL="edps.mundognu@gmail.com" +MAINTAINER="Reza Talebi" +EMAIL="reza.talebi.73@outlook.com" diff --git a/libraries/libdc1394/libdc1394.SlackBuild b/libraries/libdc1394/libdc1394.SlackBuild index 8783d20911..dcb0c89e89 100644 --- a/libraries/libdc1394/libdc1394.SlackBuild +++ b/libraries/libdc1394/libdc1394.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# New maintainer: Edward W. Koenig <kingbeowulf@linuxgalaxy.org> + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libdc1394 diff --git a/libraries/libdc1394/libdc1394.info b/libraries/libdc1394/libdc1394.info index 718807d297..2c05c28c5e 100644 --- a/libraries/libdc1394/libdc1394.info +++ b/libraries/libdc1394/libdc1394.info @@ -6,5 +6,5 @@ MD5SUM="9fad67bbff08fe2818d5ec81802ec89f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" +MAINTAINER="Edward W. Koenig" +EMAIL="kingbeowulf@linuxgalaxy.org" diff --git a/libraries/libdca/libdca.info b/libraries/libdca/libdca.info index 681f7e5bd7..f4d5099a77 100644 --- a/libraries/libdca/libdca.info +++ b/libraries/libdca/libdca.info @@ -6,5 +6,5 @@ MD5SUM="68916db60e3017d92841f77908518a11" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Bill Kirkpatrick" -EMAIL="bkirkp@gmail.com" +MAINTAINER="Steven Voges" +EMAIL="svoges.sbo@gmail.com" 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/libewf/libewf.SlackBuild b/libraries/libewf/libewf.SlackBuild index 3c30c185c8..ca2c0ed88d 100644 --- a/libraries/libewf/libewf.SlackBuild +++ b/libraries/libewf/libewf.SlackBuild @@ -22,12 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Updated v20140814, July 2023. Barry J. Grundy (bgrundy<at>linuxleo.com) +# Updated v20140816, August 2024. Barry J. Grundy (bgrundy<at>linuxleo.com) cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libewf -VERSION=${VERSION:-20140814} +VERSION=${VERSION:-20140816} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libewf/libewf.info b/libraries/libewf/libewf.info index ae40b11f24..8c321be493 100644 --- a/libraries/libewf/libewf.info +++ b/libraries/libewf/libewf.info @@ -1,8 +1,8 @@ PRGNAM="libewf" -VERSION="20140814" +VERSION="20140816" HOMEPAGE="https://github.com/libyal/libewf-legacy/" -DOWNLOAD="https://github.com/libyal/libewf-legacy/releases/download/20140814/libewf-20140814.tar.gz" -MD5SUM="848032467f748344151469f86df67239" +DOWNLOAD="https://github.com/libyal/libewf-legacy/releases/download/20140816/libewf-20140816.tar.gz" +MD5SUM="9b64d7aba2e5485d8f6b9ed70005acbe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libfabric/changelog b/libraries/libfabric/changelog index 936fd485a4..8f89ed82e2 100644 --- a/libraries/libfabric/changelog +++ b/libraries/libfabric/changelog @@ -22,3 +22,7 @@ Updated to version 1.20.1 23/04/2024: Updated to version 1.21.0 + +18/08/2024: + +Updated to version 1.22.0 diff --git a/libraries/libfabric/libfabric.SlackBuild b/libraries/libfabric/libfabric.SlackBuild index 6043fa3371..718764b11d 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.21.0} +VERSION=${VERSION:-1.22.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libfabric/libfabric.info b/libraries/libfabric/libfabric.info index e8b5d73c79..acd61e152f 100644 --- a/libraries/libfabric/libfabric.info +++ b/libraries/libfabric/libfabric.info @@ -1,10 +1,10 @@ PRGNAM="libfabric" -VERSION="1.21.0" +VERSION="1.22.0" HOMEPAGE="https://libfabric.org/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/ofiwg/libfabric/archive/v1.21.0/libfabric-1.21.0.tar.gz" -MD5SUM_x86_64="43e7a7e473a9afc7b5af88fe56f06d17" +DOWNLOAD_x86_64="https://github.com/ofiwg/libfabric/archive/v1.22.0/libfabric-1.22.0.tar.gz" +MD5SUM_x86_64="79c1c364ed149910ad69663355892232" REQUIRES="numactl rdma-core valgrind" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" diff --git a/libraries/libfido2/libfido2.SlackBuild b/libraries/libfido2/libfido2.SlackBuild index 4ef871efbe..cfdc36316c 100644 --- a/libraries/libfido2/libfido2.SlackBuild +++ b/libraries/libfido2/libfido2.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libfido2 -VERSION=${VERSION:-1.14.0} +VERSION=${VERSION:-1.15.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libfido2/libfido2.info b/libraries/libfido2/libfido2.info index dab724471c..67c3ce1e2c 100644 --- a/libraries/libfido2/libfido2.info +++ b/libraries/libfido2/libfido2.info @@ -1,8 +1,8 @@ PRGNAM="libfido2" -VERSION="1.14.0" +VERSION="1.15.0" HOMEPAGE="https://github.com/Yubico/libfido2" -DOWNLOAD="https://developers.yubico.com/libfido2/Releases/libfido2-1.14.0.tar.gz" -MD5SUM="6aa04c6e9d029e595397fe026a3a03ce" +DOWNLOAD="https://developers.yubico.com/libfido2/Releases/libfido2-1.15.0.tar.gz" +MD5SUM="a66f4b2bcfb38e47b738cdd6ff438bb5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libcbor" diff --git a/libraries/libfilezilla/libfilezilla.SlackBuild b/libraries/libfilezilla/libfilezilla.SlackBuild index b7d4ae4754..7767894021 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.47.0} +VERSION=${VERSION:-0.48.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libfilezilla/libfilezilla.info b/libraries/libfilezilla/libfilezilla.info index fcee3f1bf7..51b0e9194a 100644 --- a/libraries/libfilezilla/libfilezilla.info +++ b/libraries/libfilezilla/libfilezilla.info @@ -1,8 +1,8 @@ PRGNAM="libfilezilla" -VERSION="0.47.0" +VERSION="0.48.1" HOMEPAGE="https://lib.filezilla-project.org/" -DOWNLOAD="https://download.filezilla-project.org/libfilezilla/libfilezilla-0.47.0.tar.xz" -MD5SUM="b8fcecd37d95c903410f016ef3edb0e2" +DOWNLOAD="https://sbo-source.s3.ap-southeast-1.amazonaws.com/libfilezilla-0.48.1.tar.xz" +MD5SUM="15fcbacc27c3f675b69206b7c186fc25" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libgit2-glib/detect-libgit2-version.patch b/libraries/libgit2-glib/detect-libgit2-version.patch index 5e285c9cff..27a2625205 100644 --- a/libraries/libgit2-glib/detect-libgit2-version.patch +++ b/libraries/libgit2-glib/detect-libgit2-version.patch @@ -1,141 +1,87 @@ -diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-clone-options.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-clone-options.c ---- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-clone-options.c 2019-04-24 04:18:53.000000000 +0000 -+++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-clone-options.c 2020-05-02 03:01:42.273450898 +0000 -@@ -149,7 +149,7 @@ +diff --git a/libgit2-glib/ggit-enum-types.c.template b/libgit2-glib/ggit-enum-types.c.template +index 2c5f15b..acc5f75 100644 +--- a/libgit2-glib/ggit-enum-types.c.template ++++ b/libgit2-glib/ggit-enum-types.c.template +@@ -4,7 +4,7 @@ + /*** END file-header ***/ - if (error != NULL) - { --#if LIBGIT2_SOVERSION >= 28 -+#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28) - git_error_set_str (GIT_ERROR, error->message); - #else - giterr_set_str (GIT_ERROR, error->message); -@@ -191,7 +191,7 @@ + /*** BEGIN file-production ***/ +-/* enumerations from "@filename@" */ ++/* enumerations from "@basename@" */ + #include "@filename@" - if (error) - { --#if LIBGIT2_SOVERSION >= 28 -+#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28) - git_error_set_str (GIT_ERROR, error->message); - #else - giterr_set_str (GIT_ERROR, error->message); -diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-config.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-config.c ---- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-config.c 2019-04-24 04:18:53.000000000 +0000 -+++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-config.c 2020-05-02 03:10:08.034437972 +0000 -@@ -191,7 +191,7 @@ - if (git_config_find_global (&buf) == GIT_OK) - { - path = g_file_new_for_path (buf.ptr); --#if LIBGIT2_SOVERSION >= 28 -+#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28) - git_buf_dispose (&buf); - #else - git_buf_free (&buf); -@@ -224,7 +224,7 @@ - if (git_config_find_system (&buf) == GIT_OK) - { - path = g_file_new_for_path (buf.ptr); --#if LIBGIT2_SOVERSION >= 28 -+#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28) - git_buf_dispose (&buf); - #else - git_buf_free (&buf); -@@ -303,7 +303,7 @@ - ret = git_config_add_file_ondisk (_ggit_native_get (config), - path, - (git_config_level_t)level, --#if LIBGIT2_SOVERSION >= 27 -+#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 27) - NULL, - #endif - force); -diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-diff.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-diff.c ---- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-diff.c 2019-04-24 04:18:53.000000000 +0000 -+++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-diff.c 2020-05-02 03:04:17.745446924 +0000 -@@ -786,7 +786,7 @@ + /*** END file-production ***/ +diff --git a/libgit2-glib/ggit-enum-types.h.template b/libgit2-glib/ggit-enum-types.h.template +index 7d7c564..f40326d 100644 +--- a/libgit2-glib/ggit-enum-types.h.template ++++ b/libgit2-glib/ggit-enum-types.h.template +@@ -9,7 +9,7 @@ G_BEGIN_DECLS + /*** END file-header ***/ - if (ret != GIT_OK) - { --#if LIBGIT2_SOVERSION >= 28 -+#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28) - git_buf_dispose (&buf); - #else - git_buf_free (&buf); -@@ -796,7 +796,7 @@ - } + /*** BEGIN file-production ***/ +-/* Enumerations from "@filename@" */ ++/* Enumerations from "@basename@" */ - retval = g_strndup (buf.ptr, buf.size); --#if LIBGIT2_SOVERSION >= 28 -+#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28) - git_buf_dispose (&buf); - #else - git_buf_free (&buf); -diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-error.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-error.c ---- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-error.c 2019-04-24 04:18:53.000000000 +0000 -+++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-error.c 2020-05-02 03:05:09.952445590 +0000 -@@ -51,7 +51,7 @@ - g_return_if_fail (err < 0); + /*** END file-production ***/ - /* TODO: add more kind of errors, see git_error_t */ --#if LIBGIT2_SOVERSION >= 28 -+#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28) - git2_err = git_error_last (); - #else - git2_err = giterr_last (); -diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-message.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-message.c ---- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-message.c 2019-04-24 04:18:53.000000000 +0000 -+++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-message.c 2020-05-02 03:05:44.877444697 +0000 -@@ -46,7 +46,7 @@ - git_message_prettify (&buf, message, strip_comments, comment_char); +diff --git a/libgit2-glib/ggit-remote-callbacks.h b/libgit2-glib/ggit-remote-callbacks.h +index 3005ff4..2340712 100644 +--- a/libgit2-glib/ggit-remote-callbacks.h ++++ b/libgit2-glib/ggit-remote-callbacks.h +@@ -24,6 +24,7 @@ - d = g_strdup (buf.ptr); --#if LIBGIT2_SOVERSION >= 28 -+#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28) - git_buf_dispose (&buf); - #else - git_buf_free (&buf); -diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-patch.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-patch.c ---- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-patch.c 2019-04-24 04:18:53.000000000 +0000 -+++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-patch.c 2020-05-02 03:06:32.489443481 +0000 -@@ -194,7 +194,7 @@ - if (ret == GIT_OK) - { - result = g_strdup (buf.ptr); --#if LIBGIT2_SOVERSION >= 28 -+#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28) - git_buf_dispose (&buf); - #else - git_buf_free (&buf); -diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-remote-callbacks.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-remote-callbacks.c ---- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-remote-callbacks.c 2019-04-24 04:18:53.000000000 +0000 -+++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-remote-callbacks.c 2020-05-02 03:07:14.164442416 +0000 -@@ -160,7 +160,7 @@ - { - if (error) - { --#if LIBGIT2_SOVERSION >= 28 -+#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28) - git_error_set_str (GIT_ERROR, error->message); - #else - giterr_set_str (GIT_ERROR, error->message); -diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-repository.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-repository.c ---- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-repository.c 2019-04-24 04:18:53.000000000 +0000 -+++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-repository.c 2020-05-02 03:08:08.018441039 +0000 -@@ -1013,7 +1013,7 @@ - if (ret == GIT_OK) - { - rep = g_file_new_for_path (buf.ptr); --#if LIBGIT2_SOVERSION >= 28 -+#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28) - git_buf_dispose (&buf); - #else - git_buf_free (&buf); -@@ -3684,7 +3684,7 @@ - } + #include <glib-object.h> + #include <git2.h> ++#include <git2/sys/errors.h> + #include <libgit2-glib/ggit-cred.h> - ref = g_strdup (buf.ptr); --#if LIBGIT2_SOVERSION >= 28 -+#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28) - git_buf_dispose (&buf); - #else - git_buf_free (&buf); + G_BEGIN_DECLS +diff --git a/libgit2-glib/ggit-repository.c b/libgit2-glib/ggit-repository.c +index 1e095c8..6861c13 100644 +--- a/libgit2-glib/ggit-repository.c ++++ b/libgit2-glib/ggit-repository.c +@@ -3182,7 +3182,7 @@ ggit_repository_create_commit (GgitRepository *repository, + message, + _ggit_native_get (tree), + parent_count, +- (const git_commit **)parents_native); ++ (gpointer)parents_native); + + g_free (parents_native); + +diff --git a/libgit2-glib/ggit-types.h b/libgit2-glib/ggit-types.h +index 4d5accf..c8b7af4 100644 +--- a/libgit2-glib/ggit-types.h ++++ b/libgit2-glib/ggit-types.h +@@ -355,7 +355,8 @@ typedef enum + GGIT_CONFIG_LEVEL_XDG = 3, + GGIT_CONFIG_LEVEL_GLOBAL = 4, + GGIT_CONFIG_LEVEL_LOCAL = 5, +- GGIT_CONFIG_LEVEL_APP = 6, ++ GGIT_CONFIG_LEVEL_WORKTREE = 6, ++ GGIT_CONFIG_LEVEL_APP = 7, + GGIT_CONFIG_LEVEL_HIGHEST = -1 + } GgitConfigLevel; + +diff --git a/meson.build b/meson.build +index ddac357..c72f1e8 100644 +--- a/meson.build ++++ b/meson.build +@@ -3,7 +3,7 @@ project( + version: '1.0.0.1', + default_options: 'buildtype=debugoptimized', + license: 'LGPL2+', +- meson_version: '>= 0.49.0', ++ meson_version: '>= 0.59.0', + ) + + libgit2_glib_version = meson.project_version() +@@ -124,7 +124,7 @@ glib_dep = dependency('glib-2.0', version: '>=' + glib_req) + gobject_dep = dependency('gobject-2.0', version: '>=' + glib_req) + gio_dep = dependency('gio-2.0', version: '>=' + glib_req) + +-libgit2_dep = dependency('libgit2', version: '>= 0.25.0') ++libgit2_dep = dependency('libgit2', version: '>= 1.8.0') + + enable_gir = get_option('introspection') + if enable_gir diff --git a/libraries/libgit2-glib/libgit2-glib.SlackBuild b/libraries/libgit2-glib/libgit2-glib.SlackBuild index 0ddbedf416..aca86d980b 100644 --- a/libraries/libgit2-glib/libgit2-glib.SlackBuild +++ b/libraries/libgit2-glib/libgit2-glib.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for libgit2-glib +# Copyright 2019-2024 Pouria Rezaei <Pouria.rz@outlook.com> # Copyright 2016-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libgit2-glib -VERSION=${VERSION:-0.28.0.1} +VERSION=${VERSION:-1.0.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libgit2-glib/libgit2-glib.info b/libraries/libgit2-glib/libgit2-glib.info index 1f17833f44..a6f23b86c1 100644 --- a/libraries/libgit2-glib/libgit2-glib.info +++ b/libraries/libgit2-glib/libgit2-glib.info @@ -1,10 +1,10 @@ PRGNAM="libgit2-glib" -VERSION="0.28.0.1" +VERSION="1.0.0.1" HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib" -DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/libgit2-glib/0.28/libgit2-glib-0.28.0.1.tar.xz" -MD5SUM="04c4cf24291c16406bddb5760449ab52" +DOWNLOAD="https://download.gnome.org/sources/libgit2-glib/1.0/libgit2-glib-1.0.0.1.tar.xz" +MD5SUM="d5b64b1cea56253301bcc87e3d50fb56" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libgit2" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" +MAINTAINER="Pouria Rezaei" +EMAIL="Pouria.rz@outlook.com" diff --git a/libraries/libgit2/libgit2.SlackBuild b/libraries/libgit2/libgit2.SlackBuild index 02134245d6..54212e8099 100644 --- a/libraries/libgit2/libgit2.SlackBuild +++ b/libraries/libgit2/libgit2.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for libgit2 +# Copyright 2019-2024 Pouria Rezaei <Pouria.rz@outlook.com> # Copyright 2014-2020 Larry Hajali <larryhaja[at]gmail[dot]com> # All rights reserved. # @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libgit2 -VERSION=${VERSION:-1.0.0} +VERSION=${VERSION:-1.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -88,6 +89,8 @@ cd build -DREGEX_BACKEND=pcre \ -DUSE_SHA1=HTTPS \ -DUSE_HTTPS=OpenSSL \ + -DUSE_HTTP_PARSER=system \ + -DUSE_SSH=ON \ -DUSE_NTLMCLIENT=OFF \ -DLIB_INSTALL_DIR:PATH="lib${LIBDIRSUFFIX}" \ -DCMAKE_BUILD_TYPE=Release .. diff --git a/libraries/libgit2/libgit2.info b/libraries/libgit2/libgit2.info index d32bf1ebb1..646016e00d 100644 --- a/libraries/libgit2/libgit2.info +++ b/libraries/libgit2/libgit2.info @@ -1,10 +1,10 @@ PRGNAM="libgit2" -VERSION="1.0.0" +VERSION="1.8.1" HOMEPAGE="https://libgit2.github.com/" -DOWNLOAD="https://github.com/libgit2/libgit2/archive/v1.0.0/libgit2-1.0.0.tar.gz" -MD5SUM="5ce9b630203573e544d663cbd750040f" +DOWNLOAD="https://github.com/libgit2/libgit2/archive/v1.8.1/libgit2-1.8.1.tar.gz" +MD5SUM="4c384e9f580b8c4de9445c8fa2474c87" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" +MAINTAINER="Pouria Rezaei" +EMAIL="Pouria.rz@outlook.com" diff --git a/libraries/libhandy/libhandy.SlackBuild b/libraries/libhandy/libhandy.SlackBuild index e2139e6658..ed273f8ad0 100644 --- a/libraries/libhandy/libhandy.SlackBuild +++ b/libraries/libhandy/libhandy.SlackBuild @@ -6,10 +6,12 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20240729 bkw: updated for v1.8.3. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libhandy -VERSION=${VERSION:-1.5.0} +VERSION=${VERSION:-1.8.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libhandy/libhandy.info b/libraries/libhandy/libhandy.info index 600448b7b2..1cc6225d79 100644 --- a/libraries/libhandy/libhandy.info +++ b/libraries/libhandy/libhandy.info @@ -1,10 +1,10 @@ PRGNAM="libhandy" -VERSION="1.5.0" +VERSION="1.8.3" HOMEPAGE="https://gitlab.gnome.org/GNOME/libhandy/" -DOWNLOAD="https://download.gnome.org/sources/libhandy/1.5/libhandy-1.5.0.tar.xz" -MD5SUM="fbc76c75a03494adacf2b90bf536bf0f" +DOWNLOAD="https://download.gnome.org/sources/libhandy/1.8/libhandy-1.8.3.tar.xz" +MD5SUM="af586a91ff6d4093a6e7e283dfab5f7f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="gi-docgen" MAINTAINER="B. Watson" EMAIL="urchlay@slackware.uk" diff --git a/libraries/libheif/libheif.SlackBuild b/libraries/libheif/libheif.SlackBuild index b961a74b1e..8432fdf0ce 100644 --- a/libraries/libheif/libheif.SlackBuild +++ b/libraries/libheif/libheif.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libheif -# Copyright 2020-2023, Alexander Verbovetsky, Moscow, Russia +# Copyright 2020-2024, Alexander Verbovetsky, Moscow, Russia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libheif -VERSION=${VERSION:-1.17.6} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.18.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,8 +76,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -p1 < $CWD/a911b26a902c5f89fee2dc20ac4dfaafcb8144ec.patch - mkdir -p build cd build cmake \ diff --git a/libraries/libheif/libheif.info b/libraries/libheif/libheif.info index 29dc0867dd..a1a7976dd8 100644 --- a/libraries/libheif/libheif.info +++ b/libraries/libheif/libheif.info @@ -1,8 +1,8 @@ PRGNAM="libheif" -VERSION="1.17.6" +VERSION="1.18.2" HOMEPAGE="https://github.com/strukturag/libheif" -DOWNLOAD="https://github.com/strukturag/libheif/releases/download/v1.17.6/libheif-1.17.6.tar.gz" -MD5SUM="563e2ecd15f1ca98ccb13388ee873ebe" +DOWNLOAD="https://github.com/strukturag/libheif/releases/download/v1.18.2/libheif-1.18.2.tar.gz" +MD5SUM="5446af621e88be0edc9373c22c198007" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libde265 x265 aom rav1e kvazaar dav1d svt-av1" diff --git a/libraries/libiptcdata/libiptcdata.SlackBuild b/libraries/libiptcdata/libiptcdata.SlackBuild index 25f622f8e5..b825e340f8 100644 --- a/libraries/libiptcdata/libiptcdata.SlackBuild +++ b/libraries/libiptcdata/libiptcdata.SlackBuild @@ -82,7 +82,7 @@ cd $TMP tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $TMP/$PRGNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \ -exec chmod 644 {} \+ diff --git a/libraries/libjodycode/libjodycode.SlackBuild b/libraries/libjodycode/libjodycode.SlackBuild index 21bc910c63..a4385c2cee 100644 --- a/libraries/libjodycode/libjodycode.SlackBuild +++ b/libraries/libjodycode/libjodycode.SlackBuild @@ -23,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libjodycode -VERSION=${VERSION:-3.1} +VERSION=${VERSION:-3.1.1} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libjodycode/libjodycode.info b/libraries/libjodycode/libjodycode.info index 8d42b22691..0d2ee14c55 100644 --- a/libraries/libjodycode/libjodycode.info +++ b/libraries/libjodycode/libjodycode.info @@ -1,8 +1,8 @@ PRGNAM="libjodycode" -VERSION="3.1" +VERSION="3.1.1" HOMEPAGE="https://codeberg.org/jbruchon/libjodycode" -DOWNLOAD="https://codeberg.org/jbruchon/libjodycode/archive/v3.1.tar.gz" -MD5SUM="b775aa9da7ef990950acc54235549d7d" +DOWNLOAD="https://codeberg.org/jbruchon/libjodycode/archive/v3.1.1.tar.gz" +MD5SUM="e0d84f476916e21eb37728605becc5cf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libjwt/libjwt.SlackBuild b/libraries/libjwt/libjwt.SlackBuild index a57e098c54..7253bee745 100644 --- a/libraries/libjwt/libjwt.SlackBuild +++ b/libraries/libjwt/libjwt.SlackBuild @@ -23,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libjwt -VERSION=${VERSION:-1.17.0} +VERSION=${VERSION:-1.17.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libjwt/libjwt.info b/libraries/libjwt/libjwt.info index 4dd89dd049..5bd2ad5a61 100644 --- a/libraries/libjwt/libjwt.info +++ b/libraries/libjwt/libjwt.info @@ -1,8 +1,8 @@ PRGNAM="libjwt" -VERSION="1.17.0" +VERSION="1.17.2" HOMEPAGE="https://github.com/benmcollins/libjwt" -DOWNLOAD="https://github.com/benmcollins/libjwt/archive/v1.17.0/libjwt-1.17.0.tar.gz" -MD5SUM="65120b600165290193858db6e2654e07" +DOWNLOAD="https://github.com/benmcollins/libjwt/archive/v1.17.2/libjwt-1.17.2.tar.gz" +MD5SUM="3e34bb5b24f3a2f3a26c15a52ac9bc3c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libjxl/changelog b/libraries/libjxl/changelog deleted file mode 100644 index 6aa28de968..0000000000 --- a/libraries/libjxl/changelog +++ /dev/null @@ -1,39 +0,0 @@ -Changelog for libjxl SlackBuild Script --------------------------------------------------------------------- - -25/09/2022: - -Added to slackbuilds.org - -16/05/2023: - -Updated to commit version 8ec9ed1. - -24/05/2023: - -Resubmitted to SBo. -Optional dependencies are qt6,Sphinx ans sphinx-rtd-theme. - -26/05/2023: - -Resubmitted to SBo -Mentioned why the Optional dependencies is needed for. - -29/11/2023: - -Upgraded to version 0.8.2 -Removed support for JNI java wrapper and also removed -zulu-openjdk8 as dependency since the SlackBuild fails -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 35c38b61a1..34a3cb5639 100644 --- a/libraries/libjxl/libjxl.SlackBuild +++ b/libraries/libjxl/libjxl.SlackBuild @@ -22,10 +22,36 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +#-----------------------------Changelog---------------------------------------------------# + +# 25/09/2022: Added to slackbuilds.org + +# 16/05/2023: Updated to commit version 8ec9ed1. + +# 24/05/2023: Resubmitted to SBo.Optional dependencies are qt6,Sphinx and +# sphinx-rtd-theme. + +# 26/05/2023: Resubmitted to SBo Mentioned why the Optional dependencies is needed. + +# 29/11/2023: Upgraded to version 0.8.2 Removed support for JNI java wrapper and +# also removed zulu-openjdk8 as dependency since the SlackBuild fails +# 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. + +# 14/08/2024: Updated to version 0.10.3 + +# 15/09/2024: Updated to version 0.11.0 + +#---------------------------------------------------------------------------------------------# + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libjxl -VERSION=${VERSION:-0.10.2} +VERSION=${VERSION:-0.11.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libjxl/libjxl.info b/libraries/libjxl/libjxl.info index 06cb3ed317..1d2fd192e4 100644 --- a/libraries/libjxl/libjxl.info +++ b/libraries/libjxl/libjxl.info @@ -1,9 +1,8 @@ PRGNAM="libjxl" -VERSION="0.10.2" +VERSION="0.11.0" HOMEPAGE="https://jpeg.org/jpegxl/" -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 \ +DOWNLOAD="https://github.com/libjxl/libjxl/archive/v0.11.0/libjxl-0.11.0.tar.gz https://github.com/libjpeg-turbo/libjpeg-turbo/archive/3.0.2/libjpeg-turbo-3.0.2.tar.gz" +MD5SUM="2b8433176a334480d21af02fd8bdc6fe \ 94756db95bc2477f7f7dad1c2590b51f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/libkate/libkate.SlackBuild b/libraries/libkate/libkate.SlackBuild index da2596245d..03e5f6d170 100644 --- a/libraries/libkate/libkate.SlackBuild +++ b/libraries/libkate/libkate.SlackBuild @@ -77,7 +77,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $TMP/$PRGNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \ -exec chmod 644 {} \+ diff --git a/libraries/liblastfm-qt5/README b/libraries/liblastfm-qt5/README new file mode 100644 index 0000000000..536d0929a4 --- /dev/null +++ b/libraries/liblastfm-qt5/README @@ -0,0 +1,5 @@ +liblastfm is a collection of libraries to help you integrate Last.fm +services into your rich desktop software. It is officially supported +software developed by Last.fm staff. + +By !red diff --git a/libraries/liblastfm-qt5/fix-lastfm-options.patch b/libraries/liblastfm-qt5/fix-lastfm-options.patch new file mode 100644 index 0000000000..5cffead036 --- /dev/null +++ b/libraries/liblastfm-qt5/fix-lastfm-options.patch @@ -0,0 +1,269 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index be88967..c8bc89d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -20,6 +20,7 @@ option(BUILD_TESTS "Build liblastfm tests" ON) + + # installation dirs + include(GNUInstallDirs) ++include(FeatureSummary) + + #cmake module path + set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${PROJECT_SOURCE_DIR}/cmake/Modules") +@@ -27,20 +28,20 @@ set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${PROJECT_SOURCE_DIR}/cmake/Module + # setup qt stuff + set(CMAKE_AUTOMOC ON) + +-option(BUILD_WITH_QT4 "Build liblastfm with Qt4 no matter if Qt5 was found" OFF) ++option(BUILD_WITH_QT4 "Build liblastfm with Qt4" OFF) + +-if( NOT BUILD_WITH_QT4 ) +- # try Qt5 first, and prefer that if found +- find_package(Qt5Core QUIET) +-endif() ++if(NOT BUILD_WITH_QT4) ++ find_package(Qt5 REQUIRED COMPONENTS Core Network Xml CONFIG) ++ ++ if(BUILD_FINGERPRINT) ++ find_package(Qt5Sql REQUIRED CONFIG) ++ endif() + +-if(Qt5Core_DIR) + set(LASTFM_LIB_VERSION_SUFFIX 5) +- message(STATUS "Found Qt5! Please keep in mind, this is highly experimental and not our main development target..") +- include_directories(${Qt5Core_INCLUDE_DIRS}) + if(UNIX AND NOT APPLE) +- find_package(Qt5DBus REQUIRED) ++ find_package(Qt5DBus REQUIRED CONFIG) + endif() ++ include_directories(Qt5::Core Qt5::Network Qt5::Xml) + + # macro(qt_wrap_ui) + # qt5_wrap_ui(${ARGN}) +@@ -56,9 +57,6 @@ if(Qt5Core_DIR) + # endmacro() + else() + find_package(Qt4 COMPONENTS QtCore QtNetwork QtXml REQUIRED) +- +- macro(qt5_use_modules) +- endmacro() + endif() + + +@@ -97,3 +95,5 @@ if(BUILD_TESTS) + enable_testing() + add_subdirectory(tests) + endif() ++ ++feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 0f872fb..22ce506 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -3,16 +3,6 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/global.h.in ${CMAKE_CURRENT_BINARY_DI + + add_definitions(${QT_DEFINITIONS}) + include_directories(${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR}) +-set(liblastfm_LIBRARIES +- ${QT_QTCORE_LIBRARY} +- ${QT_QTNETWORK_LIBRARY} +- ${QT_QTXML_LIBRARY} +-) +- +-list(APPEND liblastfm_QT5_MODULES +- Xml +- Network +-) + + set(liblastfm_SOURCES + ws.cpp +@@ -49,15 +39,11 @@ if(WIN32) + if(NOT MINGW) + add_definitions("-D_ATL_DLL -D_CRT_SECURE_NO_WARNINGS") + +- list(APPEND liblastfm_SOURCES ++ set(liblastfm_SOURCES ${liblastfm_SOURCES} + win/WNetworkConnectionMonitor_win.cpp + win/WmiSink.cpp + win/NdisEvents.cpp + ) +- list(APPEND liblastfm_LIBRARIES +- winhttp +- wbemuuid +- ) + endif() + endif() + +@@ -67,30 +53,51 @@ if(APPLE) + #set(CMAKE_OSX_DEPLOYMENT_TARGET 10.5) + #set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX${CMAKE_OSX_DEPLOYMENT_TARGET}.sdk") + +- list(APPEND liblastfm_SOURCES ++ set(liblastfm_SOURCES ${liblastfm_SOURCES} + mac/MNetworkConnectionMonitor_mac.cpp + ) +- +- find_library(SYSTEMCONFIGURATION_LIBRARY SystemConfiguration) +- find_library(COREFOUNDATION_LIBRARY CoreFoundation) +- list(APPEND liblastfm_LIBRARIES +- ${COREFOUNDATION_LIBRARY} +- ${SYSTEMCONFIGURATION_LIBRARY} +- ) + endif() + + if(UNIX AND NOT APPLE) +- list(APPEND liblastfm_SOURCES ++ set(liblastfm_SOURCES ${liblastfm_SOURCES} + linux/LNetworkConnectionMonitor_linux.cpp + ) +- list(APPEND liblastfm_LIBRARIES ${QT_QTDBUS_LIBRARY}) +- list(APPEND liblastfm_QT5_MODULES DBus) + endif() + + add_library(${LASTFM_LIB_TARGET_NAME} SHARED ${liblastfm_SOURCES}) +-qt5_use_modules(${LASTFM_LIB_TARGET_NAME} ${liblastfm_QT5_MODULES}) + +-target_link_libraries(${LASTFM_LIB_TARGET_NAME} ${liblastfm_LIBRARIES}) ++if(Qt5Core_DIR) ++ target_link_libraries(${LASTFM_LIB_TARGET_NAME} Qt5::Network Qt5::Xml) ++ if(UNIX AND NOT APPLE) ++ target_link_libraries(${LASTFM_LIB_TARGET_NAME} Qt5::DBus) ++ endif() ++else() ++ target_link_libraries(${LASTFM_LIB_TARGET_NAME} ++ ${QT_QTCORE_LIBRARY} ++ ${QT_QTNETWORK_LIBRARY} ++ ${QT_QTXML_LIBRARY} ++ ) ++ if(UNIX AND NOT APPLE) ++ target_link_libraries(${LASTFM_LIB_TARGET_NAME} ${QT_QTDBUS_LIBRARY}) ++ endif() ++endif() ++ ++if(WIN32 AND NOT MINGW) ++ target_link_libraries(${LASTFM_LIB_TARGET_NAME} ++ winhttp ++ wbemuuid ++ ) ++endif() ++ ++if(APPLE) ++ find_library(SYSTEMCONFIGURATION_LIBRARY SystemConfiguration) ++ find_library(COREFOUNDATION_LIBRARY CoreFoundation) ++ target_link_libraries(${LASTFM_LIB_TARGET_NAME} ++ ${COREFOUNDATION_LIBRARY} ++ ${SYSTEMCONFIGURATION_LIBRARY} ++ ) ++endif() ++ + set_target_properties(${LASTFM_LIB_TARGET_NAME} PROPERTIES + VERSION ${LASTFM_VERSION_STRING} + SOVERSION ${LASTFM_SOVERSION} +diff --git a/src/fingerprint/CMakeLists.txt b/src/fingerprint/CMakeLists.txt +index 126f8d9..4a74e0d 100644 +--- a/src/fingerprint/CMakeLists.txt ++++ b/src/fingerprint/CMakeLists.txt +@@ -26,21 +26,23 @@ set(lastfm_fingerprint_HEADERS + + add_library(${FINGERPRINT_LIB_TARGET_NAME} SHARED ${lastfm_fingerprint_SOURCES}) + +-target_link_libraries(${FINGERPRINT_LIB_TARGET_NAME} +- ${LASTFM_LIB_TARGET_NAME} +- ${QT_QTSQL_LIBRARY} +- ${QT_QTCORE_LIBRARY} +- ${LIBSAMPLERATE_LIBRARY} +- ${LIBFFTW3_LIBRARY} +-) +- + set_target_properties(${FINGERPRINT_LIB_TARGET_NAME} PROPERTIES + COMPILE_DEFINITIONS LASTFM_FINGERPRINT_LIB + VERSION ${LASTFM_VERSION_STRING} + SOVERSION ${LASTFM_SOVERSION} + ) + +-qt5_use_modules(${FINGERPRINT_LIB_TARGET_NAME} Network Sql Xml) ++target_link_libraries(${FINGERPRINT_LIB_TARGET_NAME} ++ ${LASTFM_LIB_TARGET_NAME} ++ ${LIBSAMPLERATE_LIBRARY} ++ ${LIBFFTW3_LIBRARY} ++) ++ ++if(Qt5Core_DIR) ++ target_link_libraries(${FINGERPRINT_LIB_TARGET_NAME} Qt5::Network Qt5::Sql Qt5::Xml) ++else() ++ target_link_libraries(${FINGERPRINT_LIB_TARGET_NAME} ${QT_QTCORE_LIBRARY} ${QT_QTSQL_LIBRARY}) ++endif() + + install(TARGETS ${FINGERPRINT_LIB_TARGET_NAME} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} +diff --git a/src/fingerprint/Fingerprint.cpp b/src/fingerprint/Fingerprint.cpp +index 55f77a4..3817fce 100644 +--- a/src/fingerprint/Fingerprint.cpp ++++ b/src/fingerprint/Fingerprint.cpp +@@ -94,7 +94,7 @@ lastfm::Fingerprint::data() const + + + void +-lastfm::Fingerprint::generate( FingerprintableSource* ms ) throw( Error ) ++lastfm::Fingerprint::generate( FingerprintableSource* ms ) + { + //TODO throw if we can't get required metadata from the track object + +@@ -306,7 +306,7 @@ lastfm::Fingerprint::submit() const + + + void +-lastfm::Fingerprint::decode( QNetworkReply* reply, bool* complete_fingerprint_requested ) throw( Error ) ++lastfm::Fingerprint::decode( QNetworkReply* reply, bool* complete_fingerprint_requested ) + { + // The response data will consist of a number and a string. + // The number is the fpid and the string is either FOUND or NEW +diff --git a/src/fingerprint/Fingerprint.h b/src/fingerprint/Fingerprint.h +index 537d08c..9ac0dbd 100644 +--- a/src/fingerprint/Fingerprint.h ++++ b/src/fingerprint/Fingerprint.h +@@ -71,7 +71,7 @@ namespace lastfm + }; + + /** This is CPU intensive, do it in a thread in your GUI application */ +- void generate( FingerprintableSource* ) throw( Error ); ++ void generate( FingerprintableSource* ); + + /** Submits the fingerprint data to Last.fm in order to get a FingerprintId + * back. You need to wait for the QNetworkReply to finish before you can +@@ -82,7 +82,7 @@ namespace lastfm + * will be valid. Otherwise we will throw. You always get a valid id + * or a throw. + */ +- void decode( QNetworkReply*, bool* lastfm_needs_a_complete_fingerprint = 0 ) throw( Error ); ++ void decode( QNetworkReply*, bool* lastfm_needs_a_complete_fingerprint = 0 ); + }; + + +diff --git a/tests/lastfm_add_test.cmake b/tests/lastfm_add_test.cmake +index a4a1686..2f0664d 100644 +--- a/tests/lastfm_add_test.cmake ++++ b/tests/lastfm_add_test.cmake +@@ -6,13 +6,15 @@ macro(lastfm_add_test test_class) + configure_file(Test${LASTFM_TEST_CLASS}.h Test${LASTFM_TEST_CLASS}.h) + add_executable(${LASTFM_TEST_CLASS}Test Test${LASTFM_TEST_CLASS}.cpp) + +- qt5_use_modules(${LASTFM_TEST_CLASS}Test Core Test Xml Network) +- +- target_link_libraries(${LASTFM_TEST_CLASS}Test +- ${LASTFM_LIB_TARGET_NAME} +- ${QT_QTTEST_LIBRARY} +- ${QT_QTCORE_LIBRARY} +- ) ++ if(Qt5Core_DIR) ++ target_link_libraries(${LASTFM_TEST_CLASS}Test Qt5::Core Qt5::Test Qt5::Xml Qt5::Network ++ ${LASTFM_LIB_TARGET_NAME} ++ ) ++ else() ++ target_link_libraries(${LASTFM_TEST_CLASS}Test ${QT_QTCORE_LIBRARY} ${QT_QTTEST_LIBRARY} ++ ${LASTFM_LIB_TARGET_NAME} ++ ) ++ endif() + + add_test(NAME ${LASTFM_TEST_CLASS}Test COMMAND ${LASTFM_TEST_CLASS}Test) + endmacro() diff --git a/libraries/liblastfm-qt5/liblastfm-qt5.SlackBuild b/libraries/liblastfm-qt5/liblastfm-qt5.SlackBuild new file mode 100644 index 0000000000..4ffc750342 --- /dev/null +++ b/libraries/liblastfm-qt5/liblastfm-qt5.SlackBuild @@ -0,0 +1,102 @@ +#!/bin/bash + +# Slackware build script for liblastfm-qt5 + +# Copyright 2019-2024 Pouria Rezaei <Pouria.rz@outlook.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=liblastfm-qt5 +VERSION=${VERSION:-1.1.0} +SRCNAM=liblastfm +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" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +else + SLKCFLAGS="-O2" +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 +# We'll make you work with Qt5, don't worry. +patch -p1 < "$CWD/fix-lastfm-options.patch" + +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_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_TESTS=OFF +make +make install DESTDIR=$PKG +cd .. + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a 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/liblastfm-qt5/liblastfm-qt5.info b/libraries/liblastfm-qt5/liblastfm-qt5.info new file mode 100644 index 0000000000..14d1bfedf9 --- /dev/null +++ b/libraries/liblastfm-qt5/liblastfm-qt5.info @@ -0,0 +1,10 @@ +PRGNAM="liblastfm-qt5" +VERSION="1.1.0" +HOMEPAGE="https://github.com/lastfm/liblastfm" +DOWNLOAD="https://github.com/lastfm/liblastfm/archive/1.1.0/liblastfm-1.1.0.tar.gz" +MD5SUM="48271beff8dbbd5e4b81c1f03a09ed3d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Pouria Rezaei" +EMAIL="Pouria.rz@outlook.com" diff --git a/libraries/liblastfm-qt5/slack-desc b/libraries/liblastfm-qt5/slack-desc new file mode 100644 index 0000000000..450b87135b --- /dev/null +++ b/libraries/liblastfm-qt5/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------------------------------------------------------| +liblastfm-qt5: liblastfm-qt5 (Qt5 C++ library of Last.fm webservices) +liblastfm-qt5: +liblastfm-qt5: liblastfm is a collection of libraries to help you integrate Last.fm +liblastfm-qt5: services into your rich desktop software. It is officially supported +liblastfm-qt5: software developed by Last.fm staff. +liblastfm-qt5: +liblastfm-qt5: +liblastfm-qt5: Homepage: https://github.com/lastfm/liblastfms +liblastfm-qt5: +liblastfm-qt5: +liblastfm-qt5: diff --git a/libraries/liblqr/liblqr.SlackBuild b/libraries/liblqr/liblqr.SlackBuild index 7748b3486e..0751ccb5d8 100644 --- a/libraries/liblqr/liblqr.SlackBuild +++ b/libraries/liblqr/liblqr.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for liblqr # # Copyright 2009-2015 Erik W. Hanson, Minneapolis, MN, USA -# Copyright 2015-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2015-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=liblqr SRCNAM=liblqr-1 -VERSION=${VERSION:-0.4.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.4.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,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 @@ -86,18 +83,14 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man/ \ --disable-static \ --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG -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 COPYING.LESSER ChangeLog INSTALL NEWS README TODO \ +cp -a AUTHORS COPYING COPYING.LESSER ChangeLog NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/liblqr/liblqr.info b/libraries/liblqr/liblqr.info index 495b5f0296..27e912edf0 100644 --- a/libraries/liblqr/liblqr.info +++ b/libraries/liblqr/liblqr.info @@ -1,8 +1,8 @@ PRGNAM="liblqr" -VERSION="0.4.2" +VERSION="0.4.3" HOMEPAGE="http://liblqr.wikidot.com/" -DOWNLOAD="http://liblqr.wdfiles.com/local--files/en:download-page/liblqr-1-0.4.2.tar.bz2" -MD5SUM="915643d993da97e10665d48c0bf8f3d0" +DOWNLOAD="http://liblqr.wdfiles.com/local--files/en:download-page/liblqr-1-0.4.3.tar.bz2" +MD5SUM="42801d6d9417c3a829257b2c4349efd1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libmediainfo/libmediainfo.SlackBuild b/libraries/libmediainfo/libmediainfo.SlackBuild index 43ee81aec9..a33bbae5c2 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.04} +VERSION=${VERSION:-24.06} SRCNAM=MediaInfoLib BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -82,9 +82,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 {} \; -# We do not want to use the builtin libzen -patch -p1 < $CWD/remove-internal-libzen-support.patch - # Autodetect graphviz, libmms, and tinyxml2 if pkg-config --exists libgvc ; then graphviz="--with-graphviz" ; else graphviz="--without-grapviz" ; fi if pkg-config --exists libmms ; then libmms="--with-libmms" ; else libmms="--without-libmms" ; fi diff --git a/libraries/libmediainfo/libmediainfo.info b/libraries/libmediainfo/libmediainfo.info index 8d706d01a0..af1d505b4e 100644 --- a/libraries/libmediainfo/libmediainfo.info +++ b/libraries/libmediainfo/libmediainfo.info @@ -1,8 +1,8 @@ PRGNAM="libmediainfo" -VERSION="24.04" +VERSION="24.06" HOMEPAGE="https://mediaarea.net/MediaInfo" -DOWNLOAD="https://github.com/MediaArea/MediaInfoLib/archive/v24.04/MediaInfoLib-24.04.tar.gz" -MD5SUM="f9e82666260756031b0f2d3244971e50" +DOWNLOAD="https://github.com/MediaArea/MediaInfoLib/archive/v24.06/MediaInfoLib-24.06.tar.gz" +MD5SUM="3bf570de9a7e85b58d2ff1d9530e7a63" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libzen" diff --git a/libraries/libmediainfo/remove-internal-libzen-support.patch b/libraries/libmediainfo/remove-internal-libzen-support.patch deleted file mode 100644 index 141fe45476..0000000000 --- a/libraries/libmediainfo/remove-internal-libzen-support.patch +++ /dev/null @@ -1,73 +0,0 @@ -diff --git a/Project/GNU/Library/configure.ac b/Project/GNU/Library/configure.ac -index 12103a9..3479bed 100644 ---- a/Project/GNU/Library/configure.ac -+++ b/Project/GNU/Library/configure.ac -@@ -354,16 +354,10 @@ dnl ######################################################################### - dnl ------------------------------------------------------------------------- - dnl Unicode - dnl --if test -e ../../../../ZenLib/Project/GNU/Library/libzen-config; then -- enable_unicode="$(../../../../ZenLib/Project/GNU/Library/libzen-config Unicode)" --elif test "$(command -v libzen-config)" ; then -- enable_unicode="$(libzen-config Unicode)" -+if pkg-config --exists libzen; then -+ enable_unicode="$(pkg-config --variable=Unicode libzen)" - else -- if pkg-config --exists libzen; then -- enable_unicode="$(pkg-config --variable=Unicode libzen)" -- else -- AC_MSG_ERROR([libzen configuration is not found]) -- fi -+ AC_MSG_ERROR([libzen package is not found]) - fi - - dnl ######################################################################### -@@ -417,42 +411,18 @@ fi - dnl ------------------------------------------------------------------------- - dnl ZenLib - dnl --if test -e ../../../../ZenLib/Project/GNU/Library/libzen.la; then -- CXXFLAGS="$CXXFLAGS $(../../../../ZenLib/Project/GNU/Library/libzen-config CXXFLAGS)" -- if test "$enable_staticlibs" = "yes"; then -- with_zenlib="builtin (static)" -- LIBS="$LIBS $(../../../../ZenLib/Project/GNU/Library/libzen-config LIBS_Static)" -- else -- with_zenlib="builtin" -- LIBS="$LIBS $(../../../../ZenLib/Project/GNU/Library/libzen-config LIBS)" -- MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(../../../../ZenLib/Project/GNU/Library/libzen-config LIBS)" -- MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(../../../../ZenLib/Project/GNU/Library/libzen-config LIBS)" -- fi --elif test "$(command -v libzen-config)" ; then -- CXXFLAGS="$CXXFLAGS $(libzen-config CXXFLAGS)" -+if pkg-config --exists libzen; then -+ CXXFLAGS="$CXXFLAGS $(pkg-config --cflags libzen)" - if test "$enable_staticlibs" = "yes"; then - with_zenlib="system (static)" -- LIBS="$LIBS $(libzen-config LIBS_Static)" -+ LIBS="$LIBS $(pkg-config --variable=LIBS_Static libzen)" - else - with_zenlib="system" -- LIBS="$LIBS $(libzen-config LIBS)" -- MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(libzen-config LIBS)" -- MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(libzen-config LIBS)" -+ LIBS="$LIBS $(pkg-config --libs libzen)" -+ MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --variable=LIBS libzen)" - fi - else -- if pkg-config --exists libzen; then -- CXXFLAGS="$CXXFLAGS $(pkg-config --cflags libzen)" -- if test "$enable_staticlibs" = "yes"; then -- with_zenlib="system (static)" -- LIBS="$LIBS $(pkg-config --variable=LIBS_Static libzen)" -- else -- with_zenlib="system" -- LIBS="$LIBS $(pkg-config --libs libzen)" -- MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --variable=LIBS libzen)" -- fi -- else -- AC_MSG_ERROR([libzen configuration is not found]) -- fi -+ AC_MSG_ERROR([libzen package is not found]) - fi - - dnl ------------------------------------------------------------------------- diff --git a/libraries/libmirage/libmirage.SlackBuild b/libraries/libmirage/libmirage.SlackBuild index eebb485e94..d5061ca3fd 100644 --- a/libraries/libmirage/libmirage.SlackBuild +++ b/libraries/libmirage/libmirage.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libmirage -VERSION=${VERSION:-3.2.7} +VERSION=${VERSION:-3.2.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -93,7 +93,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 AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION +cp AUTHORS ChangeLog COPYING README $PKG/usr/doc/$PRGNAM-$VERSION ln -sf ../../share/gtk-doc/html/$PRGNAM \ $PKG/usr/doc/$PRGNAM-$VERSION/html diff --git a/libraries/libmirage/libmirage.info b/libraries/libmirage/libmirage.info index ec45b0ee2f..0df21b7293 100644 --- a/libraries/libmirage/libmirage.info +++ b/libraries/libmirage/libmirage.info @@ -1,8 +1,8 @@ PRGNAM="libmirage" -VERSION="3.2.7" +VERSION="3.2.9" HOMEPAGE="https://cdemu.sourceforge.io/about/libmirage/" -DOWNLOAD="https://downloads.sourceforge.net/cdemu/libmirage-3.2.7.tar.xz" -MD5SUM="1b8c7e4de0aa117c8c4e01ef846f94fc" +DOWNLOAD="https://downloads.sourceforge.net/cdemu/libmirage-3.2.9.tar.xz" +MD5SUM="700a88ee216cd256f2cad144d2a1ef05" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libmodsecurity/README b/libraries/libmodsecurity/README new file mode 100644 index 0000000000..3970af484a --- /dev/null +++ b/libraries/libmodsecurity/README @@ -0,0 +1,6 @@ +Libmodsecurity is one component of the ModSecurity v3 project. The +library codebase serves as an interface to ModSecurity Connectors taking +in web traffic and applying traditional ModSecurity processing. In +general, it provides the capability to load/interpret rules written in +the ModSecurity SecRules format and apply them to HTTP content provided +by your application via Connectors. diff --git a/libraries/msx264/msx264.SlackBuild b/libraries/libmodsecurity/libmodsecurity.SlackBuild index 043df6ef52..a9de9bca9e 100644 --- a/libraries/msx264/msx264.SlackBuild +++ b/libraries/libmodsecurity/libmodsecurity.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for msx264 +# Slackware build script for libmodsecurity -# Copyright 2015 Euan Thoms Singapore +# Copyright 2024 pyllyukko # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,15 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 20220309 bkw: Modified by SlackBuilds.org, BUILD=3: -# - use a working download URL. -# - remove empty/useless files from doc dir. - cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=msx264 -VERSION=${VERSION:-1.5.3} -BUILD=${BUILD:-3} +PRGNAM=libmodsecurity +SRCNAM=modsecurity +VERSION=${VERSION:-3.0.13} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,25 +62,20 @@ else LIBDIRSUFFIX="" fi -# 20220309 bkw: removed INSTALL (useless) and ChangeLog (empty) -DOCS="AUTHORS COPYING NEWS README" - 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 +rm -rf ${SRCNAM}-v${VERSION} +tar xvf $CWD/${SRCNAM}-v${VERSION}.tar.gz +cd ${SRCNAM}-v${VERSION} chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ + -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 -ivf + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -94,19 +86,20 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION -chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* +cp -a CHANGES LICENSE README.md AUTHORS SECURITY.md \ + $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/libmodsecurity/libmodsecurity.info b/libraries/libmodsecurity/libmodsecurity.info new file mode 100644 index 0000000000..38cf200bb2 --- /dev/null +++ b/libraries/libmodsecurity/libmodsecurity.info @@ -0,0 +1,10 @@ +PRGNAM="libmodsecurity" +VERSION="3.0.13" +HOMEPAGE="https://www.modsecurity.org/" +DOWNLOAD="https://github.com/owasp-modsecurity/ModSecurity/releases/download/v3.0.13/modsecurity-v3.0.13.tar.gz" +MD5SUM="9d29316557f7f5c0104b4fbccf465da2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="yajl" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/libraries/libmodsecurity/slack-desc b/libraries/libmodsecurity/slack-desc new file mode 100644 index 0000000000..80cad6fe3b --- /dev/null +++ b/libraries/libmodsecurity/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------------------------------------------------------| +libmodsecurity: libmodsecurity (a web application firewall library) +libmodsecurity: +libmodsecurity: Libmodsecurity is one component of the ModSecurity v3 project. The +libmodsecurity: library codebase serves as an interface to ModSecurity Connectors +libmodsecurity: taking in web traffic and applying traditional ModSecurity processing. +libmodsecurity: In general, it provides the capability to load/interpret rules written +libmodsecurity: in the ModSecurity SecRules format and apply them to HTTP content +libmodsecurity: provided by your application via Connectors. +libmodsecurity: +libmodsecurity: Homepage: https://modsecurity.org/ +libmodsecurity: diff --git a/libraries/libmseed/libmseed.SlackBuild b/libraries/libmseed/libmseed.SlackBuild index 1ad49477c2..a99a476f7b 100644 --- a/libraries/libmseed/libmseed.SlackBuild +++ b/libraries/libmseed/libmseed.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libmseed -VERSION=${VERSION:-3.1.1} +VERSION=${VERSION:-3.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libmseed/libmseed.info b/libraries/libmseed/libmseed.info index 2e628c2539..f25b415742 100644 --- a/libraries/libmseed/libmseed.info +++ b/libraries/libmseed/libmseed.info @@ -1,8 +1,8 @@ PRGNAM="libmseed" -VERSION="3.1.1" +VERSION="3.1.3" 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="https://github.com/EarthScope/libmseed/archive/v3.1.3/libmseed-3.1.3.tar.gz" +MD5SUM="9c6ce2430fcf1114525a2d4b1087e0c2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libnfs/libnfs.SlackBuild b/libraries/libnfs/libnfs.SlackBuild index 8c76d4fc18..6fb9590a50 100644 --- a/libraries/libnfs/libnfs.SlackBuild +++ b/libraries/libnfs/libnfs.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for libnfs # Copyright 2012-2019 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libnfs -VERSION=${VERSION:-5.0.1} +VERSION=${VERSION:-5.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,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 diff --git a/libraries/libnfs/libnfs.info b/libraries/libnfs/libnfs.info index d01a3179ef..e375612ac3 100644 --- a/libraries/libnfs/libnfs.info +++ b/libraries/libnfs/libnfs.info @@ -1,10 +1,10 @@ PRGNAM="libnfs" -VERSION="5.0.1" +VERSION="5.0.2" HOMEPAGE="https://github.com/sahlberg/libnfs" -DOWNLOAD="https://github.com/sahlberg/libnfs/archive/libnfs-5.0.1/libnfs-libnfs-5.0.1.tar.gz" -MD5SUM="4bd3d1fc097c9ba51c7182980b44ab5f" +DOWNLOAD="https://github.com/sahlberg/libnfs/archive/libnfs-5.0.2/libnfs-libnfs-5.0.2.tar.gz" +MD5SUM="115034aab322d05235a9555d057f8b14" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/libraries/liboauth/liboauth.SlackBuild b/libraries/liboauth/liboauth.SlackBuild index 984d7c95b1..38893e0d55 100644 --- a/libraries/liboauth/liboauth.SlackBuild +++ b/libraries/liboauth/liboauth.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright (c) 2014, S. S. Bolokanar, Bulgaria <bolokanar@bulgars.org> +# Copyright (c) 2014, S. S. Bolokanar, Bulgaria <bolokanar@bulgarsociety.org> # С. С. Болоканаръ, България # All rights reserved. # diff --git a/libraries/liboauth/liboauth.info b/libraries/liboauth/liboauth.info index 4c0ec61d3f..8ed6a57181 100644 --- a/libraries/liboauth/liboauth.info +++ b/libraries/liboauth/liboauth.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="S. S. Bolokanar" -EMAIL="bolokanar@bulgars.org" +EMAIL="bolokanar@bulgarsociety.org" 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/libpff/libpff.SlackBuild b/libraries/libpff/libpff.SlackBuild index 61a9ab159b..7a32d60244 100644 --- a/libraries/libpff/libpff.SlackBuild +++ b/libraries/libpff/libpff.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libpff # -# Copyright 2014-2022 Barry J. Grundy (bgrundy<at>linuxleo.com) +# Copyright 2014-2024 Barry J. Grundy (bgrundy<at>linuxleo.com) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,12 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# Updated v20211114 May 2022 +# Updated v20231205 May 2024 cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libpff -VERSION=${VERSION:-20211114} +VERSION=${VERSION:-20231205} STATUS=${STATUS:-alpha} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/libpff/libpff.info b/libraries/libpff/libpff.info index 6bb0590d12..64e60272fe 100644 --- a/libraries/libpff/libpff.info +++ b/libraries/libpff/libpff.info @@ -1,8 +1,8 @@ PRGNAM="libpff" -VERSION="20211114" +VERSION="20231205" HOMEPAGE="https://github.com/libyal/libpff" -DOWNLOAD="https://linuxleo.com/Source/libpff-alpha-20211114.tar.gz" -MD5SUM="6046dc44808125d319f4f860134ede3b" +DOWNLOAD="https://linuxleo.com/Source/libpff-alpha-20231205.tar.gz" +MD5SUM="3b0d18971b0814de424d789ab3f51603" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libqtpas/changelog b/libraries/libqtpas/changelog index 24df36ea70..c1a7b09f14 100644 --- a/libraries/libqtpas/changelog +++ b/libraries/libqtpas/changelog @@ -28,3 +28,9 @@ version 2.2.6-0 in SBo. 26/04/2024: Update to use lazarus version 3.2-0 + +03/06/2024: + +Updraded to version 3.0. +This will use the latest lazarus version 3.4-0 +Removed the Hardening flags. diff --git a/libraries/libqtpas/libqtpas.SlackBuild b/libraries/libqtpas/libqtpas.SlackBuild index b42fadb75f..2518717355 100644 --- a/libraries/libqtpas/libqtpas.SlackBuild +++ b/libraries/libqtpas/libqtpas.SlackBuild @@ -24,12 +24,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libqtpas -VERSION=${VERSION:-2.15} +VERSION=${VERSION:-3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} SRCNAM=${SRCNAM:-lazarus} -SRCVER=${SRCVER:-3.2} +SRCVER=${SRCVER:-3.4} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -48,20 +48,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -PREPROCESS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS" - -HARDENING="-fexceptions -fstack-protector-strong -fstack-clash-protection -mindirect-branch=thunk -mfunction-return=thunk" - -SLDFLAGS="-Wl,-shared -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,defs" - if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="$PREPROCESS -march=i586 -mtune=i686 -O2 -fPIC $HARDENING" + SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="$PREPROCESS -march=i686 -mtune=i686 -O2 -fPIC $HARDENING" + SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="$PREPROCESS -march=x86-64 -mtune=generic -O2 -fPIC $HARDENING" + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" @@ -89,7 +83,6 @@ find -L . \ qmake-qt5 "QT += x11extras" \ QMAKE_CXXFLAGS\ +=\ "$SLKCFLAGS" \ QMAKE_CFLAGS\ +=\ "$SLKCFLAGS" \ -QMAKE_LFLAGS\ +=\ "$SLDFLAGS" \ Qt5Pas.pro make make INSTALL_ROOT=$PKG install @@ -97,7 +90,7 @@ make INSTALL_ROOT=$PKG install 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 + | 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 COPYING.TXT README.TXT TODO $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/libraries/libqtpas/libqtpas.info b/libraries/libqtpas/libqtpas.info index ec0dc8139a..245a5acefa 100644 --- a/libraries/libqtpas/libqtpas.info +++ b/libraries/libqtpas/libqtpas.info @@ -1,8 +1,8 @@ PRGNAM="libqtpas" -VERSION="2.15" +VERSION="3.0" HOMEPAGE="http://www.lazarus.freepascal.org/" -DOWNLOAD="http://downloads.sourceforge.net/lazarus/lazarus-3.2-0.tar.gz" -MD5SUM="75b871d4d19d08570d2f282b0d8fed0e" +DOWNLOAD="http://downloads.sourceforge.net/lazarus/lazarus-3.4-0.tar.gz" +MD5SUM="05abcb08be9c7ea19c8a4d12d954f406" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/librapidcheck/README b/libraries/librapidcheck/README new file mode 100644 index 0000000000..bc64383783 --- /dev/null +++ b/libraries/librapidcheck/README @@ -0,0 +1,8 @@ +RapidCheck is a C++ framework for property based testing inspired +by QuickCheck. In this testing, you define properties your code +should always satisfy given certain conditions. RapidCheck +generates random test data to find cases where the property fails. +If it finds a failure, it minimizes the input to the smallest +failing case and displays it as a counterexample. + +By !red diff --git a/libraries/librapidcheck/librapidcheck.SlackBuild b/libraries/librapidcheck/librapidcheck.SlackBuild new file mode 100644 index 0000000000..321a676432 --- /dev/null +++ b/libraries/librapidcheck/librapidcheck.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/bash + +# Slackware build script for librapidcheck + +# Copyright 2019-2024 Pouria Rezaei <Pouria.rz@outlook.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=librapidcheck +VERSION=${VERSION:-r1056.ff6af6f} +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 {} \; + +mkdir -p build +cd build + cmake \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DRC_ENABLE_EXAMPLES=Off \ + -DRC_ENABLE_TESTS=Off \ + -DRC_INSTALL_ALL_EXTRAS=O \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_POSITION_INDEPENDENT_CODE=True \ + -DBUILD_SHARED_LIBS=On \ + -DCMAKE_BUILD_TYPE=Release \ + $SHAREDLIBS \ + .. + make + make install DESTDIR=$PKG +cd .. + +find $PKG/usr/lib${LIBDIRSUFFIX} -name '*.la' -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md LICENSE.md $PKG/usr/doc/$PRGNAM-$VERSION/ +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/libraries/librapidcheck/librapidcheck.info b/libraries/librapidcheck/librapidcheck.info new file mode 100644 index 0000000000..7e3b5404c4 --- /dev/null +++ b/libraries/librapidcheck/librapidcheck.info @@ -0,0 +1,10 @@ +PRGNAM="librapidcheck" +VERSION="r1056.ff6af6f" +HOMEPAGE="https://github.com/emil-e/rapidcheck" +DOWNLOAD="https://github.com/RSKYS/librapidcheck/archive/r1056.ff6af6f/librapidcheck-r1056.ff6af6f.tar.gz" +MD5SUM="5cb2bacceabfc8178566526b55339cb8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Pouria Rezaei" +EMAIL="Pouria.rz@outlook.com" diff --git a/libraries/librapidcheck/slack-desc b/libraries/librapidcheck/slack-desc new file mode 100644 index 0000000000..147a0eea8f --- /dev/null +++ b/libraries/librapidcheck/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------------------------------------------------------| +librapidcheck: librapidcheck (QuickCheck clone for C++) +librapidcheck: +librapidcheck: RapidCheck is a C++ framework for property based testing inspired +librapidcheck: by QuickCheck. In this testing, you define properties your code +librapidcheck: should always satisfy given certain conditions. RapidCheck +librapidcheck: generates random test data to find cases where the property fails. +librapidcheck: If it finds a failure, it minimizes the input to the smallest +librapidcheck: failing case and displays it as a counterexample. +librapidcheck: +librapidcheck: Homepage: https://github.com/emil-e/rapidcheck +librapidcheck: diff --git a/libraries/libscfg/README b/libraries/libscfg/README new file mode 100644 index 0000000000..df6bd7e938 --- /dev/null +++ b/libraries/libscfg/README @@ -0,0 +1,3 @@ +libscfg (A C library for scfg) + +A C library for scfg (Simple configuration file format) diff --git a/libraries/libscfg/build.patch b/libraries/libscfg/build.patch new file mode 100644 index 0000000000..123b5f7966 --- /dev/null +++ b/libraries/libscfg/build.patch @@ -0,0 +1,12 @@ +diff --git a/meson.build b/meson.build +index cdbbf1e..1a3391e 100644 +--- a/meson.build ++++ b/meson.build +@@ -57,6 +57,7 @@ test_exe = executable( + 'scfg_test', + files('test.c'), + dependencies: scfg, ++ install: true, + build_by_default: false, + ) + diff --git a/libraries/belle-sip/belle-sip.SlackBuild b/libraries/libscfg/libscfg.SlackBuild index dd31abe6bf..5b469e63f9 100644 --- a/libraries/belle-sip/belle-sip.SlackBuild +++ b/libraries/libscfg/libscfg.SlackBuild @@ -1,9 +1,8 @@ #!/bin/bash -# Slackware build script for belle-sip -# Was written by Euan Thoms <euan at potensol dot com> +# Slackware build script for libscfg -# Copyright 2014 Euan Thoms United Kingdom +# Copyright 2024 Ebben Aries <slackbuilds@dscp.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,15 +22,11 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 20220422 bkw: Modified by SlackBuilds.org, BUILD=3: -# - remove empty ChangeLog from doc dir. - cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=belle-sip -VERSION=${VERSION:-1.6.3} -SRCDIRNAM=${PRGNAM}-${VERSION}-0 -BUILD=${BUILD:-3} +PRGNAM=libscfg +VERSION=${VERSION:-0.1.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,7 +34,7 @@ if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; + *) ARCH=$( uname -m ) ;; esac fi @@ -66,74 +61,44 @@ else LIBDIRSUFFIX="" fi -DOCS="AUTHORS COPYING NEWS README.md $CWD/$PRGNAM.SlackBuild" - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf ${PRGNAM}-${VERSION} -tar xvf $CWD/${PRGNAM}-${VERSION}.tar.gz -if [ "${SRCDIRNAM}" != "${PRGNAM}-${VERSION}" ] -then - mv ${SRCDIRNAM} ${PRGNAM}-${VERSION} -fi -cp $CWD/antlr-*-complete.jar ${PRGNAM}-${VERSION}/antlr.jar -cd ${PRGNAM}-${VERSION} +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$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 \ + -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 {} \+ - -# Ensure java is in $PATH -export PATH=$PATH:/usr/lib${LIBDIRSUFFIX}/java/bin - -# Ammend configure.ac for 64bit support and direct it to build dep antlr.jar -cp configure.ac configure.ac.orig -sed -i \ - -e "s|/lib\"|/lib${LIBDIRSUFFIX}\"|g" \ - -e "/^antlr_java_prefixes=/s|=.*$|=\"$(pwd)\"|g" \ - configure.ac -autoreconf -ivf - -# Kill the accursed -Werror (fix for -current) -SLKCFLAGS="$SLKCFLAGS -Wno-error" - -patch -p1 < $CWD/gcc9.patch - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -CPPFLAGS="${CPPFLAGS} -I/usr/include/antlr3" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --infodir=/usr/info \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-silent-rules \ - --disable-static \ - --disable-tests \ - --enable-tls \ - --with-antlr=/usr \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG - -#find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - #| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION -chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* +patch -p1 < $CWD/build.patch + +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --buildtype=release -rm -f $PKG/usr/lib*/*.la + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +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 diff --git a/libraries/libscfg/libscfg.info b/libraries/libscfg/libscfg.info new file mode 100644 index 0000000000..29b0d62f9f --- /dev/null +++ b/libraries/libscfg/libscfg.info @@ -0,0 +1,10 @@ +PRGNAM="libscfg" +VERSION="0.1.1" +HOMEPAGE="https://git.sr.ht/~emersion/libscfg/" +DOWNLOAD="https://git.sr.ht/~emersion/libscfg/refs/download/v0.1.1/libscfg-0.1.1.tar.gz" +MD5SUM="c88d1e1c0da28a33d33a4efd160013b4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Ebben Aries" +EMAIL="slackbuilds@dscp.org" diff --git a/libraries/libscfg/slack-desc b/libraries/libscfg/slack-desc new file mode 100644 index 0000000000..7825149536 --- /dev/null +++ b/libraries/libscfg/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +libscfg: libscfg (A C library for scfg) +libscfg: +libscfg: A C library for scfg (Simple configuration file format) +libscfg: +libscfg: +libscfg: +libscfg: Homepage: https://git.sr.ht/~emersion/libscfg/ +libscfg: +libscfg: +libscfg: +libscfg: diff --git a/libraries/libshout/libshout.info b/libraries/libshout/libshout.info index ec70abfef1..d58ec337b9 100644 --- a/libraries/libshout/libshout.info +++ b/libraries/libshout/libshout.info @@ -6,5 +6,5 @@ MD5SUM="f77083cf790386297d86536b76a88b1c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Bill Kirkpatrick" -EMAIL="bkirkp@gmail.com" +MAINTAINER="Steven Voges" +EMAIL="svoges.sbo@gmail.com" 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/libsoup3/libsoup3.SlackBuild b/libraries/libsoup3/libsoup3.SlackBuild index a08d69918b..8f8d823ff5 100644 --- a/libraries/libsoup3/libsoup3.SlackBuild +++ b/libraries/libsoup3/libsoup3.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libsoup3 -# Copyright 2022-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2022-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,13 +22,11 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 20220422 bkw: Modified by SlackBuilds.org: fix PRINT_PACKAGE_NAME. - cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libsoup3 SRCNAM=libsoup -VERSION=${VERSION:-3.4.4} +VERSION=${VERSION:-3.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libsoup3/libsoup3.info b/libraries/libsoup3/libsoup3.info index 4971a8a2de..3dad3dc8cb 100644 --- a/libraries/libsoup3/libsoup3.info +++ b/libraries/libsoup3/libsoup3.info @@ -1,8 +1,8 @@ PRGNAM="libsoup3" -VERSION="3.4.4" +VERSION="3.6.0" HOMEPAGE="https://gitlab.gnome.org/GNOME/libsoup" -DOWNLOAD="https://gitlab.gnome.org/GNOME/libsoup/-/archive/3.4.4/libsoup-3.4.4.tar.bz2" -MD5SUM="6f6296f6d9c908de043266efff51b77c" +DOWNLOAD="https://gitlab.gnome.org/GNOME/libsoup/-/archive/3.6.0/libsoup-3.6.0.tar.bz2" +MD5SUM="7e9e86dfed0d8f270df3aa6e03bcb196" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libspf2/libspf2.info b/libraries/libspf2/libspf2.info index 1b99235ca0..7eb3872b42 100644 --- a/libraries/libspf2/libspf2.info +++ b/libraries/libspf2/libspf2.info @@ -1,10 +1,10 @@ PRGNAM="libspf2" VERSION="1.2.10" -HOMEPAGE="https://www.libspf2.org" -DOWNLOAD="https://www.libspf2.org/spf/libspf2-1.2.10.tar.gz" +HOMEPAGE="https://www.libspf2.net" +DOWNLOAD="https://www.libspf2.net/spf/libspf2-1.2.10.tar.gz" MD5SUM="7bb9937d0705649eaa8646de66dc3562" -DOWNLOAD_x86_64="https://www.libspf2.org/spf/libspf2-1.2.10.tar.gz" -MD5SUM_x86_64="7bb9937d0705649eaa8646de66dc3562" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Oleg A. Deordiev" EMAIL="admin@ifconfig.com.ua" diff --git a/libraries/libspiro/libspiro.SlackBuild b/libraries/libspiro/libspiro.SlackBuild index 80a17c9725..792834c901 100644 --- a/libraries/libspiro/libspiro.SlackBuild +++ b/libraries/libspiro/libspiro.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libspiro -VERSION=${VERSION:-20221101} +VERSION=${VERSION:-20240903} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,7 +81,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -autoreconf -fiv +autoreconf -fiv CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/libraries/libspiro/libspiro.info b/libraries/libspiro/libspiro.info index 6b915f44a4..023cbef7d9 100644 --- a/libraries/libspiro/libspiro.info +++ b/libraries/libspiro/libspiro.info @@ -1,8 +1,8 @@ PRGNAM="libspiro" -VERSION="20221101" +VERSION="20240903" HOMEPAGE="https://github.com/fontforge/libspiro" -DOWNLOAD="https://github.com/fontforge/libspiro/archive/20221101/libspiro-20221101.tar.gz" -MD5SUM="139c56bf560adf88df0f06c5795dc878" +DOWNLOAD="https://github.com/fontforge/libspiro/archive/20240903/libspiro-20240903.tar.gz" +MD5SUM="e7e1a25251178e0bda724ce0b148ca2e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libsvm/Makefile.patch b/libraries/libsvm/Makefile.patch index ec0257723f..64aa0df4e1 100644 --- a/libraries/libsvm/Makefile.patch +++ b/libraries/libsvm/Makefile.patch @@ -3,7 +3,7 @@ @@ -1,7 +1,13 @@ CXX ?= g++ CFLAGS = -Wall -Wconversion -O3 -fPIC - SHVER = 3 + SHVER = 4 +export SHVER OS = $(shell uname) +DOT_LIBS = . diff --git a/libraries/libsvm/libsvm.SlackBuild b/libraries/libsvm/libsvm.SlackBuild index af98763419..bb5df7a4b3 100644 --- a/libraries/libsvm/libsvm.SlackBuild +++ b/libraries/libsvm/libsvm.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libsvm -VERSION=${VERSION:-3.32} +VERSION=${VERSION:-3.34} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,12 +49,19 @@ 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 @@ -98,7 +105,7 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la # Symlink to shared library might be useful cd $PKG/usr/lib${LIBDIRSUFFIX} -ln -s libsvm.so.3 libsvm.so +ln -s libsvm.so.4 libsvm.so cd $TMP/$PRGNAM-$SRCVER find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/libraries/libsvm/libsvm.info b/libraries/libsvm/libsvm.info index 92eb6fa97d..bcfea0eae4 100644 --- a/libraries/libsvm/libsvm.info +++ b/libraries/libsvm/libsvm.info @@ -1,8 +1,8 @@ PRGNAM="libsvm" -VERSION="3.32" +VERSION="3.34" HOMEPAGE="https://www.csie.ntu.edu.tw/~cjlin/libsvm/" -DOWNLOAD="https://github.com/cjlin1/libsvm/archive/v332/libsvm-332.tar.gz" -MD5SUM="266cc1a17fe7fe9411a3191de6a35c1f" +DOWNLOAD="https://github.com/cjlin1/libsvm/archive/v334/libsvm-334.tar.gz" +MD5SUM="fa60a22810ead58ed80a6e86b008393c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-scipy" diff --git a/libraries/libtommath/libtommath.SlackBuild b/libraries/libtommath/libtommath.SlackBuild index e0ce66b0dd..bc58c1234c 100644 --- a/libraries/libtommath/libtommath.SlackBuild +++ b/libraries/libtommath/libtommath.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20240813 bkw: Updated for v1.3.0. # 20240315 bkw: Updated for v1.2.1. # 20191201 bkw: Updated for v1.2.0. # 20170903 bkw: Updated for v1.0.1. Changes are incompatible with @@ -15,7 +16,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libtommath -VERSION=${VERSION:-1.2.1} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -59,7 +60,7 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ # hardcoded lib paths suck -sed -i "s,/lib\$,&$LIBDIRSUFFIX," $PRGNAM.pc.in +sed -i "s/,lib,/,lib$LIBDIRSUFFIX,/" makefile.shared make -f makefile.shared LIBPATH=/usr/lib$LIBDIRSUFFIX make -f makefile.shared install \ diff --git a/libraries/libtommath/libtommath.info b/libraries/libtommath/libtommath.info index dc3dd8ff89..bc4324a109 100644 --- a/libraries/libtommath/libtommath.info +++ b/libraries/libtommath/libtommath.info @@ -1,8 +1,8 @@ PRGNAM="libtommath" -VERSION="1.2.1" +VERSION="1.3.0" HOMEPAGE="http://libtom.net/" -DOWNLOAD="https://github.com/libtom/libtommath/releases/download/v1.2.1/ltm-1.2.1.tar.xz" -MD5SUM="2dca554c4f5b7ba735fa072f5c97bb94" +DOWNLOAD="https://github.com/libtom/libtommath/releases/download/v1.3.0/ltm-1.3.0.tar.xz" +MD5SUM="59d7440e1f60719a1d3cc8c4f1df2d6b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" 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/libtorrent/4607bbf7.patch b/libraries/libtorrent/4607bbf7.patch deleted file mode 100644 index 55d0cb901b..0000000000 --- a/libraries/libtorrent/4607bbf7.patch +++ /dev/null @@ -1,105 +0,0 @@ -From 4607bbf78040789dee29266878ce109136b984ef Mon Sep 17 00:00:00 2001 -From: rakshasa <sundell.software@gmail.com> -Date: Tue, 20 Dec 2016 19:51:02 +0900 -Subject: [PATCH] Added support for openssl 1.1. - ---- - configure.ac | 4 ++++ - src/utils/diffie_hellman.cc | 36 ++++++++++++++++++++++++++++++++++-- - 2 files changed, 38 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 65e34872..27e33570 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -69,12 +69,15 @@ AC_ARG_ENABLE(openssl, - [ --disable-openssl Don't use OpenSSL's SHA1 implementation.], - [ - if test "$enableval" = "yes"; then -+dnl move to scripts. - PKG_CHECK_MODULES(OPENSSL, libcrypto, - CXXFLAGS="$CXXFLAGS $OPENSSL_CFLAGS"; - LIBS="$LIBS $OPENSSL_LIBS") - - AC_DEFINE(USE_OPENSSL, 1, Using OpenSSL.) - AC_DEFINE(USE_OPENSSL_SHA, 1, Using OpenSSL's SHA1 implementation.) -+ AC_CHECK_LIB([crypto], [DH_set0_pqg], [AC_DEFINE(USE_OPENSSL_1_1, 1, Using OpenSSL 1.1.)]) -+ - else - AC_DEFINE(USE_NSS_SHA, 1, Using Mozilla's SHA1 implementation.) - fi -@@ -85,6 +88,7 @@ AC_ARG_ENABLE(openssl, - - AC_DEFINE(USE_OPENSSL, 1, Using OpenSSL.) - AC_DEFINE(USE_OPENSSL_SHA, 1, Using OpenSSL's SHA1 implementation.) -+ AC_CHECK_LIB([crypto], [DH_set0_pqg], [AC_DEFINE(USE_OPENSSL_1_1, 1, Using OpenSSL 1.1.)]) - ] - ) - -diff --git a/src/utils/diffie_hellman.cc b/src/utils/diffie_hellman.cc -index aa653d45..7ec13165 100644 ---- a/src/utils/diffie_hellman.cc -+++ b/src/utils/diffie_hellman.cc -@@ -54,11 +54,23 @@ DiffieHellman::DiffieHellman(const unsigned char *prime, int primeLength, - m_secret(NULL), m_size(0) { - - #ifdef USE_OPENSSL -+ - m_dh = DH_new(); -+ -+#ifdef USE_OPENSSL_1_1 -+ BIGNUM * const dh_p = BN_bin2bn(prime, primeLength, NULL); -+ BIGNUM * const dh_g = BN_bin2bn(generator, generatorLength, NULL); -+ -+ if (dh_p == NULL || dh_g == NULL || -+ !DH_set0_pqg(m_dh, dh_p, NULL, dh_g)) -+ throw internal_error("Could not generate Diffie-Hellman parameters"); -+#else - m_dh->p = BN_bin2bn(prime, primeLength, NULL); - m_dh->g = BN_bin2bn(generator, generatorLength, NULL); -+#endif - - DH_generate_key(m_dh); -+ - #else - throw internal_error("Compiled without encryption support."); - #endif -@@ -74,7 +86,19 @@ DiffieHellman::~DiffieHellman() { - bool - DiffieHellman::is_valid() const { - #ifdef USE_OPENSSL -+ if (m_dh == NULL) -+ return false; -+ -+#ifdef USE_OPENSSL_1_1 -+ const BIGNUM *pub_key; -+ -+ DH_get0_key(m_dh, &pub_key, NULL); -+ -+ return pub_key != NULL; -+#else - return m_dh != NULL && m_dh->pub_key != NULL; -+#endif -+ - #else - return false; - #endif -@@ -103,8 +127,16 @@ DiffieHellman::store_pub_key(unsigned char* dest, unsigned int length) { - #ifdef USE_OPENSSL - std::memset(dest, 0, length); - -- if ((int)length >= BN_num_bytes(m_dh->pub_key)) -- BN_bn2bin(m_dh->pub_key, dest + length - BN_num_bytes(m_dh->pub_key)); -+ const BIGNUM *pub_key; -+ -+#ifdef USE_OPENSSL_1_1 -+ DH_get0_key(m_dh, &pub_key, NULL); -+#else -+ pub_key = m_dh->pub_key; -+#endif -+ -+ if ((int)length >= BN_num_bytes(pub_key)) -+ BN_bn2bin(pub_key, dest + length - BN_num_bytes(pub_key)); - #endif - } - diff --git a/libraries/libtorrent/README b/libraries/libtorrent/README index b7e7424001..e1e60c7db3 100644 --- a/libraries/libtorrent/README +++ b/libraries/libtorrent/README @@ -1,3 +1,5 @@ +libtorrent (C++ torrent library) + LibTorrent is a BitTorrent library written in C++ for *nix, with a focus on high performance and good code. The library differentiates itself from other implementations by transfering directly from file pages to diff --git a/libraries/libtorrent/libtorrent.SlackBuild b/libraries/libtorrent/libtorrent.SlackBuild index 27f12b712e..2b63fe1ddb 100644 --- a/libraries/libtorrent/libtorrent.SlackBuild +++ b/libraries/libtorrent/libtorrent.SlackBuild @@ -1,8 +1,17 @@ #!/bin/bash # Slackware build script for libtorrent -# Written by Tom Fitzhenry <tom@fitzhenry.name> 2007/08/22 -# Updated by Andrew Brouwers, abrouwers@gmail.com +# Written by Tom Fitzhenry, 2007/08/22 +# Updated by Andrew Brouwers +# At some point, updated by bkysela +# Updated and now maintained by B. Watson <urchlay@slackware.uk> + +# Original version had no license. Modified version is +# licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20240916 bkw: +# - new maintainer. +# - update for v0.13.8. # 20220420 bkw: Modified by SlackBuilds.org, BUILD=2: # - name SlackBuild *correctly* in the doc dir. @@ -11,8 +20,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libtorrent -VERSION=${VERSION:-0.13.7} -BUILD=${BUILD:-3} +VERSION=${VERSION:-0.13.8} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -56,14 +65,8 @@ cd $TMP 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 {} \+ - -# Added OpenSSL 1.1 support. -patch -p1 < $CWD/4607bbf7.patch +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + ./autogen.sh CFLAGS="$SLKCFLAGS" \ @@ -79,10 +82,10 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +install -m 0644 AUTHORS COPYING NEWS README $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild rm -f $PKG/usr/lib*/*.la diff --git a/libraries/libtorrent/libtorrent.info b/libraries/libtorrent/libtorrent.info index 35aaac219c..60418cdb32 100644 --- a/libraries/libtorrent/libtorrent.info +++ b/libraries/libtorrent/libtorrent.info @@ -1,10 +1,10 @@ PRGNAM="libtorrent" -VERSION="0.13.7" +VERSION="0.13.8" HOMEPAGE="https://github.com/rakshasa/libtorrent" -DOWNLOAD="https://github.com/rakshasa/libtorrent/archive/v0.13.7/libtorrent-0.13.7.tar.gz" -MD5SUM="bead5cfa0f640fef13abc1dd1eac94ea" +DOWNLOAD="https://github.com/rakshasa/libtorrent/archive/v0.13.8/libtorrent-0.13.8.tar.gz" +MD5SUM="dd184eadb8b449ddc6c3498a93ddd568" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="bkysela" -EMAIL="bkysela@gmail.com" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/libraries/libuninameslist/README b/libraries/libuninameslist/README index e6954d1778..d51c51ddf9 100644 --- a/libraries/libuninameslist/README +++ b/libraries/libuninameslist/README @@ -3,3 +3,4 @@ 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. +It also builds the python module. diff --git a/libraries/libuninameslist/libuninameslist.SlackBuild b/libraries/libuninameslist/libuninameslist.SlackBuild index c39ab375cd..b043994ed7 100644 --- a/libraries/libuninameslist/libuninameslist.SlackBuild +++ b/libraries/libuninameslist/libuninameslist.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libuninameslist -VERSION=${VERSION:-20230916} +VERSION=${VERSION:-20240910} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -96,6 +96,9 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make +cd py +python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 +cd .. make install DESTDIR=$PKG # Don't ship .la files: diff --git a/libraries/libuninameslist/libuninameslist.info b/libraries/libuninameslist/libuninameslist.info index ea0f8af881..7331f8fcc2 100644 --- a/libraries/libuninameslist/libuninameslist.info +++ b/libraries/libuninameslist/libuninameslist.info @@ -1,8 +1,8 @@ PRGNAM="libuninameslist" -VERSION="20230916" +VERSION="20240910" HOMEPAGE="https://github.com/fontforge/libuninameslist" -DOWNLOAD="https://github.com/fontforge/libuninameslist/archive/20230916/libuninameslist-20230916.tar.gz" -MD5SUM="f5e15126c9d01c9c54bdd15de7c82d53" +DOWNLOAD="https://github.com/fontforge/libuninameslist/archive/20240910/libuninameslist-20240910.tar.gz" +MD5SUM="5d1aba477c5099ebb2d4306356b046b9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/liburcu/liburcu.SlackBuild b/libraries/liburcu/liburcu.SlackBuild index de6cfa4a34..db2c7bfbf9 100644 --- a/libraries/liburcu/liburcu.SlackBuild +++ b/libraries/liburcu/liburcu.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for liburcu -# Copyright 2013-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2013-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=liburcu -VERSION=${VERSION:-0.14.0} +VERSION=${VERSION:-0.14.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/liburcu/liburcu.info b/libraries/liburcu/liburcu.info index 842c329e86..25feec6e7e 100644 --- a/libraries/liburcu/liburcu.info +++ b/libraries/liburcu/liburcu.info @@ -1,8 +1,8 @@ PRGNAM="liburcu" -VERSION="0.14.0" +VERSION="0.14.1" HOMEPAGE="http://liburcu.org/" -DOWNLOAD="https://lttng.org/files/urcu/userspace-rcu-0.14.0.tar.bz2" -MD5SUM="0cd5647788b048a5d6bbdb3b08d46299" +DOWNLOAD="https://lttng.org/files/urcu/userspace-rcu-0.14.1.tar.bz2" +MD5SUM="dfeb1a6e67679f4ee4a0ac584bfd37ef" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libvhdi/libvhdi.SlackBuild b/libraries/libvhdi/libvhdi.SlackBuild index 19f507d58d..9ff6b859e7 100644 --- a/libraries/libvhdi/libvhdi.SlackBuild +++ b/libraries/libvhdi/libvhdi.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libvhdi # -# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com) +# Copyright 2014-2024 Barry J. Grundy (bgrundy<at>linuxleo.com) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,12 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# Updated v20231127, December 2023 +# Updated v20240303, August 2024 cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libvhdi -VERSION=${VERSION:-20231127} +VERSION=${VERSION:-20240303} STATUS=${STATUS:-alpha} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/libvhdi/libvhdi.info b/libraries/libvhdi/libvhdi.info index 157a9634c5..8451ad6750 100644 --- a/libraries/libvhdi/libvhdi.info +++ b/libraries/libvhdi/libvhdi.info @@ -1,8 +1,8 @@ PRGNAM="libvhdi" -VERSION="20231127" +VERSION="20240303" HOMEPAGE="https://github.com/libyal/libvhdi" -DOWNLOAD="https://linuxleo.com/Source/libvhdi-alpha-20231127.tar.gz" -MD5SUM="796be759a9ff68ac18d768d7b396cf92" +DOWNLOAD="https://linuxleo.com/Source/libvhdi-alpha-20240303.tar.gz" +MD5SUM="97873083295d37668feaa606342bd86c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libvmdk/libvmdk.SlackBuild b/libraries/libvmdk/libvmdk.SlackBuild index a7c55f64d8..f33e477f11 100644 --- a/libraries/libvmdk/libvmdk.SlackBuild +++ b/libraries/libvmdk/libvmdk.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libvmdk # -# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com) +# Copyright 2014-2024 Barry J. Grundy (bgrundy<at>linuxleo.com) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,16 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# 20220215 bkw: Modified by SlackBuilds.org: -# - update for v20221124 since the old version's source vanished. -# - don't install useless ABOUT-NLS and INSTALL in doc dir. -# -# Updated v20221124, July 2023 +# Updated v20240303, August 2024 cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libvmdk -VERSION=${VERSION:-20221124} +VERSION=${VERSION:-20240303} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libvmdk/libvmdk.info b/libraries/libvmdk/libvmdk.info index b10638018e..43892fd56a 100644 --- a/libraries/libvmdk/libvmdk.info +++ b/libraries/libvmdk/libvmdk.info @@ -1,8 +1,8 @@ PRGNAM="libvmdk" -VERSION="20221124" +VERSION="20240303" HOMEPAGE="https://github.com/libyal/libvmdk" -DOWNLOAD="https://linuxleo.com/Source/libvmdk-alpha-20221124.tar.gz" -MD5SUM="c61f05d917f4634a40c92613ce1de7f8" +DOWNLOAD="https://linuxleo.com/Source/libvmdk-alpha-20240303.tar.gz" +MD5SUM="9175bb55f0ee7f086185f9a7802a77e6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" 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/libwrc/libwrc.SlackBuild b/libraries/libwrc/libwrc.SlackBuild index ae5cd98307..90489a4651 100644 --- a/libraries/libwrc/libwrc.SlackBuild +++ b/libraries/libwrc/libwrc.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libwrc # -# Copyright 2019-2023 Barry J. Grundy (bgrundy<at>linuxleo.com) +# Copyright 2019-2024 Barry J. Grundy (bgrundy<at>linuxleo.com) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,12 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# Updated for version 20230318 Aug 2023 +# Updated for version 20240421 Aug 2024 cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libwrc -VERSION=${VERSION:-20230318} +VERSION=${VERSION:-20240421} STATUS=${STATUS:-experimental} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/libwrc/libwrc.info b/libraries/libwrc/libwrc.info index 24db8e858c..faaa0e5ec7 100644 --- a/libraries/libwrc/libwrc.info +++ b/libraries/libwrc/libwrc.info @@ -1,8 +1,8 @@ PRGNAM="libwrc" -VERSION="20230318" +VERSION="20240421" HOMEPAGE="https://github.com/libyal/libwrc" -DOWNLOAD="https://linuxleo.com/Source/libwrc-experimental-20230318.tar.gz" -MD5SUM="ad9498673ce607b8e47e49af95d565ff" +DOWNLOAD="https://linuxleo.com/Source/libwrc-experimental-20240421.tar.gz" +MD5SUM="181b00cdca4e81d02bf73b77155183cd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libxnvctrl/libxnvctrl.SlackBuild b/libraries/libxnvctrl/libxnvctrl.SlackBuild index e105fb7568..63c5126a9a 100644 --- a/libraries/libxnvctrl/libxnvctrl.SlackBuild +++ b/libraries/libxnvctrl/libxnvctrl.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libxnvctrl -VERSION=${VERSION:-535.146.02} +VERSION=${VERSION:-560.35.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/libxnvctrl/libxnvctrl.info b/libraries/libxnvctrl/libxnvctrl.info index 6993b8ec48..fc16ac1606 100644 --- a/libraries/libxnvctrl/libxnvctrl.info +++ b/libraries/libxnvctrl/libxnvctrl.info @@ -1,8 +1,8 @@ PRGNAM="libxnvctrl" -VERSION="535.146.02" +VERSION="560.35.03" HOMEPAGE="http://www.nvidia.com" -DOWNLOAD="https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-535.146.02.tar.bz2" -MD5SUM="025bbc42a1615d83e2b6cce76b43cc2a" +DOWNLOAD="https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-560.35.03.tar.bz2" +MD5SUM="b6385e9319e19d6b42f51141c868c1f5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="nvidia-driver" diff --git a/libraries/live555/live555.info b/libraries/live555/live555.info index 985f29c435..8f33ee8243 100644 --- a/libraries/live555/live555.info +++ b/libraries/live555/live555.info @@ -6,5 +6,5 @@ MD5SUM="4645d2a0c865505c85b48af5317bcb4a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Bill Kirkpatrick" -EMAIL="bkirkp@gmail.com" +MAINTAINER="Steven Voges" +EMAIL="svoges.sbo@gmail.com" diff --git a/libraries/lua-zlib/lua-zlib.SlackBuild b/libraries/lua-zlib/lua-zlib.SlackBuild index 82e6628f0b..c91a4dba0e 100644 --- a/libraries/lua-zlib/lua-zlib.SlackBuild +++ b/libraries/lua-zlib/lua-zlib.SlackBuild @@ -81,8 +81,8 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Getting default cflags from config then append slkcflags to them and passing to make -_CFLAGS=`cat Makefile |grep ^LNX_CFLAGS |sed "s,LNX_CFLAGS\ \ \=,,g"`" "${SLKCFLAGS} -_LIBDIR=`cat Makefile |grep ^LIBDIR |sed "s,LIBDIR\ \ \ ?\=,,g"`${LIBDIRSUFFIX} +_CFLAGS=$( cat Makefile |grep ^LNX_CFLAGS |sed "s,LNX_CFLAGS\ \ \=,,g" )" "${SLKCFLAGS} +_LIBDIR=$( cat Makefile |grep ^LIBDIR |sed "s,LIBDIR\ \ \ ?\=,,g" )${LIBDIRSUFFIX} make linux \ LUAPATH=/usr/share/lua/5.1 \ LUACPATH=/usr/lib${LIBDIRSUFFIX}/lua/5.1 \ diff --git a/libraries/luaevent/luaevent.SlackBuild b/libraries/luaevent/luaevent.SlackBuild index 479f4f66d6..0ab26f174f 100644 --- a/libraries/luaevent/luaevent.SlackBuild +++ b/libraries/luaevent/luaevent.SlackBuild @@ -85,7 +85,7 @@ find -L . \ -exec chmod 644 {} \; # Getting default cflags from config then append slkcflags to them and passing to make -_CFLAGS=`cat Makefile |grep ^CFLAGS |sed "s,CFLAGS\ \=,,g"`" "${SLKCFLAGS} +_CFLAGS=$( cat Makefile |grep ^CFLAGS |sed "s,CFLAGS\ \=,,g" )" "${SLKCFLAGS} make \ CFLAGS="$_CFLAGS" diff --git a/libraries/mimalloc/mimalloc.SlackBuild b/libraries/mimalloc/mimalloc.SlackBuild index 8f87d83a0f..6d30c954fc 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.4} +VERSION=${VERSION:-2.1.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/mimalloc/mimalloc.info b/libraries/mimalloc/mimalloc.info index 79cf6a1b71..80f27aef7f 100644 --- a/libraries/mimalloc/mimalloc.info +++ b/libraries/mimalloc/mimalloc.info @@ -1,8 +1,8 @@ PRGNAM="mimalloc" -VERSION="2.1.4" +VERSION="2.1.7" HOMEPAGE="https://github.com/microsoft/mimalloc" -DOWNLOAD="https://github.com/microsoft/mimalloc/archive/v2.1.4/mimalloc-2.1.4.tar.gz" -MD5SUM="50f2e6e2bf0e92876bedf95cf5444d43" +DOWNLOAD="https://github.com/microsoft/mimalloc/archive/v2.1.7/mimalloc-2.1.7.tar.gz" +MD5SUM="8f33b9972e9ac65c22c846c867583357" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/msgpack-c-c/README b/libraries/msgpack-c-c/README index 4219870b84..bf28a832f9 100644 --- a/libraries/msgpack-c-c/README +++ b/libraries/msgpack-c-c/README @@ -1,21 +1,16 @@ 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 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. +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. -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 +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 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 6fdb6c3bc7..a00924d9bd 100644 --- a/libraries/msgpack-c-c/msgpack-c-c.SlackBuild +++ b/libraries/msgpack-c-c/msgpack-c-c.SlackBuild @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=msgpack-c-c -VERSION=${VERSION:-6.0.1} +VERSION=${VERSION:-6.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,6 +63,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -70,19 +73,19 @@ fi set -e -# msgpack-c and older versions use the same include dirs so them -# cannot coexist with msgpack-c-cpp +# msgpack-c-c and older versions use the same include dirs so them +# cannot coexist with msgpack-c-c if pkg-config --exists msgpack; then echo "************************************************************************" echo " WARNING: an old version of msgpack-c has been detected in your system!" - echo " This conflicts with msgpack-c-cpp. Please remove old installations of" + echo " This conflicts with msgpack-c-c. Please remove old installations of" echo " msgpack-c before installing this package" echo " This script will be stopped" echo "************************************************************************" exit 1 fi -if [ -d /usr/share/cmake-3.28 ]; then +if [ -d /usr/share/cmake-3.3* ]; then # This prevents some cmake warnings in current CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0145=OLD " else diff --git a/libraries/msgpack-c-c/msgpack-c-c.info b/libraries/msgpack-c-c/msgpack-c-c.info index 74301ee2b3..8d67ad629b 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.1" +VERSION="6.1.0" HOMEPAGE="https://github.com/msgpack/msgpack-c" -DOWNLOAD="https://github.com/msgpack/msgpack-c/releases/download/c-6.0.1/msgpack-c-6.0.1.tar.gz" -MD5SUM="090df53a59b845767fcfc48221b30ee9" +DOWNLOAD="https://github.com/msgpack/msgpack-c/releases/download/c-6.1.0/msgpack-c-6.1.0.tar.gz" +MD5SUM="9054a97db4f88ad9b66c9eef079a5d5b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gtest" diff --git a/libraries/msx264/README b/libraries/msx264/README deleted file mode 100644 index d3436a5a07..0000000000 --- a/libraries/msx264/README +++ /dev/null @@ -1,10 +0,0 @@ -msx264 (x264 plugin for mediastreamer2) - -A GPL plugin to bring video H264 encoding/decoding capabilities to -mediastreamer2 applications like Linphone. It is based on ffmpeg -for decoding and x264 for encoding. - -It works with x264 versions later than september 2009. - -NOTE: this mediastreamer plugin is deprecated in favour of - msopenh264. diff --git a/libraries/msx264/msx264.info b/libraries/msx264/msx264.info deleted file mode 100644 index 96b7ba9626..0000000000 --- a/libraries/msx264/msx264.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="msx264" -VERSION="1.5.3" -HOMEPAGE="https://github.com/Distrotech/msx264" -DOWNLOAD="http://attic-distfiles.pld-linux.org/distfiles/by-md5/8/d/8dc5482d12bdb5d89bdfa9f71163e08a/msx264-1.5.3.tar.gz" -MD5SUM="8dc5482d12bdb5d89bdfa9f71163e08a" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="linphone x264" -MAINTAINER="Euan Thoms" -EMAIL="euan at potensol dot com" diff --git a/libraries/msx264/slack-desc b/libraries/msx264/slack-desc deleted file mode 100644 index 17c11e262d..0000000000 --- a/libraries/msx264/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------------------------------------------------------| -msx264: msx264 (x264 plugin for mediastreamer2) -msx264: -msx264: msx264 - a GPL plugin to bring video H264 encoding/decoding -msx264: capabilities to mediastreamer2 applications like Linphone. It is -msx264: based on ffmpeg for decoding and x264 for encoding. -msx264: -msx264: It works with x264 versions later than september 2009. -msx264: -msx264: NOTE: this mediastreamer plugin is deprecated in favour of -msx264: msopenh264. -msx264: diff --git a/libraries/nacl/nacl.SlackBuild b/libraries/nacl/nacl.SlackBuild index 632b6a66dd..a1f90b6634 100644 --- a/libraries/nacl/nacl.SlackBuild +++ b/libraries/nacl/nacl.SlackBuild @@ -94,7 +94,7 @@ sed -i "s/exec 2\?>.*//" do ./do -shost=`hostname | sed 's/\..*//' | tr -cd '[a-z][A-Z][0-9]'` +shost=$( hostname | sed 's/\..*//' | tr -cd '[a-z][A-Z][0-9]' ) mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} install -D -m 644 build/$shost/lib/*/libnacl.a "$PKG/usr/lib${LIBDIRSUFFIX}/libnacl.a" diff --git a/libraries/openvino/openvino.SlackBuild b/libraries/openvino/openvino.SlackBuild index e05fe6fbfa..7d24748859 100644 --- a/libraries/openvino/openvino.SlackBuild +++ b/libraries/openvino/openvino.SlackBuild @@ -25,11 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=openvino -VERSION=${VERSION:-2024.1.0} +VERSION=${VERSION:-2024.3.0} VERSION_FLATBUFFERS=24.3.25 VERSION_ONNX=1.16.0 VERSION_ITTAPI=3.24.4 -COMMIT_ONEDNN=26633ae49edd4353a29b7170d9fcef6b2d79f4b3 +VERSION_PROTOBUF=21.12 +COMMIT_ONEDNN=f0f8defe2dff5058391f2a66e775e20b5de33b08 +COMMIT_ONEDNN_GPU=7ab8ee9adda866d675edeee7a3a6a29b2d0a1572 COMMIT_MLAS=d1bc25ec4660cddd87804fcf03b2411b5dfb2e94 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -109,6 +111,13 @@ rmdir ittapi tar vxf $CWD/ittapi-$VERSION_ITTAPI.tar.gz ln -s ittapi-$VERSION_ITTAPI ittapi ) +# protobuf +( +cd thirdparty/protobuf/ +rmdir protobuf +tar vxf $CWD/protobuf-all-$VERSION_PROTOBUF.tar.gz +ln -s protobuf-$VERSION_PROTOBUF protobuf +) # mlas for cpu inference device ( cd src/plugins/intel_cpu/thirdparty @@ -117,54 +126,44 @@ 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 +( +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_GPU.tar.gz +ln -s oneDNN-$COMMIT_ONEDNN_GPU onednn_gpu +) mkdir -p build 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/share/openvino \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DONNX_ML=ON \ + -DENABLE_CPPLINT=OFF \ + -DENABLE_SYSTEM_FLATBUFFERS=OFF \ + -DENABLE_SYSTEM_PUGIXML=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_CPU=ON \ + -DENABLE_INTEL_GPU=ON \ -DENABLE_INTEL_NPU=OFF \ - -DENABLE_ONEDNN_FOR_GPU=OFF \ - -Wno-dev \ -DCMAKE_BUILD_TYPE=Release .. - make - make install/strip DESTDIR=$PKG + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install/strip cd .. # We don't build samples, so we remove samples stub files diff --git a/libraries/openvino/openvino.info b/libraries/openvino/openvino.info index 01a9c32ad4..3f3fb0d5e8 100644 --- a/libraries/openvino/openvino.info +++ b/libraries/openvino/openvino.info @@ -1,20 +1,24 @@ PRGNAM="openvino" -VERSION="2024.1.0" +VERSION="2024.3.0" HOMEPAGE="https://github.com/openvinotoolkit/openvino/" -DOWNLOAD="https://github.com/openvinotoolkit/openvino/archive/2024.1.0/openvino-2024.1.0.tar.gz \ +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/openvinotoolkit/openvino/archive/2024.3.0/openvino-2024.3.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/openvinotoolkit/oneDNN/archive/f0f8def/oneDNN-f0f8defe2dff5058391f2a66e775e20b5de33b08.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 \ + https://github.com/intel/ittapi/archive/v3.24.4/ittapi-3.24.4.tar.gz \ + https://github.com/oneapi-src/oneDNN/archive/7ab8ee9/oneDNN-7ab8ee9adda866d675edeee7a3a6a29b2d0a1572.tar.gz \ + https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protobuf-all-21.12.tar.gz" +MD5SUM_x86_64="98bccff737a993f09b93a29b6f987b8a \ 0e87473410db355fd9251a2e1337dc32 \ - 2cbdb4f80608959b3c013bab745bb807 \ + 4aacb5fb08aec8245f2c470bfc0fadb8 \ f28f12fc16c72f4e7c22066a35405c3a \ 5ef5a7bd4f9dad914bddc3b4335a67cd \ - aec402d3441bb8ecb9c8e75bab6cc102" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="protobuf3 oneTBB xbyak pugixml snappy pybind11 OpenCL-CLHPP" + aec402d3441bb8ecb9c8e75bab6cc102 \ + 9e31e927282ba6893cf20bc6c0592445 \ + 7fb5fa6217646e5146346e39d9aad6f9" +REQUIRES="oneTBB xbyak pugixml snappy pybind11 OpenCL-CLHPP" MAINTAINER="Johannes Schoepfer" EMAIL="slackbuilds@schoepfer.info" diff --git a/libraries/ospray/ospray.info b/libraries/ospray/ospray.info index e98dcd041c..793cb70678 100644 --- a/libraries/ospray/ospray.info +++ b/libraries/ospray/ospray.info @@ -3,7 +3,7 @@ VERSION="3.1.0" HOMEPAGE="https://www.ospray.org/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/ospray/ospray/archive/v3.1.0/ospray-3.1.0.tar.gz" +DOWNLOAD_x86_64="https://github.com/RenderKit/ospray/archive/v3.1.0/ospray-3.1.0.tar.gz" MD5SUM_x86_64="cc97ca01d402b63cc4c091fc796a9b80" REQUIRES="openvkl googlebenchmark openimagedenoise" MAINTAINER="Lockywolf" diff --git a/libraries/ospray_studio/ospray_studio.SlackBuild b/libraries/ospray_studio/ospray_studio.SlackBuild index ee824a83d5..82cdea2893 100644 --- a/libraries/ospray_studio/ospray_studio.SlackBuild +++ b/libraries/ospray_studio/ospray_studio.SlackBuild @@ -29,6 +29,7 @@ VERSION=${VERSION:-1.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=$(echo $PRGNAM | tr _ -) if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -69,9 +70,9 @@ 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 +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 \ diff --git a/libraries/ospray_studio/ospray_studio.info b/libraries/ospray_studio/ospray_studio.info index 0e24539ceb..2c346713f6 100644 --- a/libraries/ospray_studio/ospray_studio.info +++ b/libraries/ospray_studio/ospray_studio.info @@ -3,8 +3,8 @@ VERSION="1.0.0" HOMEPAGE="https://www.ospray.org/ospray_studio/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/ospray/ospray_studio/archive/v1.0.0/ospray_studio-1.0.0.tar.gz" -MD5SUM_x86_64="8b8f74529303ef167fc403d6290fe3d4" +DOWNLOAD_x86_64="https://github.com/RenderKit/ospray-studio/archive/v1.0.0/ospray-studio-1.0.0.tar.gz" +MD5SUM_x86_64="cf2153de0215022e70f2466cc5ee3ba1" REQUIRES="ospray pybind11" MAINTAINER="Lockywolf" EMAIL="for_sbo.ospray_2024-03-02@lockywolf.net" diff --git a/libraries/p4api/p4api.SlackBuild b/libraries/p4api/p4api.SlackBuild index 30dba68f7b..4b83608991 100644 --- a/libraries/p4api/p4api.SlackBuild +++ b/libraries/p4api/p4api.SlackBuild @@ -11,7 +11,7 @@ TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} ###sbolint off (because VERSION is being redefined) -LOCALVER=`tar tf p4api.tgz 2> /dev/null | head -1 | cut -d- -f 2 | cut -d/ -f1` +LOCALVER=$( tar tf p4api.tgz 2> /dev/null | head -1 | cut -d- -f 2 | cut -d/ -f1 ) VERSION=${LOCALVER:-$VERSION} ###sbolint on diff --git a/libraries/plastid/plastid.SlackBuild b/libraries/plastid/plastid.SlackBuild index 3bb55e3a25..23b9c8916a 100644 --- a/libraries/plastid/plastid.SlackBuild +++ b/libraries/plastid/plastid.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=plastid VERSION=${VERSION:-0.6.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,6 +81,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +export PYTHONPATH=/opt/python3-numpy-legacy/usr/lib$LIBDIRSUFFIX/ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/libraries/plastid/plastid.info b/libraries/plastid/plastid.info index b5922ce6b9..7e6f2936fe 100644 --- a/libraries/plastid/plastid.info +++ b/libraries/plastid/plastid.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/joshuagryphon/plastid/archive/d97f239d73b3a7c2eff46 MD5SUM="48a01a3816a787a5fade529fbf1866c7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pysam python3-numpy" +REQUIRES="pysam python3-numpy-legacy" MAINTAINER="William PC" EMAIL="w_calandrini[at]hotmail[dot]com" diff --git a/libraries/platform/platform.SlackBuild b/libraries/platform/platform.SlackBuild index 20bb0ca3b5..68a879344a 100644 --- a/libraries/platform/platform.SlackBuild +++ b/libraries/platform/platform.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for platform # Copyright 2015-2017 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -38,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 @@ -84,22 +82,26 @@ patch -p1 < $CWD/platform-2.1.0-install.patch mkdir -p build cd build - cmake -G "Unix Makefiles" \ - -DCMAKE_INSTALL_PREFIX:PATH="/usr" \ + cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \ + -DBUILD_SHARED_LIBS=1 \ -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. - make VERBOSE=1 - make install 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 README.md debian/copyright $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README.md debian/copyright \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/platform/platform.info b/libraries/platform/platform.info index beb2da3b6c..463fd26cc2 100644 --- a/libraries/platform/platform.info +++ b/libraries/platform/platform.info @@ -6,5 +6,5 @@ MD5SUM="8bfdb42cdfdd39f8f3385ad801f73cb0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/libraries/poco/README b/libraries/poco/README index 353a2b4c50..43774a399b 100644 --- a/libraries/poco/README +++ b/libraries/poco/README @@ -4,9 +4,12 @@ server, mobile and embedded systems. PostgreSQL (on Sbo) and libiodbc (part of Slackware) or UnixODBC (on SBo) are optional dependencies that will be automatically picked -up during configuration. If you have PostgreSQL installed and want to -compile the corresponding database connector, do this: +up during configuration. - POSTGRESQL=yes ./poco.SlackBuild +By default, the build will use the internal libs for sqlite, zlib, +pcre2, expat, etc. To use the Slackware versions: +BUNDLE=no ./poco.SlackBuild +This will disable any functionality not already included with or +added to Slackware. diff --git a/libraries/poco/poco.SlackBuild b/libraries/poco/poco.SlackBuild index f941dbb2b7..fa34c7a8c4 100644 --- a/libraries/poco/poco.SlackBuild +++ b/libraries/poco/poco.SlackBuild @@ -27,9 +27,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=poco -VERSION=${VERSION:-1.12.5} +VERSION=${VERSION:-1.13.3} EDITION=all -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,12 +49,11 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi -# Make optionally detected components really optional as they are in -# CMAKE build configuration upstream. -if [ ${POSTGRESQL:-no} = "no" ]; then - NOPOSTGRESQL="--omit=Data/PostgreSQL" +# Optionally disable bundles libs in favor of Slackware's versions +if [ ${BUNDLE:-no} = "no" ]; then + NOBUNDLE="-DPOCO_UNBUNDLED=ON" else - NOPOSTGRESQL="" + NOBUNDLE="" fi TMP=${TMP:-/tmp/SBo} @@ -81,7 +80,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION-$EDITION -tar xvf $CWD/$PRGNAM-$VERSION-$EDITION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION-$EDITION.tar.bz2 cd $PRGNAM-$VERSION-$EDITION chown -R root:root . find -L . \ @@ -90,23 +89,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 {} \; -if [ "$ARCH" = "x86_64" ]; then - patch -p1 < $CWD/poco_x64.patch -fi - # Slackware ships with MariaDB not MySQL, patch from Arch Linux patch -p1 < $CWD/poco_mariadb.patch -./configure \ - --prefix=/usr \ - --no-tests \ - --no-samples \ - $NOPOSTGRESQL \ - --sqlite-thread-safe=2 \ - --shared - -make -make install DESTDIR=$PKG +mkdir -p cmake-build +cd cmake-build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + $NOBUNDLE \ + -DCMAKE_BUILD_TYPE=Release .. + + make + make install DESTDIR=$PKG +cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -117,7 +114,7 @@ find $PKG -name perllocal.pod \ | xargs rm -f mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG CONTRIBUTORS NEWS LICENSE VERSION README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG CONTRIBUTORS LICENSE MANIFEST VERSION README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild rm -f $PKG/usr/lib*/*.la diff --git a/libraries/poco/poco.info b/libraries/poco/poco.info index e2bd2787b7..d756b55862 100644 --- a/libraries/poco/poco.info +++ b/libraries/poco/poco.info @@ -1,8 +1,8 @@ PRGNAM="poco" -VERSION="1.12.5" +VERSION="1.13.3" HOMEPAGE="https://pocoproject.org" -DOWNLOAD="https://pocoproject.org/releases/poco-1.12.5/poco-1.12.5-all.tar.gz" -MD5SUM="5bdbf497ff3e65d92a66ecae0a963397" +DOWNLOAD="https://pocoproject.org/releases/poco-1.13.3/poco-1.13.3-all.tar.bz2" +MD5SUM="ec5ce614fff2ed1825bb776fa1292d4d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/poco/poco_x64.patch b/libraries/poco/poco_x64.patch deleted file mode 100644 index 40966da0b2..0000000000 --- a/libraries/poco/poco_x64.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- poco-1.7.3-all/Makefile.original 2016-05-21 10:30:38.468392077 +0100 -+++ poco-1.7.3-all/Makefile 2016-05-21 10:31:06.823679098 +0100 -@@ -95,7 +95,7 @@ - - install: libexecs - mkdir -p $(INSTALLDIR)/include/Poco -- mkdir -p $(INSTALLDIR)/lib -+ mkdir -p $(INSTALLDIR)/lib64 - mkdir -p $(INSTALLDIR)/bin - for comp in $(filter-out $(foreach f,$(OMIT),$f%),$(COMPONENTS)) ; do \ - if [ -d "$(POCO_BASE)/$$comp/include" ] ; then \ -@@ -109,8 +109,8 @@ - find $(POCO_BUILD)/lib/$(OSNAME)/$(OSARCH) -name "cygPoco*" -type f -exec cp -f {} $(INSTALLDIR)/bin \; - find $(POCO_BUILD)/lib/$(OSNAME)/$(OSARCH) -name "cygPoco*" -type l -exec cp -Rf {} $(INSTALLDIR)/bin \; - endif -- find $(POCO_BUILD)/lib/$(OSNAME)/$(OSARCH) -name "libPoco*" -type f -exec cp -f {} $(INSTALLDIR)/lib \; -- find $(POCO_BUILD)/lib/$(OSNAME)/$(OSARCH) -name "libPoco*" -type l -exec cp -Rf {} $(INSTALLDIR)/lib \; -+ find $(POCO_BUILD)/lib/$(OSNAME)/$(OSARCH) -name "libPoco*" -type f -exec cp -f {} $(INSTALLDIR)/lib64 \; -+ find $(POCO_BUILD)/lib/$(OSNAME)/$(OSARCH) -name "libPoco*" -type l -exec cp -Rf {} $(INSTALLDIR)/lib64 \; - - libexecs = Foundation-libexec XML-libexec JSON-libexec Util-libexec Net-libexec Crypto-libexec NetSSL_OpenSSL-libexec Data-libexec Data/SQLite-libexec Data/ODBC-libexec Data/MySQL-libexec MongoDB-libexec Zip-libexec PageCompiler-libexec PageCompiler/File2Page-libexec - tests = Foundation-tests XML-tests JSON-tests Util-tests Net-tests Crypto-tests NetSSL_OpenSSL-tests Data-tests Data/SQLite-tests Data/ODBC-tests Data/MySQL-tests MongoDB-tests Zip-tests diff --git a/libraries/podofo/XRefStrParObj-deprecated.patch b/libraries/podofo/XRefStrParObj-deprecated.patch deleted file mode 100644 index d2a74b68b5..0000000000 --- a/libraries/podofo/XRefStrParObj-deprecated.patch +++ /dev/null @@ -1,61 +0,0 @@ -diff -Naur podofo-0.9.6.orig/src/base/PdfXRefStreamParserObject.h podofo-0.9.6/src/base/PdfXRefStreamParserObject.h ---- podofo-0.9.6.orig/src/base/PdfXRefStreamParserObject.h 2014-06-06 22:13:22.000000000 +0000 -+++ podofo-0.9.6/src/base/PdfXRefStreamParserObject.h 2020-05-03 02:26:01.119538387 +0000 -@@ -47,8 +47,11 @@ - * an XRef stream object. - * - * It is mainly here to make PdfParser more modular. -+ * This is only marked PODOFO_API for the benefit of the tests, -+ * the class is for internal use only. It is deprecated, so -+ * don't ever rely on it (i.e. externally or in PoDoFo tools). - */ --class PdfXRefStreamParserObject : public PdfParserObject { -+class PODOFO_DEPRECATED PODOFO_API PdfXRefStreamParserObject : public PdfParserObject { - public: - - /** Parse the object data from the given file handle starting at -diff -Naur podofo-0.9.6.orig/src/base/podofoapi.h podofo-0.9.6/src/base/podofoapi.h ---- podofo-0.9.6.orig/src/base/podofoapi.h 2017-10-27 06:38:19.000000000 +0000 -+++ podofo-0.9.6/src/base/podofoapi.h 2020-05-03 02:27:03.874537513 +0000 -@@ -173,9 +173,22 @@ - - /* Set up some other compiler-specific but not platform-specific macros */ - --#if defined(__GNUC__) -- /* gcc will issue a warning if a function or variable so annotated is used */ -- #define PODOFO_DEPRECATED __attribute__((deprecated)) -+#ifdef __GNU__ -+ #define PODOFO_HAS_GCC_ATTRIBUTE_DEPRECATED 1 -+#elif defined(__has_attribute) -+ #if __has_attribute(__deprecated__) -+ #define PODOFO_HAS_GCC_ATTRIBUTE_DEPRECATED 1 -+ #endif -+#endif -+ -+#ifdef PODOFO_HAS_GCC_ATTRIBUTE_DEPRECATED -+ /* gcc (or compat. clang) will issue a warning if a function or variable so annotated is used */ -+ #define PODOFO_DEPRECATED __attribute__((__deprecated__)) -+#else -+ #define PODOFO_DEPRECATED -+#endif -+ -+#ifdef __GNU__ - /* gcc can do some additional optimisations on functions annotated as pure. - * See the documentation on __attribute__((pure)) in the gcc docs. */ - #define PODOFO_PURE_FUNCTION __attribute__((pure)) -@@ -185,9 +198,12 @@ - * (see CODINGSTYLE.txt) .*/ - #define PODOFO_NOTHROW __attribute__((nothrow)) - #else -- #define PODOFO_DEPRECATED -- #define PODOFO_PURE_FUNCTION -- #define PODOFO_NOTHROW __declspec(nothrow) -+ #define PODOFO_PURE_FUNCTION -+ #ifdef _MSC_VER -+ #define PODOFO_NOTHROW __declspec(nothrow) -+ #else -+ #define PODOFO_NOTHROW -+ #endif - #endif - - // Peter Petrov 27 April 2008 diff --git a/libraries/podofo/podofo.SlackBuild b/libraries/podofo/podofo.SlackBuild index 8484a157da..ddfaf8bad7 100644 --- a/libraries/podofo/podofo.SlackBuild +++ b/libraries/podofo/podofo.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for podofo # Copyright 2009-2020 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,8 +30,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=podofo -VERSION=${VERSION:-0.9.6} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.10.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,36 +81,28 @@ 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 {} \+ -sed -i "s/BINARY_DIR}\/objects\"/BINARY_DIR}\/objects\" || true/" test/TokenizerTest/CMakeLists.txt - -# Fix mandir directory. -sed -i 's|share/man|man|' CMakeLists.txt -# Ref: https://sourceforge.net/p/podofo/tickets/28/ -patch -p1 < $CWD/XRefStrParObj-deprecated.patch - mkdir build cd build cmake -G "Unix Makefiles" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DPODOFO_BUILD_STATIC:BOOL=FALSE \ - -DPODOFO_BUILD_SHARED:BOOL=TRUE \ - -DPODOFO_USE_VISIBILITY:BOOL=1 \ + -DPODOFO_BUILD_TOOLS=TRUE \ + -DPODOFO_BUILD_STATIC=FALSE \ -DCMAKE_CXX_STANDARD:STRING=11 \ - -DWANT_BOOST:BOOL=1 \ - -DLIB_SUFFIX:STRING="$LIBDIRSUFFIX" \ -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 make install/strip DESTDIR=$PKG cd - +# Install man files +install -Dm644 -t $PKG/usr/man/man1 man/*.1 find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS ChangeLog CODING* CONTRIBUTIONS* COPYING* FAQ* README* TODO \ + AUTHORS.md CHANGELOG.md CODING-STYLE.md COPYING README.md TODO.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/podofo/podofo.info b/libraries/podofo/podofo.info index 5a97ef24ef..d5f0def08b 100644 --- a/libraries/podofo/podofo.info +++ b/libraries/podofo/podofo.info @@ -1,10 +1,10 @@ PRGNAM="podofo" -VERSION="0.9.6" -HOMEPAGE="http://podofo.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/podofo/podofo-0.9.6.tar.gz" -MD5SUM="46336fc4c4ce4be814bb5fbb4d918334" +VERSION="0.10.3" +HOMEPAGE="https://github.com/podofo/podofo" +DOWNLOAD="https://github.com/podofo/podofo/archive/0.10.3/podofo-0.10.3.tar.gz" +MD5SUM="41580f583e3210563cb65478ee8697c0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" diff --git a/libraries/podofo/slack-desc b/libraries/podofo/slack-desc index ab1908337c..9049d90d17 100644 --- a/libraries/podofo/slack-desc +++ b/libraries/podofo/slack-desc @@ -14,6 +14,6 @@ podofo: classes to parse PDF files and modify their contents into memory podofo: The parser can also be used to extract information from a PDF file podofo: (for example, the parser could be used in a PDF viewer). podofo: -podofo: Homepage: http://podofo.sourceforge.net/ +podofo: podofo: podofo: diff --git a/libraries/process-cpp/process-cpp.SlackBuild b/libraries/process-cpp/process-cpp.SlackBuild index 31ab940f4e..b120e4b08a 100644 --- a/libraries/process-cpp/process-cpp.SlackBuild +++ b/libraries/process-cpp/process-cpp.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for process-cpp -# Copyright 2017 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2017-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,8 +28,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=process-cpp -VERSION=${VERSION:-3.0.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.0.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -52,16 +52,12 @@ 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 diff --git a/libraries/process-cpp/process-cpp.info b/libraries/process-cpp/process-cpp.info index e226b41ebf..88c67ac430 100644 --- a/libraries/process-cpp/process-cpp.info +++ b/libraries/process-cpp/process-cpp.info @@ -1,8 +1,8 @@ PRGNAM="process-cpp" -VERSION="3.0.1" +VERSION="3.0.2" HOMEPAGE="https://gitlab.com/ubports/development/core/lib-cpp/process-cpp/" -DOWNLOAD="https://gitlab.com/ubports/development/core/lib-cpp/process-cpp/-/archive/3.0.1/process-cpp-3.0.1.tar.gz" -MD5SUM="679af2515e9edc8c6441b22b51794a01" +DOWNLOAD="https://gitlab.com/ubports/development/core/lib-cpp/process-cpp/-/archive/3.0.2/process-cpp-3.0.2.tar.gz" +MD5SUM="ee6d5ddbe5b1d7c9fedc8ecb31e93d2d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="properties-cpp" diff --git a/libraries/protobuf-c/711.patch b/libraries/protobuf-c/711.patch index a26633a54e..1be8f50fa5 100644 --- a/libraries/protobuf-c/711.patch +++ b/libraries/protobuf-c/711.patch @@ -116,54 +116,3 @@ index 062d330b..be28b601 100644 // Work around changes in protobuf >= 22.x without breaking compilation against -From d95aced22df60a2f0049fc03af48c8b02ce4d474 Mon Sep 17 00:00:00 2001 -From: Robert Edmonds <edmonds@users.noreply.github.com> -Date: Wed, 20 Mar 2024 22:43:30 -0400 -Subject: [PATCH 3/3] CGenerator: Protect against being invoked against - "edition" syntax .proto files - -The Google protobuf project is currently experimenting with a new syntax -for .proto files called "editions". Since protobuf-c is a proto2/proto3 -compiler, after the previous commit reimplementing `FieldSyntax()`, the -protobuf compiler will abort like this if presented with an "editions" -syntax .proto file due to the safety check in `FieldSyntax()`: - - $ protoc --experimental_editions --c_out=. test.proto - protoc-gen-c: ./protoc-c/c_helpers.h:178: int google::protobuf::compiler::c::FieldSyntax(const google::protobuf::FieldDescriptor*): Assertion `syntax == "proto2" || syntax == "proto3"' failed. - --c_out: protoc-gen-c: Plugin killed by signal 6. - -On protobuf 26, our `CodeGenerator` can implement certain methods to -declare that we "support" editions, and then reject any other edition -except proto2 and proto3, which have apparently been retroactively -declared to be "editions". Of course this needs to be wrapped in a -version guard. - -With this protection in place, the protobuf compiler cleanly exits with -a nice error message like this: - - $ protoc --experimental_editions --c_out=. test.proto - WARNING: All log messages before absl::InitializeLog() is called are written to STDERR - E0000 00:00:1710988958.296200 20022 descriptor.cc:4620] Invalid proto descriptor for file "test.proto": - E0000 00:00:1710988958.296239 20022 descriptor.cc:4623] test.proto: Edition 2023 is later than the maximum supported edition PROTO3 - --c_out: protoc-gen-c: Plugin failed with status code 1. ---- - protoc-c/c_generator.h | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/protoc-c/c_generator.h b/protoc-c/c_generator.h -index b8b44aaa..4aeb5790 100644 ---- a/protoc-c/c_generator.h -+++ b/protoc-c/c_generator.h -@@ -93,6 +93,12 @@ class PROTOC_C_EXPORT CGenerator : public CodeGenerator { - const std::string& parameter, - OutputDirectory* output_directory, - std::string* error) const; -+ -+#if GOOGLE_PROTOBUF_VERSION >= 5026000 -+ uint64_t GetSupportedFeatures() const { return CodeGenerator::FEATURE_SUPPORTS_EDITIONS; } -+ Edition GetMinimumEdition() const { return Edition::EDITION_PROTO2; } -+ Edition GetMaximumEdition() const { return Edition::EDITION_PROTO3; } -+#endif - }; - - } // namespace c diff --git a/libraries/protobuf-c/protobuf-c.SlackBuild b/libraries/protobuf-c/protobuf-c.SlackBuild index dd82091e38..49d1beab69 100644 --- a/libraries/protobuf-c/protobuf-c.SlackBuild +++ b/libraries/protobuf-c/protobuf-c.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=protobuf-c VERSION=${VERSION:-1.5.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/psqlodbc/psqlodbc.SlackBuild b/libraries/psqlodbc/psqlodbc.SlackBuild index 75f01f0e1b..9ddd991139 100644 --- a/libraries/psqlodbc/psqlodbc.SlackBuild +++ b/libraries/psqlodbc/psqlodbc.SlackBuild @@ -25,12 +25,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=psqlodbc -VERSION=${VERSION:-10.2.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-16.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCVERSION=10.02.0000 +SRCVERSION=16.00.0000 if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -40,9 +40,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 diff --git a/libraries/psqlodbc/psqlodbc.info b/libraries/psqlodbc/psqlodbc.info index 8c7a21a6f2..10be1cd862 100644 --- a/libraries/psqlodbc/psqlodbc.info +++ b/libraries/psqlodbc/psqlodbc.info @@ -1,8 +1,8 @@ PRGNAM="psqlodbc" -VERSION="10.2.0" +VERSION="16.0" HOMEPAGE="https://odbc.postgresql.org/" -DOWNLOAD="https://ftp.postgresql.org/pub/odbc/versions/src/psqlodbc-10.02.0000.tar.gz" -MD5SUM="e4e738a82afcc4dc86ba25896532dd3a" +DOWNLOAD="https://ftp.postgresql.org/pub/odbc/versions.old/src/psqlodbc-16.00.0000.tar.gz" +MD5SUM="ac3dc5f1aad47ad7d7cb53dc3c1fb457" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="postgresql" diff --git a/libraries/pylast/pylast.SlackBuild b/libraries/pylast/pylast.SlackBuild index 3f3f1c001e..535442af16 100644 --- a/libraries/pylast/pylast.SlackBuild +++ b/libraries/pylast/pylast.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pylast -# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2014-2021 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pylast -VERSION=${VERSION:-5.2.0} +VERSION=${VERSION:-5.3.0} 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 @@ -82,6 +65,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 {} \+ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/libraries/pylast/pylast.info b/libraries/pylast/pylast.info index 2b7e6e8abb..9b7ce3f86e 100644 --- a/libraries/pylast/pylast.info +++ b/libraries/pylast/pylast.info @@ -1,8 +1,8 @@ PRGNAM="pylast" -VERSION="5.2.0" +VERSION="5.3.0" HOMEPAGE="https://github.com/pylast/pylast" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pylast/pylast-5.2.0.tar.gz" -MD5SUM="3c4675ffe7beef16269ac808e022ace1" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pylast/pylast-5.3.0.tar.gz" +MD5SUM="798b697505e056c733f06b9fb9feb20b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-httpx python3-hatch_vcs" 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/python2-matplotlib/python2-matplotlib.info b/libraries/python2-matplotlib/python2-matplotlib.info index c7893768f3..a1722c866f 100644 --- a/libraries/python2-matplotlib/python2-matplotlib.info +++ b/libraries/python2-matplotlib/python2-matplotlib.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/10/5f/10c310c943f29e67976dcc26 MD5SUM="422fc58e7323b7ba3f19382424f9ab7b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python2-numpy python2-dateutil pytz python2-cycler functools-lru-cache subprocess32 python2-kiwisolver tornado" +REQUIRES="python2-numpy python2-dateutil python2-pytz python2-cycler functools-lru-cache subprocess32 python2-kiwisolver tornado" MAINTAINER="Serban Udrea" EMAIL="S.Udrea@gsi.de" diff --git a/libraries/python3-contourpy/README b/libraries/python3-contourpy/README new file mode 100644 index 0000000000..e62d1b3c29 --- /dev/null +++ b/libraries/python3-contourpy/README @@ -0,0 +1,12 @@ +ContourPy is a Python library for calculating contours of 2D +quadrilateral grids. It is written in C++11 and wrapped using pybind11. + +It contains the 2005 and 2014 algorithms used in Matplotlib as well as +a newer algorithm that includes more features and is available in both +serial and multithreaded versions. + +NOTE: This is intended to be installed mainly as a dependency for newer + matplotlib versions. Thus, presently just the core functionality + is provided, since additional features, i.e. the bokeh renderer, + need optional dependencies, which are not yet available through + SlackBuilds.org. This might change in the future. diff --git a/libraries/python3-contourpy/python3-contourpy.SlackBuild b/libraries/python3-contourpy/python3-contourpy.SlackBuild new file mode 100644 index 0000000000..eaf4988660 --- /dev/null +++ b/libraries/python3-contourpy/python3-contourpy.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/bash + +# Slackware build script for contourpy + +# Copyright 2024 Serban Udrea <s.udrea@gsi.de> +# 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=python3-contourpy +SRCNAM=contourpy +VERSION=${VERSION:-1.0.7} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# There where issues with the stock version of setuptools, although +# it should be in principle OK. Using the newer version provided by +# the python3-setuptools-opt SlackBuild solved the problems. To make +# use of the newer version one needs the following two lines of code. +# +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +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 LICENSE PKG-INFO 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/python3-contourpy/python3-contourpy.info b/libraries/python3-contourpy/python3-contourpy.info new file mode 100644 index 0000000000..7c1161c137 --- /dev/null +++ b/libraries/python3-contourpy/python3-contourpy.info @@ -0,0 +1,10 @@ +PRGNAM="python3-contourpy" +VERSION="1.0.7" +HOMEPAGE="https://github.com/contourpy/contourpy" +DOWNLOAD="https://files.pythonhosted.org/packages/b4/9b/6edb9d3e334a70a212f66a844188fcb57ddbd528cbc3b1fe7abfc317ddd7/contourpy-1.0.7.tar.gz" +MD5SUM="e0d60b16c86e66637ba5ab42245fd422" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="pybind11 python3-numpy python3-setuptools-opt" +MAINTAINER="Serban Udrea" +EMAIL="S.Udrea@gsi.de" diff --git a/libraries/python3-contourpy/slack-desc b/libraries/python3-contourpy/slack-desc new file mode 100644 index 0000000000..932b2204cc --- /dev/null +++ b/libraries/python3-contourpy/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------------------------------------------------------| +python3-contourpy: python3-contourpy (calculate contours of 2D quadrilateral grids) +python3-contourpy: +python3-contourpy: ContourPy is a Python library for calculating contours of 2D +python3-contourpy: quadrilateral grids. It is written in C++11 and wrapped using +python3-contourpy: pybind11. +python3-contourpy: +python3-contourpy: It contains the 2005 and 2014 algorithms used in Matplotlib as well as +python3-contourpy: a newer algorithm that includes more features and is available in both +python3-contourpy: serial and multithreaded versions. +python3-contourpy: +python3-contourpy: Homepage: https://github.com/contourpy/contourpy diff --git a/libraries/python3-plumbum/python3-plumbum.SlackBuild b/libraries/python3-plumbum/python3-plumbum.SlackBuild index e2e122d53b..cab20fcc1a 100644 --- a/libraries/python3-plumbum/python3-plumbum.SlackBuild +++ b/libraries/python3-plumbum/python3-plumbum.SlackBuild @@ -65,6 +65,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 {} \+ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/libraries/python3-rpyc/python3-rpyc.SlackBuild b/libraries/python3-rpyc/python3-rpyc.SlackBuild index b10b856c57..d79c0e669f 100644 --- a/libraries/python3-rpyc/python3-rpyc.SlackBuild +++ b/libraries/python3-rpyc/python3-rpyc.SlackBuild @@ -67,6 +67,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 {} \+ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/libraries/pytorch/README b/libraries/pytorch/README index a27962167a..34bcd6aac5 100644 --- a/libraries/pytorch/README +++ b/libraries/pytorch/README @@ -1,3 +1,7 @@ Deep neural networks built on a tape-based autograd system. -This package is a library build, supporting CPU(not GPU). +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 index 76967ea5c5..78f4a0a68f 100644 --- a/libraries/pytorch/pytorch.SlackBuild +++ b/libraries/pytorch/pytorch.SlackBuild @@ -25,7 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pytorch -VERSION=${VERSION:-2.3.0} +VERSION=${VERSION:-2.4.0} +COMMIT_QNNPACK=7d2a4e9931a82adc3814275b6219a03e24e36b4c BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -68,60 +69,60 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf v$PRGNAM-$VERSION +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 +# QNNPACK not present in tar ball since version 2.4.0 +( +cd third_party +tar vxf $CWD/QNNPACK-$COMMIT_QNNPACK.tar.gz +ln -s QNNPACK-$COMMIT_QNNPACK QNNPACK +) + # Fix cmake libdir location sed -i c10/CMakeLists.txt \ -e "s;DESTINATION lib;DESTINATION lib$LIBDIRSUFFIX;g" -mkdir -p build +TMP_DIR=tmpxxx +mkdir build 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_TEST=OFF \ - -DBUILD_CAFFE2=OFF \ - -DBUILD_CAFFE2_OPS=OFF \ - -DBUILD_PYTHON=OFF \ -DBUILD_CUSTOM_PROTOBUF=OFF \ - -DUSE_CUDA=OFF \ - -DUSE_CUDNN=OFF \ - -DUSE_FBGEMM=OFF \ - -DUSE_FFMPEG=ON \ - -DUSE_KINETO=OFF \ - -DUSE_MKLDNN=OFF \ - -DUSE_MPI=OFF \ - -DUSE_NCCL=OFF \ - -DUSE_NNPACK=OFF \ - -DUSE_OPENMP=OFF \ + -DBUILD_TEST=OFF \ + -DUSE_GOLD_LINKER=ON \ -DUSE_OPENCL=ON \ - -DUSE_OPENCV=ON \ - -DUSE_PTHREADPOOL=OFF \ - -DUSE_PYTORCH_QNNPACK=OFF \ - -DUSE_QNNPACK=OFF \ - -DUSE_SYSTEM_TBB=ON \ - -DUSE_XNNPACK=OFF \ - -Wno-dev \ - -DUSE_DISTRIBUTED=OFF \ + -DUSE_VULKAN=ON \ -DCMAKE_BUILD_TYPE=Release .. - make - make install/strip DESTDIR=tmpxxx - - mkdir -p $PKG/usr - mv tmpxxx/usr/include $PKG/usr - mkdir -p $PKG/usr/share - mv tmpxxx/usr/share/cmake $PKG/usr/share - mkdir -p $PKG/usr/lib$LIBDIRSUFFIX - mv tmpxxx/usr/lib$LIBDIRSUFFIX/*.so $PKG/usr/lib$LIBDIRSUFFIX + "${NINJA:=ninja}" + DESTDIR=$TMP_DIR $NINJA install/strip + + mkdir -p $PKG/usr/{share,lib$LIBDIRSUFFIX} + find $TMP_DIR -empty -type d -delete + mv $TMP_DIR/usr/bin $PKG/usr + mv $TMP_DIR/usr/include $PKG/usr + mv $TMP_DIR/usr/share/cmake $PKG/usr/share + mv $TMP_DIR/usr/lib$LIBDIRSUFFIX/*.so $PKG/usr/lib$LIBDIRSUFFIX cd .. +python3 setup.py install --root=$PKG + +SITE="$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')" +mkdir -p $PKG/$SITE/torch/{bin,lib} +BIN=torch_shm_manager; ln -s /usr/bin/$BIN $PKG/$SITE/torch/bin/$BIN +LIB=libtorch_global_deps.so; ln -s /usr/lib$LIBDIRSUFFIX/$LIB $PKG/$SITE/torch/lib/$LIB + +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 diff --git a/libraries/pytorch/pytorch.info b/libraries/pytorch/pytorch.info index f8cd244420..f7423c86fa 100644 --- a/libraries/pytorch/pytorch.info +++ b/libraries/pytorch/pytorch.info @@ -1,10 +1,12 @@ PRGNAM="pytorch" -VERSION="2.3.0" +VERSION="2.4.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="oneTBB protobuf3 OpenBLAS typing-extensions" +DOWNLOAD_x86_64="https://github.com/pytorch/pytorch/releases/download/v2.4.0/pytorch-v2.4.0.tar.gz \ + https://github.com/pytorch/QNNPACK/archive/7d2a4e9/QNNPACK-7d2a4e9931a82adc3814275b6219a03e24e36b4c.tar.gz" +MD5SUM_x86_64="8604669939cd671b648f2280139dc242 \ + fd513287f0b623e58860306c029022b2" +REQUIRES="protobuf3 python3-typing-extensions" MAINTAINER="Johannes Schoepfer" EMAIL="slackbuilds@schoepfer.info" diff --git a/libraries/qt-avif-image-plugin/qt-avif-image-plugin.SlackBuild b/libraries/qt-avif-image-plugin/qt-avif-image-plugin.SlackBuild index cc3bc23655..8477f9de91 100644 --- a/libraries/qt-avif-image-plugin/qt-avif-image-plugin.SlackBuild +++ b/libraries/qt-avif-image-plugin/qt-avif-image-plugin.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=qt-avif-image-plugin -VERSION=${VERSION:-0.8.0} +VERSION=${VERSION:-0.8.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/qt-avif-image-plugin/qt-avif-image-plugin.info b/libraries/qt-avif-image-plugin/qt-avif-image-plugin.info index 2726d4ff89..912c28750c 100644 --- a/libraries/qt-avif-image-plugin/qt-avif-image-plugin.info +++ b/libraries/qt-avif-image-plugin/qt-avif-image-plugin.info @@ -1,8 +1,8 @@ PRGNAM="qt-avif-image-plugin" -VERSION="0.8.0" +VERSION="0.8.5" HOMEPAGE="https://github.com/novomesk/qt-avif-image-plugin" -DOWNLOAD="https://github.com/novomesk/qt-avif-image-plugin/archive/refs/tags/v0.8.0/qt-avif-image-plugin-0.8.0.tar.gz" -MD5SUM="66c59fff3575362d088eb1520f1f9f80" +DOWNLOAD="https://github.com/novomesk/qt-avif-image-plugin/archive/refs/tags/v0.8.5/qt-avif-image-plugin-0.8.5.tar.gz" +MD5SUM="0e5804f9cbb7fa0067aba166d7d2ba42" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libavif" diff --git a/libraries/qt-installer-script/README b/libraries/qt-installer-script/README new file mode 100644 index 0000000000..d3b5c755f5 --- /dev/null +++ b/libraries/qt-installer-script/README @@ -0,0 +1,25 @@ +qt-installer-script (Deploy Qt Libraries in Slackware) + +qt-installer-script is an umbrella script to the standard Qt +installer to simplify the installation of Qt Libraries in your +Slackware system. + +It is provided to perform and unattended install, define a +location (/opt/Qt) and setup a basic skeleton so you can add +several Qt library versions in parallel. + +The script will download from Qt the online installer 4.8.0 +labelled "qt-online-installer-linux-x64-4.8.0.run" + +To install specific Qt libraries you can either: +1) Run the Qt MainenanceTool from the desktop menu icon + or, +2) Run a bash script that will add a set of Qt Libraries specific + for you application. + +An install script example "qt-6.2.4-libraries-for-musescore.sh" +is included. + +You will still need a Qt account in order to use this script. + +Start by running "qt-installer-script" at the command prompt. diff --git a/libraries/qt-installer-script/doinst.sh b/libraries/qt-installer-script/doinst.sh new file mode 100644 index 0000000000..4e8ba7071d --- /dev/null +++ b/libraries/qt-installer-script/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + diff --git a/libraries/qt-installer-script/qt-installer-script.SlackBuild b/libraries/qt-installer-script/qt-installer-script.SlackBuild new file mode 100644 index 0000000000..a4e9a1274f --- /dev/null +++ b/libraries/qt-installer-script/qt-installer-script.SlackBuild @@ -0,0 +1,96 @@ +#!/bin/bash + +# Slackware script for installing Qt libraries + +# Copyright 2024 Antonio Leal, Porto Salvo, Oeiras, Portugal +# 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=qt-installer-script +VERSION=${VERSION:-1.0.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" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" +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 $PKG/opt/$PRGNAM +install -D -m0755 $PRGNAM.sh $PKG/opt/$PRGNAM/$PRGNAM.sh +install -D -m0755 qt-clean-root-data.sh $PKG/opt/$PRGNAM/qt-clean-root-data.sh +install -D -m0755 qt-6.2.4-libraries-for-musescore.sh $PKG/opt/$PRGNAM/qt-6.2.4-libraries-for-musescore.sh + +mkdir -p $PKG/usr/bin +(cd $PKG/usr/bin; rm -rf $PRGNAM) +(cd $PKG/usr/bin; ln -s ../../opt/$PRGNAM/$PRGNAM.sh $PRGNAM) + +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 +cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/libraries/qt-installer-script/qt-installer-script.info b/libraries/qt-installer-script/qt-installer-script.info new file mode 100644 index 0000000000..6a88d5b3ce --- /dev/null +++ b/libraries/qt-installer-script/qt-installer-script.info @@ -0,0 +1,10 @@ +PRGNAM="qt-installer-script" +VERSION="1.0.0" +HOMEPAGE="https://github.com/antonioleal/qt-installer-script" +DOWNLOAD="https://github.com/antonioleal/qt-installer-script/archive/v1.0.0/qt-installer-script-1.0.0.tar.gz" +MD5SUM="6d8ee5b24e70a01d2109eb77067f74e4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/libraries/qt-installer-script/slack-desc b/libraries/qt-installer-script/slack-desc new file mode 100644 index 0000000000..0c418e13e6 --- /dev/null +++ b/libraries/qt-installer-script/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------------------------------------------------------| +qt-installer-script: qt-installer-script (Deploy Qt Libraries in Slackware) +qt-installer-script: +qt-installer-script: qt-installer-script is an umbrella script to the standard Qt +qt-installer-script: installer to simplify the installation of Qt Libraries in your +qt-installer-script: Slackware system. +qt-installer-script: +qt-installer-script: It is provided to perform and unattended install, define a +qt-installer-script: location (/opt/Qt) and setup a basic skeleton so you can add +qt-installer-script: several Qt library versions in parallel. +qt-installer-script: +qt-installer-script: Homepage at https://github.com/antonioleal/qt-installer-script 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/rabbitmq-c/rabbitmq-c.SlackBuild b/libraries/rabbitmq-c/rabbitmq-c.SlackBuild index 42d97c224e..275987a62b 100644 --- a/libraries/rabbitmq-c/rabbitmq-c.SlackBuild +++ b/libraries/rabbitmq-c/rabbitmq-c.SlackBuild @@ -132,7 +132,7 @@ if [ "$BUILD_TESTS" = "ON" ] ; then fi # maybe make man entries in /usr/man/man1 and /usr/man/man7 -if [ -x `which xmlto` ] ; then +if [ -x /usr/bin/xmlto ] ; then if [ "$BUILD_TOOLS" != "OFF" -a "$BUILD_TOOLS_DOCS" != "OFF" ] ; then mkdir -p $PKG/usr/man || true diff --git a/libraries/rapidjson/3b2441b8.patch b/libraries/rapidjson/3b2441b8.patch new file mode 100644 index 0000000000..0799d22aa0 --- /dev/null +++ b/libraries/rapidjson/3b2441b8.patch @@ -0,0 +1,22 @@ +From 3b2441b87f99ab65f37b141a7b548ebadb607b96 Mon Sep 17 00:00:00 2001 +From: Janusz Chorko <janusz.chorko@apdu.pl> +Date: Fri, 26 Aug 2016 21:17:38 +0200 +Subject: [PATCH] Removed non-compiling assignment operator. Fixed #718 + +--- + include/rapidjson/document.h | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h +index e3e20dfbd..b0f1f70be 100644 +--- a/include/rapidjson/document.h ++++ b/include/rapidjson/document.h +@@ -316,8 +316,6 @@ struct GenericStringRef { + + GenericStringRef(const GenericStringRef& rhs) : s(rhs.s), length(rhs.length) {} + +- GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; } +- + //! implicit conversion to plain CharType pointer + operator const Ch *() const { return s; } + diff --git a/libraries/rapidjson/rapidjson.SlackBuild b/libraries/rapidjson/rapidjson.SlackBuild index 029cf9421d..5f6f1c6aab 100644 --- a/libraries/rapidjson/rapidjson.SlackBuild +++ b/libraries/rapidjson/rapidjson.SlackBuild @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rapidjson VERSION=${VERSION:-1.1.0} GTESTVER=${GTESTVER:-ba96d0b1161f540656efdaed035b3c062b60e006} -BUILD=${BUILD:-4} +BUILD=${BUILD:-5} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -87,6 +87,9 @@ find -L . \ # Fix for gcc7+ find -name CMakeLists.txt -exec sed -i 's/ -Werror//g' {} + +# Fix for current +patch -p1 < $CWD/3b2441b8.patch + mkdir -p build cd build cmake \ diff --git a/libraries/raylib/raylib.SlackBuild b/libraries/raylib/raylib.SlackBuild index 73efeb0417..8a6f6dc337 100644 --- a/libraries/raylib/raylib.SlackBuild +++ b/libraries/raylib/raylib.SlackBuild @@ -91,7 +91,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS=ON \ - -DUSE_WAYLAND=`[[ $WAYLAND -eq 1 ]] && echo "ON" || echo "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/re2/do-not-find-googletest-and-benchmark.patch b/libraries/re2/do-not-find-googletest-and-benchmark.patch new file mode 100644 index 0000000000..4f7eecbfcd --- /dev/null +++ b/libraries/re2/do-not-find-googletest-and-benchmark.patch @@ -0,0 +1,54 @@ +--- a/Makefile ++++ b/Makefile +@@ -32,13 +32,6 @@ + # CCICU=$(shell $(PKG_CONFIG) icu-uc --cflags) -DRE2_USE_ICU + # LDICU=$(shell $(PKG_CONFIG) icu-uc --libs) + +-# Build against GoogleTest and Benchmark for... testing and benchmarking. +-# Capture only the `-L` flags for now; we will pass the `-l` flags later. +-CCGTEST=$(shell $(PKG_CONFIG) gtest gtest_main --cflags) +-LDGTEST=$(shell $(PKG_CONFIG) gtest gtest_main --libs-only-L) +-CCBENCHMARK=$(shell $(PKG_CONFIG) benchmark --cflags) +-LDBENCHMARK=$(shell $(PKG_CONFIG) benchmark --libs-only-L) +- + # To build against PCRE for testing and benchmarking, + # uncomment the next two lines: + # CCPCRE=-I/usr/local/include -DUSEPCRE +@@ -49,8 +42,8 @@ + CXXFLAGS?=-O3 -g + LDFLAGS?= + # required +-RE2_CXXFLAGS?=-pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. $(CCABSL) $(CCICU) $(CCGTEST) $(CCBENCHMARK) $(CCPCRE) +-RE2_LDFLAGS?=-pthread $(LDABSL) $(LDICU) $(LDGTEST) $(LDBENCHMARK) $(LDPCRE) ++RE2_CXXFLAGS?=-pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. $(CCABSL) $(CCICU) $(CCPCRE) ++RE2_LDFLAGS?=-pthread $(LDABSL) $(LDICU) $(LDPCRE) + AR?=ar + ARFLAGS?=rsc + NM?=nm +@@ -242,22 +235,22 @@ + .PRECIOUS: obj/dbg/test/% + obj/dbg/test/%: obj/dbg/libre2.a obj/dbg/re2/testing/%.o $(DTESTOFILES) + @mkdir -p obj/dbg/test +- $(CXX) -o $@ obj/dbg/re2/testing/$*.o $(DTESTOFILES) obj/dbg/libre2.a $(RE2_LDFLAGS) $(LDFLAGS) -lgtest -lgtest_main ++ $(CXX) -o $@ obj/dbg/re2/testing/$*.o $(DTESTOFILES) obj/dbg/libre2.a $(RE2_LDFLAGS) $(LDFLAGS) + + .PRECIOUS: obj/test/% + obj/test/%: obj/libre2.a obj/re2/testing/%.o $(TESTOFILES) + @mkdir -p obj/test +- $(CXX) -o $@ obj/re2/testing/$*.o $(TESTOFILES) obj/libre2.a $(RE2_LDFLAGS) $(LDFLAGS) -lgtest -lgtest_main ++ $(CXX) -o $@ obj/re2/testing/$*.o $(TESTOFILES) obj/libre2.a $(RE2_LDFLAGS) $(LDFLAGS) + + # Test the shared lib, falling back to the static lib for private symbols + .PRECIOUS: obj/so/test/% + obj/so/test/%: obj/so/libre2.$(SOEXT) obj/libre2.a obj/re2/testing/%.o $(TESTOFILES) + @mkdir -p obj/so/test +- $(CXX) -o $@ obj/re2/testing/$*.o $(TESTOFILES) -Lobj/so -lre2 obj/libre2.a $(RE2_LDFLAGS) $(LDFLAGS) -lgtest -lgtest_main ++ $(CXX) -o $@ obj/re2/testing/$*.o $(TESTOFILES) -Lobj/so -lre2 obj/libre2.a $(RE2_LDFLAGS) $(LDFLAGS) + + obj/test/regexp_benchmark: obj/libre2.a obj/re2/testing/regexp_benchmark.o $(TESTOFILES) + @mkdir -p obj/test +- $(CXX) -o $@ obj/re2/testing/regexp_benchmark.o $(TESTOFILES) obj/libre2.a $(RE2_LDFLAGS) $(LDFLAGS) -lgtest -lbenchmark -lbenchmark_main ++ $(CXX) -o $@ obj/re2/testing/regexp_benchmark.o $(TESTOFILES) obj/libre2.a $(RE2_LDFLAGS) $(LDFLAGS) + + obj/test/re2_fuzzer: obj/libre2.a obj/re2/fuzzing/re2_fuzzer.o + @mkdir -p obj/test diff --git a/libraries/re2/re2.SlackBuild b/libraries/re2/re2.SlackBuild index e9c6ae87c8..1b17c9c8d8 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_04_01} +VERSION=${VERSION:-2024_07_02} PKGVER=$(echo $VERSION | tr _ -) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -78,6 +78,11 @@ 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 {} \; +# Do not find Googletest and Benchmark. This SlackBuild is not making tests. +# That is, reverse the following commit: +# https://github.com/google/re2/commit/2b354c6ad0d0479dcff68dab23fb0d1143a482c2 +patch -p1 < $CWD/do-not-find-googletest-and-benchmark.patch + CCICU="$(pkg-config icu-uc --cflags) -DRE2_USE_ICU" \ LDICU=$(pkg-config icu-uc --libs) \ CCPCRE="$(pkg-config libpcre --cflags) -DUSEPCRE" \ diff --git a/libraries/re2/re2.info b/libraries/re2/re2.info index b51d94de16..db34f91586 100644 --- a/libraries/re2/re2.info +++ b/libraries/re2/re2.info @@ -1,8 +1,8 @@ PRGNAM="re2" -VERSION="2024_04_01" +VERSION="2024_07_02" HOMEPAGE="https://github.com/google/re2" -DOWNLOAD="https://github.com/google/re2/archive/2024-04-01/re2-2024-04-01.tar.gz" -MD5SUM="05e993e11aa173b63552fb4d88e6524c" +DOWNLOAD="https://github.com/google/re2/archive/2024-07-02/re2-2024-07-02.tar.gz" +MD5SUM="73c94c78678bd2d641beaf8d5a3fd352" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="abseil-cpp" diff --git a/libraries/rest/rest.SlackBuild b/libraries/rest/rest.SlackBuild index a141140cc1..4e528e8b24 100644 --- a/libraries/rest/rest.SlackBuild +++ b/libraries/rest/rest.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for rest -# Copyright 2013-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2013-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/libraries/rest/rest.info b/libraries/rest/rest.info index 663a3bcc5d..0b2dfa389d 100644 --- a/libraries/rest/rest.info +++ b/libraries/rest/rest.info @@ -5,6 +5,6 @@ DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/rest/0.9/rest-0.9.1.tar.xz" MD5SUM="b997b83232be3814a1b78530c5700df9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-typogrify gtksourceview5 libadwaita libsoup3" +REQUIRES="libsoup3" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" diff --git a/libraries/rxtx/rxtx.info b/libraries/rxtx/rxtx.info index c172dbaa19..c2f88eacf0 100644 --- a/libraries/rxtx/rxtx.info +++ b/libraries/rxtx/rxtx.info @@ -1,7 +1,7 @@ PRGNAM="rxtx" VERSION="2.2pre2" HOMEPAGE="https://github.com/rxtx/rxtx" -DOWNLOAD="http://gentoo.osuosl.org/distfiles/rxtx-2.2pre2.zip" +DOWNLOAD="http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2.zip" MD5SUM="7eedb18e3f33a427e2b0e9be8ce3f94c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/skalibs/README b/libraries/skalibs/README index 909a34f220..adf323952a 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 most system-installed binaries on Slackware reside. 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..2cd1e6d00c 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.2.0} 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..c99c01ff24 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.2.0" 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.2.0.tar.gz" +MD5SUM="a46e9c4e86c19644f6a5ff1037c8da81" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/spglib/spglib.SlackBuild b/libraries/spglib/spglib.SlackBuild index c3714dc50d..c048ce716d 100644 --- a/libraries/spglib/spglib.SlackBuild +++ b/libraries/spglib/spglib.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=spglib -VERSION=${VERSION:-2.4.0} +VERSION=${VERSION:-2.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -56,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" diff --git a/libraries/spglib/spglib.info b/libraries/spglib/spglib.info index e2ef6a9fc3..461671661a 100644 --- a/libraries/spglib/spglib.info +++ b/libraries/spglib/spglib.info @@ -1,8 +1,8 @@ PRGNAM="spglib" -VERSION="2.4.0" +VERSION="2.5.0" HOMEPAGE="https://spglib.github.io/spglib/" -DOWNLOAD="https://github.com/spglib/spglib/archive/v2.4.0/spglib-2.4.0.tar.gz" -MD5SUM="1779172c4cc96d8ce1f5e19d050544e7" +DOWNLOAD="https://github.com/spglib/spglib/archive/v2.5.0/spglib-2.5.0.tar.gz" +MD5SUM="13cdcdac341e1cd059502758f2721e70" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-numpy" diff --git a/libraries/srt/srt.SlackBuild b/libraries/srt/srt.SlackBuild index 24a8553e5f..4be4eb6e3e 100644 --- a/libraries/srt/srt.SlackBuild +++ b/libraries/srt/srt.SlackBuild @@ -29,8 +29,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=srt -VERSION=${VERSION:-1.4.3} -BUILD=${BUILD:-3} +VERSION=${VERSION:-1.5.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/srt/srt.info b/libraries/srt/srt.info index febdd60740..a5a0a9e706 100644 --- a/libraries/srt/srt.info +++ b/libraries/srt/srt.info @@ -1,8 +1,8 @@ PRGNAM="srt" -VERSION="1.4.3" +VERSION="1.5.3" HOMEPAGE="https://github.com/Haivision/srt" -DOWNLOAD="https://github.com/Haivision/srt/archive/v1.4.3/srt-1.4.3.tar.gz" -MD5SUM="3ed903e5a32b9ee9ec011028fb34f331" +DOWNLOAD="https://github.com/Haivision/srt/archive/v1.5.3/srt-1.5.3.tar.gz" +MD5SUM="df8213a3669dd846ddaad0fa1e9f417b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/tcl-tls/tcl-tls.SlackBuild b/libraries/tcl-tls/tcl-tls.SlackBuild index 60527f8a57..7a9682af0e 100644 --- a/libraries/tcl-tls/tcl-tls.SlackBuild +++ b/libraries/tcl-tls/tcl-tls.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tcl-tls -VERSION=${VERSION:-1.7.20} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.7.22} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/tcl-tls/tcl-tls.info b/libraries/tcl-tls/tcl-tls.info index 4882df9db3..0958c90c70 100644 --- a/libraries/tcl-tls/tcl-tls.info +++ b/libraries/tcl-tls/tcl-tls.info @@ -1,8 +1,8 @@ PRGNAM="tcl-tls" -VERSION="1.7.20" +VERSION="1.7.22" HOMEPAGE="https://core.tcl-lang.org/tcltls/" -DOWNLOAD="https://core.tcl-lang.org/tcltls/uv/tcltls-1.7.20.tar.gz" -MD5SUM="735ce57df0dfae9c6a8fe992574525d5" +DOWNLOAD="https://core.tcl-lang.org/tcltls/uv/tcltls-1.7.22.tar.gz" +MD5SUM="11f3ab25ae0cbd6753c7c9cd88ae2082" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/tclxml/tclxml.SlackBuild b/libraries/tclxml/tclxml.SlackBuild index a75e29c4e2..1265de2ffa 100644 --- a/libraries/tclxml/tclxml.SlackBuild +++ b/libraries/tclxml/tclxml.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tclxml VERSION=${VERSION:-3.3.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} SRCNAM=TclXML @@ -105,6 +105,9 @@ chmod 0644 \ $PKG/usr/doc/$PRGNAM-$VERSION/doc/xsltsl/cmp.xsl \ $PKG/usr/doc/$PRGNAM-$VERSION/examples/tclxml/REC-xml-20001006.xml +# Correct xmldefs' version mismatch +sed -i 's/3\.3$/3\.3\.1/g' $PKG/usr/lib${LIBDIRSUFFIX}/Tclxml$VERSION/*.tcl; + cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/td_lib/td_lib.SlackBuild b/libraries/td_lib/td_lib.SlackBuild index 1f9fef6ff9..7290f94e4c 100644 --- a/libraries/td_lib/td_lib.SlackBuild +++ b/libraries/td_lib/td_lib.SlackBuild @@ -12,6 +12,8 @@ # path of least resistance is to break this library out into its own # build, even though nothing else besides ded uses it. +# 20240809 bkw: update for 20240421. I missed upstream's new release... + # 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 @@ -21,8 +23,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=td_lib -VERSION=${VERSION:-20230122} -BUILD=${BUILD:-2} +VERSION=${VERSION:-20240421} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/td_lib/td_lib.info b/libraries/td_lib/td_lib.info index 038ea2d55b..c6e0c1c40c 100644 --- a/libraries/td_lib/td_lib.info +++ b/libraries/td_lib/td_lib.info @@ -1,8 +1,8 @@ PRGNAM="td_lib" -VERSION="20230122" +VERSION="20240421" HOMEPAGE="http://invisible-island.net/ded/" -DOWNLOAD="https://invisible-mirror.net/archives/ded/td_lib-20230122.tgz" -MD5SUM="bb6d9f756b77e2c5eaa1260a3f98bd0b" +DOWNLOAD="https://invisible-mirror.net/archives/ded/td_lib-20240421.tgz" +MD5SUM="09da88c763c239aa6a254f8dc9f25d37" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/tinygltf/tinygltf.SlackBuild b/libraries/tinygltf/tinygltf.SlackBuild index f353097345..24222bb6b9 100644 --- a/libraries/tinygltf/tinygltf.SlackBuild +++ b/libraries/tinygltf/tinygltf.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tinygltf -VERSION=${VERSION:-2.8.21} +VERSION=${VERSION:-2.9.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -53,6 +53,8 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" else SLKCFLAGS="-O2" fi diff --git a/libraries/tinygltf/tinygltf.info b/libraries/tinygltf/tinygltf.info index a52f62e949..2395fc5ac6 100644 --- a/libraries/tinygltf/tinygltf.info +++ b/libraries/tinygltf/tinygltf.info @@ -1,8 +1,8 @@ PRGNAM="tinygltf" -VERSION="2.8.21" +VERSION="2.9.3" HOMEPAGE="https://github.com/syoyo/tinygltf" -DOWNLOAD="https://github.com/syoyo/tinygltf/archive/v2.8.21/tinygltf-2.8.21.tar.gz" -MD5SUM="268fa79521795f4e067e5df34d898533" +DOWNLOAD="https://github.com/syoyo/tinygltf/archive/v2.9.3/tinygltf-2.9.3.tar.gz" +MD5SUM="2b7b4881f97f5dc849cf938a38ec1ccc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/tinyxml/tinyxml.SlackBuild b/libraries/tinyxml/tinyxml.SlackBuild index c17fcfa0ac..5041a854ee 100644 --- a/libraries/tinyxml/tinyxml.SlackBuild +++ b/libraries/tinyxml/tinyxml.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for tinyxml # Copyright 2010-2013 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -38,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 @@ -100,11 +98,15 @@ ln -s lib${PRGNAM}.so.0.${VERSION} $PKG/usr/lib${LIBDIRSUFFIX}/lib${PRGNAM}.so.0 ln -s lib${PRGNAM}.so.0.${VERSION} $PKG/usr/lib${LIBDIRSUFFIX}/lib${PRGNAM}.so install -m 0644 $PRGNAM.h tinystr.h $PKG/usr/include +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + find $PKG | xargs 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 changes.txt readme.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + changes.txt readme.txt \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/tinyxml/tinyxml.info b/libraries/tinyxml/tinyxml.info index 3beb97a5a4..a4c6eb6ffc 100644 --- a/libraries/tinyxml/tinyxml.info +++ b/libraries/tinyxml/tinyxml.info @@ -6,5 +6,5 @@ MD5SUM="c1b864c96804a10526540c664ade67f0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/libraries/tinyxml2/tinyxml2.SlackBuild b/libraries/tinyxml2/tinyxml2.SlackBuild index 0a7b6cca8f..6c389c4dcb 100644 --- a/libraries/tinyxml2/tinyxml2.SlackBuild +++ b/libraries/tinyxml2/tinyxml2.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for tinyxml2 # Copyright 2014-2020 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,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 +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 @@ -86,24 +84,28 @@ for i in *.cpp *.h; do mv ${i}.new $i done -mkdir build +mkdir -p build cd build - cmake -G "Unix Makefiles" \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DCMAKE_INSTALL_LIBDIR:PATH="lib$LIBDIRSUFFIX" \ + cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \ + -DBUILD_SHARED_LIBS=ON \ -DCMAKE_BUILD_TYPE=Release .. + make + make install/strip DESTDIR=$PKG +cd .. - make VERBOSE=1 - make install 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 readme.md LICENSE.txt TinyXML2_small.png $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + readme.md LICENSE.txt TinyXML2_small.png \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/tinyxml2/tinyxml2.info b/libraries/tinyxml2/tinyxml2.info index 529d10048b..fb149ee173 100644 --- a/libraries/tinyxml2/tinyxml2.info +++ b/libraries/tinyxml2/tinyxml2.info @@ -1,10 +1,10 @@ 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="" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/libraries/tkimg/tkimg.SlackBuild b/libraries/tkimg/tkimg.SlackBuild index aa9a1318c5..0e55fd2a13 100644 --- a/libraries/tkimg/tkimg.SlackBuild +++ b/libraries/tkimg/tkimg.SlackBuild @@ -81,6 +81,12 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; make distclean +# Disable JBIG support (if left enabled then the build will fail with a +# link error for JBIG iff the Slackbuilds jbigkit is already installed +# before building tkimg). Note that the result is no JBIG support, but +# there is no JBIG support from a normal build of tkimg if jbigkit is +# not preinstalled. sed command courtesy of B. Watson <urchlay@slackware.uk> +sed -i 's,--disable-pixarlog,& --disable-jbig,' libtiff/configure CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/libraries/vst3sdk/vst3sdk.info b/libraries/vst3sdk/vst3sdk.info index 63cfe6bb0c..4d6615ac7e 100644 --- a/libraries/vst3sdk/vst3sdk.info +++ b/libraries/vst3sdk/vst3sdk.info @@ -9,13 +9,13 @@ DOWNLOAD="https://github.com/steinbergmedia/vst3sdk/archive/v3.7.9_build_61/vst3 https://github.com/steinbergmedia/vst3_public_sdk/archive/e61ee76/vst3_public_sdk-e61ee76eb0f8771a05e99018bc4705ac1b603e48.tar.gz \ https://github.com/steinbergmedia/vst3_tutorials/archive/dc425c8/vst3_tutorials-dc425c8e588a78147bc4c3616857b8918b809dcd.tar.gz \ https://github.com/steinbergmedia/vstgui/archive/65c353f/vstgui-65c353fcad783dd6baa34a2b9dbe23bb9f88d035.tar.gz" -MD5SUM="463991d7841d15c719a7e06f052b70af\ - 42f09893f870635fea4f689aa6b9de98\ - 9017e25a9ccb87d2de14a7936a37e581\ - 53f1eece19363900ccb9f49261e97ffd\ - 739bd26a2c2e786d9338e13042e20ee6\ - cdc51a80c28577308b037caeeb274dd2\ - f040faf28ba22514fcbe13667c1435ff\ +MD5SUM="463991d7841d15c719a7e06f052b70af \ + 42f09893f870635fea4f689aa6b9de98 \ + 9017e25a9ccb87d2de14a7936a37e581 \ + 53f1eece19363900ccb9f49261e97ffd \ + 739bd26a2c2e786d9338e13042e20ee6 \ + cdc51a80c28577308b037caeeb274dd2 \ + f040faf28ba22514fcbe13667c1435ff \ b332b0cce26311a2a419b162be53ea54" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/libraries/webkit2gtk/webkit2gtk.SlackBuild b/libraries/webkit2gtk/webkit2gtk.SlackBuild index fe4f736d00..a91113c4d1 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.1} +VERSION=${VERSION:-2.46.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -102,6 +102,7 @@ cd build -DUSE_GTK4=OFF \ -DUSE_LIBBACKTRACE=OFF \ -DUSE_JPEGXL=OFF \ + -DUSE_SYSTEM_SYSPROF_CAPTURE=NO \ -Wno-dev \ -G Ninja \ .. diff --git a/libraries/webkit2gtk/webkit2gtk.info b/libraries/webkit2gtk/webkit2gtk.info index 3cf7294c8a..a91bac6da0 100644 --- a/libraries/webkit2gtk/webkit2gtk.info +++ b/libraries/webkit2gtk/webkit2gtk.info @@ -1,8 +1,8 @@ PRGNAM="webkit2gtk" -VERSION="2.44.1" +VERSION="2.46.0" HOMEPAGE="https://www.webkitgtk.org/" -DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.44.1.tar.xz" -MD5SUM="b3a4504892162b30a774d3afde4707f7" +DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.46.0.tar.xz" +MD5SUM="866d458444c2e8bed6cbfdd61f0d07a9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="bubblewrap geoclue2 wpebackend-fdo xdg-dbus-proxy unifdef" diff --git a/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild b/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild index 59f324de96..1a25b411ff 100644 --- a/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild +++ b/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild @@ -26,10 +26,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=webkit2gtk4.1 SRCNAM=webkitgtk -VERSION=${VERSION:-2.44.1} +VERSION=${VERSION:-2.46.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +VALADIR="usr/share/"$( ls /usr/share/|grep "vala-"|awk -F"/" '{print $1}' )"/vapi" TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -101,6 +102,7 @@ cd build -DUSE_LIBBACKTRACE=OFF \ -DUSE_JPEGXL=OFF \ -DUSE_GSTREAMER_TRANSCODER=OFF \ + -DUSE_SYSTEM_SYSPROF_CAPTURE=NO \ -Wno-dev \ -G Ninja \ .. @@ -114,6 +116,16 @@ mkdir -p $PKG/usr/share/gtk-doc/html/webkit{2,dom}gtk-4.1 cp -rf ../Documentation/* \ $PKG/usr/share/gtk-doc/html/webkit2gtk-4.1/ +#add vala bindings +mkdir -p $PKG/$VALADIR +echo -e "gtk+-3.0\njavascriptcoregtk-4.1\nlibsoup-3.0\n">$PKG/$VALADIR/webkit2gtk-4.1.deps +chmod 644 $PKG/$VALADIR/webkit2gtk-4.1.deps +cp -a $PKG/$VALADIR/webkit2gtk-4.1.deps $PKG/$VALADIR/webkit2gtk-web-extension-4.1.deps +cp -a $CWD/webkit2gtk-4.1.vapi $PKG/$VALADIR/webkit2gtk-4.1.vapi +cp -a $CWD/webkit2gtk-web-extension-4.1.vapi $PKG/$VALADIR/webkit2gtk-web-extension-4.1.vapi +cp -a $CWD/javascriptcoregtk-4.1.vapi $PKG/$VALADIR/javascriptcoregtk-4.1.vapi +chmod 644 $PKG/$VALADIR/webkit2gtk-4.1.vapi $PKG/$VALADIR/webkit2gtk-web-extension-4.1.vapi $PKG/$VALADIR/javascriptcoregtk-4.1.vapi + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ../NEWS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/webkit2gtk4.1/webkit2gtk4.1.info b/libraries/webkit2gtk4.1/webkit2gtk4.1.info index 53e02a7130..606610e12b 100644 --- a/libraries/webkit2gtk4.1/webkit2gtk4.1.info +++ b/libraries/webkit2gtk4.1/webkit2gtk4.1.info @@ -1,8 +1,14 @@ PRGNAM="webkit2gtk4.1" -VERSION="2.44.1" +VERSION="2.46.0" HOMEPAGE="https://www.webkitgtk.org/" -DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.44.1.tar.xz" -MD5SUM="b3a4504892162b30a774d3afde4707f7" +DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.46.0.tar.xz \ + https://gitlab.gnome.org/GNOME/vala/-/raw/0.56.17/vapi/webkit2gtk-4.1.vapi \ + https://gitlab.gnome.org/GNOME/vala/-/raw/0.56.17/vapi/webkit2gtk-web-extension-4.1.vapi \ + https://gitlab.gnome.org/GNOME/vala/-/raw/0.56.17/vapi/javascriptcoregtk-4.1.vapi" +MD5SUM="866d458444c2e8bed6cbfdd61f0d07a9 \ + fc1c89b53f6dcca9c68e001743f78950 \ + 779ed44d239dba2df9a33e57c9c3ee73 \ + 66986fdc8962d0d6118839fdc614fc13" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="bubblewrap geoclue2 wpebackend-fdo xdg-dbus-proxy libsoup3 unifdef" 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/wxGTK3/wxGTK3.SlackBuild b/libraries/wxGTK3/wxGTK3.SlackBuild index 04ec33a820..c050bb19fa 100644 --- a/libraries/wxGTK3/wxGTK3.SlackBuild +++ b/libraries/wxGTK3/wxGTK3.SlackBuild @@ -81,7 +81,7 @@ else fi # Check for WebKit -webkit=`pkg-config --exists webkit2gtk-4.0` +webkit="$( pkg-config --exists webkit2gtk-4.0 )" if [ "$?" -eq 0 ]; then wk="--enable-webkit" else 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/wxPython3/wxPython3.SlackBuild b/libraries/wxPython3/wxPython3.SlackBuild index b838d38693..08127b4294 100644 --- a/libraries/wxPython3/wxPython3.SlackBuild +++ b/libraries/wxPython3/wxPython3.SlackBuild @@ -71,7 +71,7 @@ else fi # check webkitgtk existence -webkit=`pkg-config --exists webkit2gtk-4.0` +webkit="$( pkg-config --exists webkit2gtk-4.0 )" if [ "$?" -eq 0 ]; then wx="--enable-webview" else diff --git a/libraries/wxPython4/cython.patch b/libraries/wxPython4/cython.patch deleted file mode 100644 index 3e1a2a0377..0000000000 --- a/libraries/wxPython4/cython.patch +++ /dev/null @@ -1,16 +0,0 @@ -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 ea7862534f..e4a30b6578 100644 --- a/libraries/wxPython4/wxPython4.SlackBuild +++ b/libraries/wxPython4/wxPython4.SlackBuild @@ -28,8 +28,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=wxPython4 SRCNAM=wxPython -VERSION=${VERSION:-4.2.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-4.2.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,8 +79,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ -patch -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/wxPython4/wxPython4.info b/libraries/wxPython4/wxPython4.info index 7784561d1f..0d7c33292b 100644 --- a/libraries/wxPython4/wxPython4.info +++ b/libraries/wxPython4/wxPython4.info @@ -1,10 +1,10 @@ PRGNAM="wxPython4" -VERSION="4.2.1" +VERSION="4.2.2" HOMEPAGE="https://wxPython.org/" -DOWNLOAD="https://files.pythonhosted.org/packages/aa/64/d749e767a8ce7bdc3d533334e03bb1106fc4e4803d16f931fada9007ee13/wxPython-4.2.1.tar.gz" -MD5SUM="e62c5bd836d2a9dcb6e955509715b157" +DOWNLOAD="https://files.pythonhosted.org/packages/a4/f5/8c272764770f47fd419cc2eff4c4fa1c0681c71bcc2f3158b3a83d1339ff/wxPython-4.2.2.tar.gz" +MD5SUM="962fdea7ec4f93b59d17783d03eecf3a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="webkit2gtk python3-pathlib2 python3-attrdict" +REQUIRES="webkit2gtk4.1 python3-pathlib2 python3-attrdict" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" diff --git a/libraries/wxWidgets/README b/libraries/wxWidgets/README index 441c51d749..71efc3494b 100644 --- a/libraries/wxWidgets/README +++ b/libraries/wxWidgets/README @@ -2,10 +2,7 @@ wxWidgets is a cross-platform API for writing GUI applications on multiple platforms that still utilize the native platform's controls and utilities. -webkit2gtk is an optional dependency of this package. This will -provide webview support. - -nanosvg is another optional dependency. By default, the +nanosvg is optional dependency. By default, the SlackBuild script checks for the nanosvg system headers and disables SVG support if they are not found; you can force different behavior (e.g. using wxWidgets' internal copy of diff --git a/libraries/wxWidgets/wxWidgets.SlackBuild b/libraries/wxWidgets/wxWidgets.SlackBuild index 10ce6f60bb..61a468f977 100644 --- a/libraries/wxWidgets/wxWidgets.SlackBuild +++ b/libraries/wxWidgets/wxWidgets.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for wxWidgets -# Copyright 2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2023-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=wxWidgets -VERSION=${VERSION:-3.2.4.1} +VERSION=${VERSION:-3.2.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -68,14 +68,6 @@ else stl="OFF" fi -# Check for WebKit -webkit=`pkg-config --exists webkit2gtk-4.0` -if [ "$?" -eq 0 ]; then - wk="ON" -else - wk="OFF" -fi - # BCS: check for NanoSVG test -f /usr/include/nanosvg/nanosvg.h case "${NANOSVG:-auto}" in @@ -119,7 +111,7 @@ cmake -B build-gtk3 \ -DwxUSE_LIBMSPACK=ON \ -DwxUSE_NANOSVG=$nanosvg \ -DwxUSE_STL=$stl \ - -DwxUSE_WEBVIEW_WEBKIT=$wk \ + -DwxUSE_WEBVIEW_WEBKIT=ON \ -DwxUSE_PRIVATE_FONTS=ON \ -DCMAKE_BUILD_TYPE=Release . cmake --build build-gtk3 @@ -142,7 +134,7 @@ cmake -B build-qt5 \ -DwxUSE_LIBMSPACK=ON \ -DwxUSE_NANOSVG=OFF \ -DwxUSE_STL=$stl \ - -DwxUSE_WEBVIEW_WEBKIT=$wk \ + -DwxUSE_WEBVIEW_WEBKIT=ON \ -DwxUSE_PRIVATE_FONTS=ON \ -DCMAKE_BUILD_TYPE=Release . cmake --build build-qt5 diff --git a/libraries/wxWidgets/wxWidgets.info b/libraries/wxWidgets/wxWidgets.info index e3cb00eed4..137720d253 100644 --- a/libraries/wxWidgets/wxWidgets.info +++ b/libraries/wxWidgets/wxWidgets.info @@ -1,10 +1,10 @@ PRGNAM="wxWidgets" -VERSION="3.2.4.1" +VERSION="3.2.6" HOMEPAGE="http://www.wxwidgets.org" -DOWNLOAD="https://github.com/wxWidgets/wxWidgets/archive/v3.2.4.1/wxWidgets-3.2.4.1.tar.gz" -MD5SUM="41db655cf3555bfe41908fec685c267f" +DOWNLOAD="https://github.com/wxWidgets/wxWidgets/archive/v3.2.6/wxWidgets-3.2.6.tar.gz" +MD5SUM="9ff454c6b6d7de28c4d3d71aecbe53d6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="webkit2gtk" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" diff --git a/libraries/xalan/README b/libraries/xalan/README deleted file mode 100644 index 10ec3a7e21..0000000000 --- a/libraries/xalan/README +++ /dev/null @@ -1,5 +0,0 @@ -xalan (apache-ant XML and XSLT libraries) - -Apache Xalan Project is a collaborative software development project -dedicated to providing robust, full-featured, commercial-quality, -and freely available XSLT support on a wide variety of platforms. diff --git a/libraries/xalan/slack-desc b/libraries/xalan/slack-desc deleted file mode 100644 index af61201d5e..0000000000 --- a/libraries/xalan/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------------------------------------------------------| -xalan: xalan (apache-ant XML and XSLT libraries) -xalan: -xalan: Apache Xalan Project is a collaborative software development project -xalan: dedicated to providing robust, full-featured, commercial-quality, -xalan: and freely available XSLT support on a wide variety of platforms. -xalan: -xalan: Homepage http://xalan.apache.org/ -xalan: -xalan: -xalan: -xalan: diff --git a/libraries/xalan/xalan.SlackBuild b/libraries/xalan/xalan.SlackBuild deleted file mode 100644 index 1a53e540fe..0000000000 --- a/libraries/xalan/xalan.SlackBuild +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/bash - -# Slackware build script for xalan -# Written by Vincent Batts, vbatts@hashbangbash.com - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=xalan -VERSION=${VERSION:-2.7.1} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -DVER=j_$(echo $VERSION | tr . _) -ANTHOME=/usr/share/ant - -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} - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf ${PRGNAM}-${DVER} -tar xvf $CWD/${PRGNAM}-${DVER}-bin-2jars.tar.gz -cd ${PRGNAM}-${DVER} -chown -R root:root . - -mkdir -p $PKG/$ANTHOME/lib/ $PKG/usr/share/java -cp $PRGNAM.jar serializer.jar xsltc.jar $PKG/$ANTHOME/lib/ -cd $PKG/usr/share/java - ln -s ../../../$ANTHOME/lib/$PRGNAM.jar - ln -s ../../../$ANTHOME/lib/serializer.jar - ln -s ../../../$ANTHOME/lib/xsltc.jar -cd - - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -zip -9 -r $PKG/usr/doc/$PRGNAM-$VERSION/docs.zip docs/ -cp -a samples/ readme.html LICENSE.txt NOTICE.txt $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/xalan/xalan.info b/libraries/xalan/xalan.info deleted file mode 100644 index 32084db412..0000000000 --- a/libraries/xalan/xalan.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="xalan" -VERSION="2.7.1" -HOMEPAGE="http://xalan.apache.org/" -DOWNLOAD="https://archive.apache.org/dist/xml/xalan-j/xalan-j_2_7_1-bin-2jars.tar.gz" -MD5SUM="3ccda39bcd08b780436dfd2f22fb23d5" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="apache-ant zulu-openjdk8" -MAINTAINER="Vincent Batts" -EMAIL="vbatts@hashbangbash.com" diff --git a/libraries/xmlsec/xmlsec.SlackBuild b/libraries/xmlsec/xmlsec.SlackBuild index 5e53788192..bba19d7484 100644 --- a/libraries/xmlsec/xmlsec.SlackBuild +++ b/libraries/xmlsec/xmlsec.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xmlsec SRCNAM=xmlsec1 -VERSION=${VERSION:-1.2.39} +VERSION=${VERSION:-1.2.41} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/xmlsec/xmlsec.info b/libraries/xmlsec/xmlsec.info index da777eecfa..ff238ae9df 100644 --- a/libraries/xmlsec/xmlsec.info +++ b/libraries/xmlsec/xmlsec.info @@ -1,8 +1,8 @@ PRGNAM="xmlsec" -VERSION="1.2.39" +VERSION="1.2.41" HOMEPAGE="https://www.aleksey.com/xmlsec/" -DOWNLOAD="https://www.aleksey.com/xmlsec/download/xmlsec1-1.2.39.tar.gz" -MD5SUM="1d268a53b930aff8d4c352a29399fda1" +DOWNLOAD="https://www.aleksey.com/xmlsec/download/xmlsec1-1.2.41.tar.gz" +MD5SUM="2372088fb6ff5ae18194c84ca1b0c4ba" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/zimg/zimg.SlackBuild b/libraries/zimg/zimg.SlackBuild index 3918e5ca75..00dcce55f7 100644 --- a/libraries/zimg/zimg.SlackBuild +++ b/libraries/zimg/zimg.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zimg -VERSION=${VERSION:-3.0.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.0.5} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -88,6 +88,7 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ + --enable-x86simd \ --build=$ARCH-slackware-linux make diff --git a/libraries/zimg/zimg.info b/libraries/zimg/zimg.info index 72906b4e66..be7e44a1f8 100644 --- a/libraries/zimg/zimg.info +++ b/libraries/zimg/zimg.info @@ -1,8 +1,8 @@ PRGNAM="zimg" -VERSION="3.0.1" +VERSION="3.0.5" HOMEPAGE="https://github.com/sekrit-twc/zimg" -DOWNLOAD="https://github.com/sekrit-twc/zimg/archive/release-3.0.1/zimg-release-3.0.1.tar.gz" -MD5SUM="b14d551f13819314e9733a400da04121" +DOWNLOAD="https://github.com/sekrit-twc/zimg/archive/release-3.0.5/zimg-release-3.0.5.tar.gz" +MD5SUM="af2c08cc0e695f4c0c225feed14e9f20" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/zita-resampler/zita-resampler.SlackBuild b/libraries/zita-resampler/zita-resampler.SlackBuild index ff459207b8..d75fd716ac 100644 --- a/libraries/zita-resampler/zita-resampler.SlackBuild +++ b/libraries/zita-resampler/zita-resampler.SlackBuild @@ -65,6 +65,11 @@ sed -e '/native/d' \ -i source/Makefile sed -e 's|\ $(BINDIR)|\ $(DESTDIR)$(BINDIR)|' apps/Makefile +# Thanks to altlinux +if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then + sed -e '/^CPPFLAGS += -DENABLE_SSE2/d' -i source/Makefile +fi + make -C source ln -sv lib$PRGNAM.so.$VERSION source/lib$PRGNAM.so CFLAGS="$SLKCFLAGS" \ diff --git a/libraries/zmusic/zmusic.SlackBuild b/libraries/zmusic/zmusic.SlackBuild index 31f5bd026d..25fe1d77ca 100644 --- a/libraries/zmusic/zmusic.SlackBuild +++ b/libraries/zmusic/zmusic.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20240805 bkw: updated for v1.1.13 # 20230109 bkw: updated for v1.1.11 # 20220613 bkw: updated for v1.1.9 # 20211010 bkw: updated for v1.1.8 @@ -15,7 +16,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zmusic -VERSION=${VERSION:-1.1.11} +VERSION=${VERSION:-1.1.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/zmusic/zmusic.info b/libraries/zmusic/zmusic.info index 2302cf2a02..4edbe18890 100644 --- a/libraries/zmusic/zmusic.info +++ b/libraries/zmusic/zmusic.info @@ -1,8 +1,8 @@ PRGNAM="zmusic" -VERSION="1.1.11" +VERSION="1.1.13" HOMEPAGE="https://github.com/coelckers/ZMusic" -DOWNLOAD="https://github.com/coelckers/ZMusic/archive/1.1.11/ZMusic-1.1.11.tar.gz" -MD5SUM="b36e1760f0ec9bc69499630e2d525f96" +DOWNLOAD="https://github.com/coelckers/ZMusic/archive/1.1.13/ZMusic-1.1.13.tar.gz" +MD5SUM="04e6e4c24947ea5f7b11d7de111952f8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/zope.security/zope.security.SlackBuild b/libraries/zope.security/zope.security.SlackBuild index 38f85d3850..72cd8b02df 100644 --- a/libraries/zope.security/zope.security.SlackBuild +++ b/libraries/zope.security/zope.security.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zope.security -VERSION=${VERSION:-6.2} +VERSION=${VERSION:-7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/libraries/zope.security/zope.security.info b/libraries/zope.security/zope.security.info index 8f7a233163..615a17aa84 100644 --- a/libraries/zope.security/zope.security.info +++ b/libraries/zope.security/zope.security.info @@ -1,8 +1,8 @@ PRGNAM="zope.security" -VERSION="6.2" +VERSION="7.0" HOMEPAGE="https://pypi.python.org/pypi/zope.security" -DOWNLOAD="https://pypi.python.org/packages/source/z/zope.security/zope.security-6.2.tar.gz" -MD5SUM="3ed709f662dcc2e168f751887783bb3f" +DOWNLOAD="https://pypi.python.org/packages/source/z/zope.security/zope.security-7.0.tar.gz" +MD5SUM="a9f4d79a4baf49470b970bd1510f865f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="zope.component zope.i18nmessageid zope.location" diff --git a/libraries/zziplib/doinst.sh b/libraries/zziplib/doinst.sh new file mode 100644 index 0000000000..6bca1a9d27 --- /dev/null +++ b/libraries/zziplib/doinst.sh @@ -0,0 +1,34 @@ +# 20240916 bkw: this may end up in the template, so explanation: +# +# The "man -k", "apropos", and "whatis" commands in Slackware's +# man-db rely on a database of man pages, that gets built nightly by +# /etc/cron.daily/man-db, which runs the mandb command. This means any +# man pages installed by SBo packages should get added to the database +# within 24 hours of the time they're installed. +# +# Well and good, except it doesn't always work: if the timestamps on +# the /usr/man/man* directories in the package are older than the last +# time the cron job ran, then the next time it runs, mandb will see +# that the timestamp is older than the database, and will not search +# for new man pages. In fact, when this happens, the man pages *never* +# get added to the database. +# +# If you only ever install packages right after building them, you +# won't have this problem. However, if you install an older package +# you built yesterday (last week, etc), its /usr/man/man* timestamps +# will be older than the man database... +# +# It's easy enough to avoid the problem. Duncan Roe came up with the +# idea for this on the mailing list: Touch the man directories in the +# doinst.sh script for any build that installs man pages. The new +# man pages will get added to the database the next time the cronjob +# runs. +# +# It does *not* mean that "man -k" will be able to find newly +# installed man pages *immediately* after installing a new +# package... but then, as pointed out by KB_SBo (aka King Beowulf) +# on the mailing list, "locate" can't find the new files immediately +# either (it updates nightly, same as mandb), and nobody complains +# about that. + +[ -d usr/man ] && find usr/man -type d -exec touch {} + diff --git a/libraries/zziplib/zziplib.SlackBuild b/libraries/zziplib/zziplib.SlackBuild index 7a0860641b..35a61b8e90 100644 --- a/libraries/zziplib/zziplib.SlackBuild +++ b/libraries/zziplib/zziplib.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for zziplib # Copyright 2012-2020 Larry Hajali <email removed> +# Copyright 2024 B. Watson <urchlay@slackware.uk> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,6 +23,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20240916 bkw: BUILD=3, simplify doinst.sh for mandb. +# 20240909 bkw: BUILD=2, generate doinst.sh for mandb. +# 20240823 bkw: update for v0.13.78. +# 20240808 bkw: update for v0.13.77. # 20240314 bkw: update for v0.13.74. # 20230604 bkw: # - new maintainer. @@ -29,18 +34,11 @@ # - switch to cmake. # - make slack-desc more concise. -# Note: 0.13.71 had the file "usr/lib64/pkgconfig/zzip-zlib-config.pc", -# and 0.13.72 doesn't have it. Dependees are alephone and milkytracker [*]. -# These build correctly without this .pc file. If anyone has issues -# with new builds because of this, please contact me. -# [*] desmume had zziplib listed in REQUIRES, but it doesn't actually -# use it (maybe it did at one time?). - cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zziplib -VERSION=${VERSION:-0.13.74} -BUILD=${BUILD:-1} +VERSION=${VERSION:-0.13.78} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -117,6 +115,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/libraries/zziplib/zziplib.info b/libraries/zziplib/zziplib.info index 9919a33322..83a73db4d0 100644 --- a/libraries/zziplib/zziplib.info +++ b/libraries/zziplib/zziplib.info @@ -1,8 +1,8 @@ PRGNAM="zziplib" -VERSION="0.13.74" +VERSION="0.13.78" HOMEPAGE="https://zziplib.sourceforge.net/" -DOWNLOAD="https://github.com/gdraheim/zziplib/archive/v0.13.74/zziplib-0.13.74.tar.gz" -MD5SUM="860a9f5aea928df8516e2ba59e5b3d92" +DOWNLOAD="https://github.com/gdraheim/zziplib/archive/v0.13.78/zziplib-0.13.78.tar.gz" +MD5SUM="6b18c6ea2f84751a7d3a4af40b4d0763" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |